Andy Joslin
465ea76969
fix(navBar): animations, hide back button, no flicker
...
Closes #653
2014-02-21 12:45:27 -05:00
Adam Bradley
7981e8e294
fix tab icon test
2014-02-21 09:50:09 -06:00
Adam Bradley
a0492f319c
fix tabBar tests
2014-02-20 14:58:48 -06:00
Max Lynch
5f9a80fc01
removed unnecessary module injection
2014-02-20 09:50:13 -08:00
Max Lynch
89ec1b954e
fix(htmlSanitize) - Added ngSanitize back, fixes #641
2014-02-20 09:48:55 -08:00
Andy Joslin
2c39a21498
feat(ionic): prefix all directives with ion-
...
BREAKING CHANGE: All directives are now prefixed with `ion-`.
For any directive you use, add the ionic prefix.
For example, change this HTML:
```html
<tabs>
<tab title="home" href="/tab/home">
<content>Hello!</content>
</tab>
</tabs>
```
To this HTML:
```
<ion-tabs>
<ion-tab title="home" href="/tab/home">
<ion-content>Hello!</ion-content>
</ion-tab>
</ion-tabs>
```
2014-02-18 16:13:00 -05:00
Andy Joslin
7cf4eef961
refactor(navBar): do not animate if there is no navDirection
2014-02-17 22:05:49 -05:00
UniRing
3d7011eb19
test(navBar): add tests for changing title, left/right buttons
...
Closes #622 . Closes #623 .
2014-02-17 16:52:10 -05:00
Andy Joslin
ebae638dfb
test(ionicSideMenu): remove ddescribe
2014-02-17 13:13:32 -05:00
Andy Joslin
bfefc69f3c
feat(sideMenu): allow and watch attrs width & is-enabled
2014-02-17 13:03:17 -05:00
Andy Joslin
a5d964734f
fix(scrollView): fix error from checking device before ready
2014-02-17 11:57:20 -05:00
Andy Joslin
749cd3829c
fix(navBar): animations work properly
...
Starting a couple of versions ago, animations in navbar stopped working.
I took this as a chance to fix this, and ddo a refactor to make the code
more modular and testable.
Lots of manual dom manipulation was offloaded to angular directives, and
now we will not have bugs with end-user using interpolated class
attribute on their own nav-bar and overriding our own manually added
classes.
2014-02-17 09:11:52 -05:00
Andy Joslin
35ad05163a
refactor(navBar): use class interpolation
2014-02-13 16:02:00 -05:00
Andy Joslin
69fda4e526
fix(tabs): broadcast tab.shown/tab.hidden to only child scopes
...
Addresses #588
2014-02-13 12:15:41 -05:00
Andy Joslin
c119498d1b
feat($ionicScrollDelegate): add scrollTo(left,top,animate) to delegate
...
Also moves $ionicScrollDelegate.register to $ionicScroll controller,
and makes `<scroll>` directive be registered with $ionicScrollDelegate.
2014-02-11 13:40:45 -05:00
Andy Joslin
03bf67d42f
test(ionicContent): mock scrollView.{scrollTo,getValues}
2014-02-11 11:49:37 -05:00
Adam Bradley
74a05a0338
fix(backButton): able to hide back button if any back button attr set in navBar, closes #564
2014-02-10 15:07:20 -06:00
Andy Joslin
8581d162a3
refactor(content): set saved-scroll after timeout, only set valid values
...
Addresses #439
2014-02-08 00:19:03 -05:00
Andy Joslin
b11e0f512b
feat(tabs): allow tab badge-style attribute to set badge class
2014-02-07 13:16:02 -05:00
Andy Joslin
0facb120c7
feat(tab): allow html in tab title attribute
...
Closes #528
2014-02-06 22:25:12 -05:00
Adam Bradley
2d39418d0b
fix(backButton): Do not show back button if no attributes set, closes #549
2014-02-06 20:31:47 -06:00
Andy Joslin
2ac71aa8ee
chore: delete unused test file
2014-02-06 18:36:18 -05:00
Andy Joslin
e755623331
feat(ionic): remove angular-sanitize (ngSanitize) as dependency
...
Add small bindHtmlUnsafe directive without html checking
2014-02-06 15:50:12 -05:00
Andy Joslin
7f4b28d9da
feat(list): reordering scrolls page, reordering performance better
...
Fixes #521 . Reordering now uses webkitTransform instead of
element.style.left. Additionally, as you drag the drag-element to the
top or bottom of the scroll-area, it will scroll it up or down as
allowed.
Refactors necessary: Common code from `<content>` and `<scroll>` moved
into js/ext/angular/controllers/ionicScrollController. Then `<content>`
and `<scroll>` expose the controller, and `<list>` can require it.
`<list>` then uses the controller (if exists) to pass the scrollView and
scrollEl to ReorderDrag, and ReorderDrag uses that to scroll.
Additionally, js/ext/angular/test/controller/ionicScrollController tests
much functionality that was untested before.
2014-02-06 15:04:23 -05:00
Adam Bradley
aa93047a9e
remove test from unused tabBar directive
2014-02-05 20:49:36 -06:00
UniRing
bc927e57e7
feat(tabs): allow badges on tabbar via bound badge attr
2014-02-05 11:38:06 -05:00
Andy Joslin
456dc2b9f2
chore(build): more ci server automation
2014-02-04 22:33:42 -05:00
Adam Bradley
738ace8969
fix(navBar): Back button w/ text to use inner <i>
2014-02-04 20:57:57 -06:00
Andy Joslin
2d1b71c8e2
feat(content): remember scroll of previous page
...
`content` directive stores scroll in view page history.
The history is passed down through $viewContentLoaded event, which is
broadcasted by navView directive when it loads a page.
2014-02-04 08:48:03 -05:00
Adam Bradley
95c8ddf301
Update $ionicPlatform.ready()
2014-01-31 10:31:42 -06:00
Adam Bradley
4261a95953
merge tap input updates
2014-01-22 11:13:26 -06:00
Max Lynch
78f0242fd2
Pull in #440
2014-01-22 09:02:36 -06:00
Adam Bradley
73cad15ed2
checkbox/radio/toggle updates
2014-01-21 16:51:25 -06:00
Max Lynch
577b52fa11
Real fix for #444 with passing test
2014-01-20 18:13:37 -06:00
Max Lynch
734d03d1b9
Fixed #444 - support for disabling toggles
2014-01-20 17:57:51 -06:00
Max Lynch
c949532cfd
Fixed #424 - missing onReorder
2014-01-16 11:19:11 -07:00
Max Lynch
27311d5d18
Added support for offset start scroll view
2014-01-13 19:29:32 -06:00
Max Lynch
3fb3fab11c
Merge branch 'pr/400' - fixes #397
2014-01-13 12:22:05 -06:00
Adam Bradley
2b2492d2d4
add padding classname for content directive
2014-01-13 11:59:58 -06:00
Max Lynch
86d6889628
Fixed #380 - rename ionic services to use $ionic prefix
2014-01-13 10:46:41 -06:00
Adam Bradley
7581c45b21
update nav-bar test
2014-01-13 09:35:22 -06:00
Adam Bradley
3124ef3981
update how view's set titles, closes #337
2014-01-12 22:39:10 -06:00
Max Lynch
8be060124a
Merge branch 'master' of https://github.com/driftyco/ionic
...
Conflicts:
dist/js/ionic-angular.min.js
2014-01-12 20:25:23 -06:00
Max Lynch
c5c68c2bf1
Removed ng-class on list item to not clash with user's use of ng-class
2014-01-12 20:24:44 -06:00
Adam Bradley
ff310600d9
fix view hideNavBar attribute, closes #394
2014-01-12 13:41:00 -06:00
Adam Bradley
71e1f98f19
show/hide back button from view
2014-01-11 23:25:13 -06:00
Adam Bradley
f4d980800f
removed used file
2014-01-11 22:27:07 -06:00
Max Lynch
28bf244d83
Removed failing nav router test
2014-01-10 16:30:37 -06:00
Max Lynch
c9bc2e2eea
Fixed #360 - dynamic slidebox sizing
2014-01-10 12:50:56 -06:00
Max Lynch
15e7f304f6
Merge branch 'master' of https://github.com/driftyco/ionic
...
Conflicts:
dist/js/ionic-angular.min.js
dist/js/ionic.min.js
2014-01-10 09:53:33 -06:00