Adam Bradley
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
Adam Bradley
b3a7298a52
refactor(input): place inputs inside of ion-item
2016-01-27 08:09:37 -06:00
Adam Bradley
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
Adam Bradley
747c5138c5
fix(platform): types
2016-01-11 09:56:19 -06:00
Adam Bradley
270fca0c50
feat(select): ion-select using alert radio/checkbox options
...
Closes #890 Closes #826 Closes #886
2016-01-08 16:26:07 -06:00
Adam Bradley
c136d2143a
alert wip
2015-12-23 23:11:40 -06:00
Adam Bradley
98e4336c16
wip
2015-12-22 21:45:28 -06:00
Adam Bradley
f409d6add7
wip
2015-12-22 10:43:24 -06:00
Brandy Carney
b2fd889914
refactor(label): move label to its own folder and move mode specific styles for label to new files
...
closes #712
2015-12-17 16:20:10 -05:00
Tim Lancina
326625bac8
remove switch
2015-12-10 16:47:46 -06:00
Tim Lancina
0270be3305
fix blocking TS errors
2015-12-10 16:39:56 -06:00
Adam Bradley
3952bff8c9
fix(toggle): export toggle component
2015-12-10 15:06:45 -06:00
Brandy Carney
fe625eda97
refactor(item): removed ItemGroup directives
...
references #636
2015-11-24 11:51:53 -05:00
Brandy Carney
0824c3daf3
refactor(searchbar): moved search-bar files to searchbar
...
references #419
2015-11-02 21:07:44 -05:00
Adam Bradley
c19fcd5bed
chore(navbar): rename nav-bar files to navbar
2015-11-02 16:52:52 -06:00
Adam Bradley
0840bdf0d7
fix(tap): activated/ripple on ion-item-sliding
...
Closes #413
2015-11-02 15:16:31 -06:00
Adam Bradley
03cb1a7a5b
refactor(): IonicForm/IonicKeyboard
...
Closes #224
2015-10-09 11:29:58 -05:00
Adam Bradley
b9ae06d442
refactor(input): improve focus handling, alpha39 fixes
2015-10-08 15:50:29 -05:00
Adam Bradley
c657bb6d6a
alpha39 updates/hacks
...
Conflicts:
ionic/components/search-bar/search-bar.ts
ionic/config/decorators.ts
2015-10-07 14:57:58 -05:00
Adam Bradley
bdaed1b2ca
Merge branch 'master' into alpha38
...
Conflicts:
ionic/components/search-bar/search-bar.ts
ionic/config/decorators.ts
2015-10-07 10:59:15 -05:00
Max Lynch
ce6dbd1ee2
feat(blur): iOS Blur Directive
2015-10-07 09:28:01 -05:00
Adam Bradley
50b6fdea8d
Merge branch 'master' into alpha38
...
Conflicts:
ionic/components/search-bar/search-bar.ts
ionic/config/decorators.ts
2015-10-06 20:38:04 -05:00
Max Lynch
dbb2729e57
feat(item): sliding items
2015-10-06 18:30:46 -05:00
Adam Bradley
2b86705f54
bootstrap refactor wip
2015-10-04 00:20:41 -05:00
Adam Bradley
52bf1f8520
fix(menuClose): put in ionic directives
2015-09-29 11:45:44 -05:00
Adam Bradley
89c0a0ef09
refactor(): rename ViewController/ViewItem
...
Rename ViewController to NavController, ViewItem to ViewController
2015-09-23 16:57:25 -05:00
Adam Bradley
e6c620840b
chore(): remove MaterialButton
2015-09-21 22:50:10 -05:00
Adam Bradley
f704cc3e97
rename ActionMenu to ActionSheet
2015-09-17 23:41:09 -05:00
Adam Bradley
28c8d001e6
cache window dimensions
2015-09-13 22:34:23 -05:00
Adam Bradley
0039647515
rename aside to menu
2015-09-11 21:40:58 -05:00
Adam Bradley
b31ab1b0be
feat(aside): reveal/overlay aside using Animation
2015-09-10 20:54:40 -05:00
Adam Bradley
662e843a47
label colors
2015-09-04 09:54:57 -05:00
Adam Bradley
d0387f830c
remove image/image from components.ts
2015-08-31 16:11:58 -05:00
Max Lynch
dc27c46b81
feat(slider): new swiper component
2015-08-31 15:55:29 -05:00
Max Lynch
715680ac3f
Shieeet
2015-08-28 15:57:14 -05:00
Max Lynch
57a5335282
feat(aside-toggle): better easy toggle
2015-08-26 11:36:54 -05:00
Adam Bradley
26e0117a3f
ionic router update
2015-08-21 23:04:23 -05:00
Tim Lancina
2125180901
move register directive to components/app
2015-08-12 10:36:11 -05:00
Adam Bradley
d7c70ad12f
text input focus and keyboard
2015-08-10 15:59:49 -05:00
Adam Bradley
cb7387d491
change label to ion-label
2015-08-07 14:13:18 -05:00
Adam Bradley
33c69d5870
checkbox updates
2015-08-03 11:24:47 -05:00
Adam Bradley
dc89a435da
card updates
2015-07-27 12:10:34 -05:00
Max Lynch
72a107cfeb
Popup
2015-07-21 10:19:43 -05:00
Max Lynch
872b4db0dd
That ripple shit
2015-07-20 16:45:18 -05:00
Max Lynch
2270f8be74
Start of ripple effects
2015-07-19 18:02:54 -05:00
Adam Bradley
43b8b4ad67
TapClick for a,button
2015-07-17 12:24:30 -05:00
Tim Lancina
e947f32898
checkbox extends IonInputContainer
2015-07-16 18:21:31 -05:00
Adam Bradley
1ae396ebe4
TapInput extends IonInput
2015-07-16 17:50:22 -05:00
Adam Bradley
f240083535
wip
2015-07-16 14:04:15 -05:00
Adam Bradley
5681c57017
IonicComponent not required for views
2015-07-08 22:31:05 -05:00