Andy Joslin
d53eab8197
fix(ionView): do not set navbar title if no title attr set
...
Fixes #915
BREAKING CHANGE: Before, if you did not have a `title` attribute set on your
ion-view, it would transition into that view and erase the navbar's current
title.
Now, if your ion-view does not have a `title` attribute set, the new
view will be transitioned in, but there will be no title change.
If you wish to have a blank title on your new view, you must now
explicitly set your `ion-view`'s title attribute to an empty string.
To migrate your code, change from this:
```html
<ion-view></ion-view>
```
To this:
```html
<ion-view title=""></ion-view>
```
2014-03-27 10:51:26 -06:00
Andy Joslin
4d1b13b5ad
refact(ionView): do not call setTitle with initialTitle
2014-03-25 12:16:52 -06:00
Andy Joslin
f083eaf7f7
refactor(ionNavButtons): compile in the correct context
2014-03-21 09:15:51 -05:00
Adam Bradley
f744d9ebcf
feat(navclear): Ability to disable the next view transition and back button
2014-03-18 21:51:32 -05:00
Adam Bradley
ad86651531
created menuClose and navClear directives
2014-03-18 21:44:59 -05:00
Andy Joslin
83f4776f53
chore: remove animation & type attributes, standard controller names
2014-03-18 14:54:21 -06:00
Andy Joslin
bd66fc8b28
docs(): remove group tag
2014-03-17 10:24:28 -06:00
Andy Joslin
9bd78efa34
docs(navigation): add navigation group
2014-03-15 13:40:40 -06:00
Andy Joslin
87a25a8bff
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-15 11:49:49 -06:00
Andy Joslin
64b98beb4b
chore(): prepare for 0.9.27 - last alpha release
2014-03-15 10:50:48 -06:00
Andy Joslin
8619d5e8ec
docs(): add groups by topic
2014-03-14 15:14:16 -06:00
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
e9625ded9d
docs: add services, utilities
2014-03-11 13:02:36 -06:00
Andy Joslin
f9766fcf16
docs(): Add docs for ionicViewState, polish other docs
2014-03-10 21:16:09 -06:00
Adam Bradley
78206d0e7c
fix(navView): _getView renamed to _getViewById, closes #736
2014-03-06 11:24:46 -06:00
Adam Bradley
ec6c4ded2a
only animate title change if they're different
2014-03-03 15:28:05 -06:00
Adam Bradley
7ff6f0a897
go back to just show/hide back-button for now
2014-02-26 11:38:49 -06:00
Andy Joslin
8354d42b4b
feat(ionNavAnimation): <a href="#/page" ion-nav-animation="slide-in-up">
2014-02-26 08:40:02 -05: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
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
Andy Joslin
d056ad1fef
perf(animations): throttle calls to requestAnimationFrame
...
Closes #582
2014-02-17 17:26:34 -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
UniRing
7f9668090d
Fixes NavBar
...
Fixes NavBar not showing the right buttons and not updating his title
correctly.
2014-02-17 21:20:59 +01: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
65e10afd08
refactor(navBar): use ngClass instead of interpolated class
2014-02-13 15:05:42 -05:00
Andy Joslin
5470d77ac0
feat(navBar): allow expression in type. <nav-bar type="{{myType}}">
...
Closes #599
2014-02-13 14:56:29 -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
2cdc8ba925
back button defaulted to hide
2014-02-08 21:45:41 -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
fc4f1b7c61
use className instead of classList
2014-02-06 16:49:21 -06:00
Adam Bradley
4808e80ddf
fix(navBar): Remove duplicate back button arrows, closes #547
2014-02-06 16:30:00 -06: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
990d14e8fe
fix(navView): if !$animate.enabled(), do not animate
...
Closes #426
2014-02-05 14:41:31 -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
Andy Joslin
479175bf5d
refactor(view): use nextUid from angular to generate unique ids
...
Math.random() is unreliable, produces duplicates, and numbers can
overflow if you use them for long enough.
2014-02-04 08:46:02 -05:00
UniRing
8b44004af2
Allows a view to update the navbar title if his title changes
...
Added a watch to see if the contents of the view title changes and, if
so, fire an event to notify the navbar and update the title.
2014-01-31 00:59:12 +01:00
Adam Bradley
dc7420012e
refactor navView and viewService
2014-01-24 17:21:37 -06:00
Max Lynch
85b709e5ac
Fixed #465 - HTML in header titles
2014-01-23 13:02:44 -06:00
Adam Bradley
9efe95ef06
fix double call on back button
2014-01-14 13:00:37 -06:00
Max Lynch
86d6889628
Fixed #380 - rename ionic services to use $ionic prefix
2014-01-13 10:46:41 -06:00
Adam Bradley
4f155964dd
nav bar hidden by default
2014-01-12 23:00:30 -06:00
Adam Bradley
3124ef3981
update how view's set titles, closes #337
2014-01-12 22:39:10 -06:00
Adam Bradley
d4a9bed1d7
update enteringScope for view transition
2014-01-12 21:56:23 -06:00
Adam Bradley
944e89acba
deregister watches on view destroy
2014-01-12 20:12:53 -06:00
Adam Bradley
ff310600d9
fix view hideNavBar attribute, closes #394
2014-01-12 13:41:00 -06:00