a237c16bc0
chore(): use relative imports in tests
2016-03-02 15:43:51 -06:00
c883a2ae91
chore(): update Ionic imports in tests
2016-02-22 17:45:17 -06:00
ed85ab9863
test(nav): create nav memory test
2016-02-21 21:30:10 -06:00
4cae151d47
fix(overlay): do not dom cache views before overlays
...
Closes #5483
2016-02-21 00:03:58 -06:00
b9eec24c88
fix(tabs): pop tab page to parent nav
...
Closes #5196
2016-02-19 21:43:28 -06:00
6b9e59d0d0
feat(NavController): prevent other lifecycle events from firing
...
For Alert and ActionSheet, the currently active page’s leaving
lifecycle event should not fire. However, for Modal, the currently
active page’s leaving lifecycle should fire. Closes #5516
2016-02-19 12:06:49 -06:00
0d60a0f5d5
test(NavController): add cleanup tests
2016-02-19 10:40:44 -06:00
53af766a08
test(NavController): add lifecycle tests
2016-02-19 10:23:46 -06:00
8f0b88b7e4
fix(NavController): fire onPageWillUnload/DidUnload
...
Fixes #5507
2016-02-18 11:05:45 -06:00
da37029195
feat(nav): iOS swipe to go back
...
Closes #5185
2016-02-17 13:35:34 -06:00
04c1c7c3bd
chore(typings): add es6 and jasmine typings
...
As of beta.6, angular2 no longer ships es6-shim or jasmine typings, so
we provide them ourselves.
2016-02-15 15:36:01 -06:00
8b724a3bcb
chore(tests): make typescript and unit tests friends
2016-02-12 13:59:38 -06:00
5f254f285f
chore(e2e): make typescript and e2e friends
2016-02-12 11:37:39 -06:00
38a3be438f
fix(button): bar-button uses inner span as flexbox
...
- Fixed block/full buttons, now there are display: block
- Fixes <ion-segment-button> warnings
2016-02-10 15:49:19 +01:00
acf12cdd15
refactor(menu): inject MenuController to control app menus
...
Menu has been improved to make it easier to open, close, toggle and
enable menus.
Instead of injecting `IonicApp` to find the menu component, you now
inject
`MenuController`.
Was:
```
constructor(app: IonicApp) {
this.app = app;
}
openMenu() {
this.app.getComponent('leftMenu').close();
}
```
Now:
To programmatically interact with any menu, you can inject the
`MenuController`
provider into any component or directive. This makes it easy get ahold
of and
control the correct menu instance. By default Ionic will find the app's
menu
without requiring a menu ID. An id attribute on an `<ion-menu>` is only
required
if there are multiple menus on the same side. If there are multiple
menus, but
on different sides, you can use the name of the side to get the correct
menu
If there's only one menu:
```
constructor(menu: MenuController) {
this.menu = menu;
}
openMenu() {
this.menu.close();
}
```
If there is a menu on the left and right side:
```
toggleMenu() {
this.menu.toggle('left');
}
```
If there are multiple menus on the same side:
```
<ion-menu id="myMenuId" side="left">...</ion-menu>
<ion-menu id="otherMenuId" side="left">...</ion-menu>
closeMenu() {
this.menu.close('myMenuId');
}
```
2016-02-04 16:47:05 -06:00
ecb5e4f031
test(alert): dismiss alert, then run nav.pop()
2016-01-29 23:31:51 -06:00
e76b55994c
fix(input): checked attr can be an empty string or no value
2016-01-27 08:09:37 -06:00
42f6b1056f
fix(input): update input css/tests
2016-01-27 08:09:37 -06:00
3213d02375
refactor(NavController): improve transitions, view stages
...
This refactor made it so view transitions do no step on one another when a new transition happens
during an active transition.
2016-01-19 14:24:49 -06:00
6b2f42467f
fix(navParams): move navParams to nav-params.ts
2016-01-15 11:03:14 -06:00
ff10b3bb49
fix(navCtrl): add more states during transitions
2016-01-15 10:21:18 -06:00
883e1b68b1
refactor(icon): rename icon to ion-icon
...
Closes #855
2016-01-05 22:27:07 -06:00
c136d2143a
alert wip
2015-12-23 23:11:40 -06:00
364f9e12ae
fix(keyboard): close keyboard after transition
...
Closes #754
2015-12-16 10:49:24 -06:00
5d6d9b9610
chore(upgrad): ng alpha52 and case-sensitive templates
2015-12-10 22:52:55 -06:00
d464d5cb1c
remove angular2/angular2 imports
2015-12-10 16:41:57 -06:00
05aaa2d34d
fix templates after alpha50
2015-12-09 08:26:44 -06:00
8b693ce836
toolbar button updates
2015-12-07 11:18:00 -06:00
dbeb0f78ae
fix(platform): update ripple activator fn
...
Closes #671
2015-12-02 10:34:29 -06:00
85e773b56b
refactor(navCtrl): move async parts of transition into their own fn
2015-12-01 19:59:21 -06:00
cd9e6a2ab1
test(nav): removing automatic page push on nav
2015-12-01 14:27:17 -05:00
448385ed84
fix(navCtrl): run change detection after stage
...
Also fixes #675
2015-12-01 11:01:11 -06:00
10c76a64df
feat(viewCtrl): setBackButtonText()
2015-12-01 09:43:12 -06:00
f2afea8479
feat(viewCtrl): create showBackButton()
2015-12-01 09:23:26 -06:00
ad276f4161
fix(navCtrl): wrap user lifecycle evts w/ try/catch
2015-11-28 00:10:38 -06:00
3d47061e4a
feat(nav): detach ChangeDetectorRef during transition
2015-11-27 22:14:55 -06:00
f4d82f05ea
fix(navController): update element caching
...
Also renamed setViews() to setPages(), and moved the index argument in
insert() to be the first arg.
Closes #641
2015-11-25 10:27:55 -06:00
725e09335d
style(list): rename ion-header to ion-list-header EVERYWHERE
...
closes #418
2015-11-24 16:58:19 -05:00
a42cb4ab1b
test(nav): nav.insert test
2015-11-24 15:40:04 -05:00
8df924f7d3
test(nav): added setRoot tests
2015-11-23 13:37:17 -06:00
050b600940
fix(popTo): fix reference and tests
...
Closes #511
2015-11-13 17:12:15 -06:00
ddafee9829
fix(export): export IONIC_DIRECTIVES
...
Closes #393
2015-11-07 11:58:29 -06:00
35159a4daa
fix(nav-registry): NavRegistry is a singleton
2015-11-05 17:07:02 -06:00
4c3b83fde5
fix(nav): start zIndex at 10
2015-11-02 15:52:06 -06:00
0edc60eefc
chore(nav): make transition/stage private
2015-11-02 12:20:26 -06:00
b8db33ebb8
refactor(nav): move stage to nav-controller
2015-11-02 11:55:53 -06:00
b364017ff2
fix(zIndex): ion-page dynamic zIndex
2015-10-31 14:01:23 -05:00
1a865eaf7b
feat(nav): animate nested navs
2015-10-30 23:31:23 -05:00
17f1474527
test(nav): nested navs wip
2015-10-30 16:30:30 -05:00
7715d047d0
feat(hideBackButton): hide-back-button attr on ion-navbar
...
Closes #377
2015-10-30 11:11:35 -05:00