da18868636
refactor(animations): inline css animations
2016-02-09 16:23:01 -06:00
9cc28791db
docs(navController): update docs
2016-02-09 10:17:09 -05: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
858855050d
docs(demos): rename nav-push-pop to navigation and use it on the nav as well
...
references #5311
2016-02-03 18:04:13 -05:00
843947933f
docs(NavController): remove members from NavCtrl docs
2016-02-01 22:18:29 -06:00
257247f9ee
docs(navController): update docs
2016-02-01 23:05:05 -05:00
a913e3e084
docs(nav): make inputs private
2016-02-01 22:43:03 -05:00
ecb5e4f031
test(alert): dismiss alert, then run nav.pop()
2016-01-29 23:31:51 -06:00
1c618b51eb
feat(overlay): fire the cancel handler when dismissing from backdrop
...
Renamed action sheet’s button.style to button.role, and added
button.role to alerts. Pass the button’s role in the dismiss method.
Related #5251
2016-01-29 16:11:25 -06:00
dbc681fb7c
docs(): hide methods not requiring docs
2016-01-27 14:27:36 -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
8f9727891b
fix(tabs): fix overlay present on tabs
2016-01-25 12:54:55 -06:00
4d218666fb
docs(navController): fix param parsing error
...
Closes #5137
2016-01-22 10:24:32 -06:00
f5f4169db0
fix(NavController): default setRoot/setPages to not animate transitions
...
setRoot() will be commonly used by side menus, which should not animate between pages.
2016-01-21 16:38:57 -06:00
ba0a041e86
fix(NavController): check if view has already been destroyed
2016-01-21 16:32:59 -06:00
ee106377fc
chore(angular): upgrade to angular 2.0.0-beta.1
...
Biggest change was that renderer takes and not just .
2016-01-20 11:15:01 -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
02626b9489
chore(): add types to Refresher
2016-01-14 21:04:20 -06:00
100b1e79ae
chore(): fix Tabs types
2016-01-13 22:40:30 -06:00
c4d59002c0
chore(): fix menu types
2016-01-13 21:03:37 -06:00
763341a45d
chore(): fix NavRegistry types
2016-01-13 17:32:42 -06:00
8fdc9ed673
chore(): fix NavController typescript errors
2016-01-12 21:41:37 -06:00
00b0f4de56
chore(): fix NavController typescript errors
2016-01-12 16:02:20 -06:00
88aad3f880
refactor(decorators): remove ConfigComponent
2016-01-11 22:51:54 -06:00
4bc6d8a6af
fix(overlay): log error when rootNav is Tabs
...
Closes #897
2016-01-09 23:13:12 -06:00
883e1b68b1
refactor(icon): rename icon to ion-icon
...
Closes #855
2016-01-05 22:27:07 -06:00
4203f9b179
Merge branch 'overlay-refactor'
2016-01-04 09:26:59 -06:00
da986a5fb0
feat(transition): pass isRTL in transition opts
2016-01-01 21:56:40 -06:00
ac7ca8756f
docs(navCtrl): NavController#present docs
2015-12-31 21:09:30 -06:00
a63b5044df
fix(actionSheet): action sheet icons
2015-12-31 20:47:12 -06:00
1e427443ad
chore(): fix overlay demos/tests
2015-12-30 20:38:27 -06:00
ba2b67e569
modal updates
2015-12-30 16:23:20 -06:00
2c169ff508
wip
2015-12-30 15:03:05 -06:00
c65d2331ff
miss quote in direction option example
2015-12-29 14:16:05 +01:00
c136d2143a
alert wip
2015-12-23 23:11:40 -06:00
98e4336c16
wip
2015-12-22 21:45:28 -06:00
829442dffe
chore(decorators): move decorators up one directory
2015-12-18 10:32:24 -06:00
78813efa3b
docs(navPush, navPop, navRouter)
2015-12-17 13:47:06 -05:00
25d478bd6d
docs(nav, navbar): nav and navbar updates
2015-12-16 21:02:41 -05:00
364f9e12ae
fix(keyboard): close keyboard after transition
...
Closes #754
2015-12-16 10:49:24 -06:00
fc8554b657
docs(navController): update page link
2015-12-11 11:10:16 -05: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
0270be3305
fix blocking TS errors
2015-12-10 16:39:56 -06:00
62b31f1b1d
chore(navCtrl): print out error msg for invalid component
2015-12-10 15:13:42 -06:00
9f0ab4a86e
feat(page): auto-add css className built from JS component name
2015-12-10 11:34:12 -06:00
5793716b67
feat(rootNav): create rootNav property on NavController/Tabs
...
#714
2015-12-10 07:35:25 -06:00