Commit Graph

19 Commits

Author SHA1 Message Date
Andy Joslin
bfcfae3747 feat(ionNavBar,ionHeaderBar): use declarative syntax
BREAKING CHANGE:

navBar is majorly different.  Manually write this when changelog is
released.  Add link to docs.
2014-03-14 13:06:10 -06:00
Andy Joslin
703f68fb0b test(ionicView): update 2014-03-11 13:26:21 -06:00
Adam Bradley
cee42e3bc7 back button test fixes 2014-02-26 11:49:52 -06:00
Adam Bradley
7deefe1ddb fix(back-button): Fade in/out back button instead of animating left/right, closes #624 2014-02-25 13:03:51 -06:00
Andy Joslin
465ea76969 fix(navBar): animations, hide back button, no flicker
Closes #653
2014-02-21 12:45:27 -05: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
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
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
Adam Bradley
2d39418d0b fix(backButton): Do not show back button if no attributes set, closes #549 2014-02-06 20:31:47 -06:00
Adam Bradley
738ace8969 fix(navBar): Back button w/ text to use inner <i> 2014-02-04 20:57:57 -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
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