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
36f82b2473
refactor(NavController): restructuring and perf improvements
2015-10-29 14:37:49 -05:00
94c02e71b2
improve iOS navbar transitions
2015-10-18 19:33:22 +01:00
4c53a4b554
chore(): rename IonicConfig to Config
2015-10-16 11:53:11 -05:00
61bd51367a
improve iOS transitions/reduce dom updates
2015-10-11 12:47:39 -05:00
0cac4d9a2e
chore(): remove use of @View
2015-10-09 09:15:04 -05:00
a21aaa5080
NavController remove tests
2015-10-09 08:15:40 -05:00
8f1a0b40f9
Revert "NavController popTo takes componentType"
...
This reverts commit 63aebf8ba89120f3347977c69130ec1d86cf0410.
2015-10-09 00:18:02 -05:00
b0bc991456
fix navcontroller tests
2015-10-08 22:58:11 -05:00
63aebf8ba8
NavController popTo takes componentType
2015-10-08 22:56:17 -05:00
7ccdfed018
feat(nav-controller): remove method
2015-10-08 20:42:34 -05:00
f0dddefb49
NavController setRoot test
2015-10-08 16:25:48 -05:00
79031d3b2a
NavController insert test
2015-10-08 16:19:54 -05:00
e7f55042bd
navController setViews test
2015-10-08 15:54:32 -05:00