Adam Bradley
22c32f3ab5
fix(animations): remove inline styles when finished
...
Allows for one animation to control multiple elements. Optionally
removes inline styles when the animation finishes. Fixes checking for
the will-change property. Does not always apply translateZ on ion-page.
Closes #5130
2016-02-17 23:02:31 -06:00
Tim Lancina
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
Adam Bradley
6646ddc052
Merge pull request #5437 from nikhildev/patch-1
...
docs(config): update config.ts
2016-02-13 00:19:23 -06:00
mhartington
5941042a98
chore() normalize types in docs
2016-02-12 15:51:28 -05:00
Tim Lancina
8b724a3bcb
chore(tests): make typescript and unit tests friends
2016-02-12 13:59:38 -06:00
Nikhil Dev
576ffa5cc1
Update config.ts
...
md should be a string for mode
2016-02-12 16:13:35 +05:30
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
mhartington
f5a20d3dbb
docs(config): add mode change example
...
Closes #5312
2016-02-03 13:51:45 -05:00
Adam Bradley
dbc681fb7c
docs(): hide methods not requiring docs
2016-01-27 14:27:36 -06:00
Adam Bradley
b3a7298a52
refactor(input): place inputs inside of ion-item
2016-01-27 08:09:37 -06:00
Brandy Carney
16f9931957
refactor(badge): add a directive for badges which adds the colors as a class
...
This makes it so we can add a class to the badge on a tab which will
show the right color.
References #5007
2016-01-23 12:41:56 -05:00
Per Djurner
b8a56071d7
Config property should be documented as tabSubPages instead of tabSubPage.
2016-01-18 13:15:56 -05:00
Adam Bradley
ff10b3bb49
fix(navCtrl): add more states during transitions
2016-01-15 10:21:18 -06:00
Adam Bradley
100b1e79ae
chore(): fix Tabs types
2016-01-13 22:40:30 -06:00
Adam Bradley
88aad3f880
refactor(decorators): remove ConfigComponent
2016-01-11 22:51:54 -06:00
Adam Bradley
b79d6cc8ea
refactor(util): use Object.assign polyfill
2016-01-11 11:17:58 -06:00
Adam Bradley
747c5138c5
fix(platform): types
2016-01-11 09:56:19 -06:00
Adam Bradley
57e38aaf36
chore(): fix typescript errors
2016-01-10 13:38:47 -06:00
Adam Bradley
84f8e619b8
refactor(input): rename item-input dir to input
2016-01-09 23:40:14 -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
56921c5bcf
fix(backButton): do not include ion- in the back btn config
...
Closes #891
2016-01-07 23:11:46 -06:00
Adam Bradley
387f883be3
refactor(input): split TextInput and ItemInput components
...
Make it easier to start adding other inputs, like select
2016-01-07 12:29:04 -06:00
Adam Bradley
942bd9b93b
feat(platform): add language support methods
...
Related: #883
2016-01-07 10:36:44 -06:00
Adam Bradley
55f1167a4a
fix(providers): do not include ActionSheet
2016-01-04 15:54:48 -06:00
Adam Bradley
3315303b3e
fix(actionSheet): remove MD icon defaults
2016-01-04 12:47:03 -06:00
Adam Bradley
4203f9b179
Merge branch 'overlay-refactor'
2016-01-04 09:26:59 -06:00
Adam Bradley
da986a5fb0
feat(transition): pass isRTL in transition opts
2016-01-01 21:56:40 -06:00
Adam Bradley
0b4b8628bf
feat(platform): add isRTL() and body css class
2016-01-01 21:35:21 -06:00
Adam Bradley
4edf7b7cdd
Merge branch 'master' into overlay-refactor
2015-12-30 15:03:17 -06:00
Drew Rygh
e210eef3cb
docs(config): typo
2015-12-28 12:26:41 -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
829442dffe
chore(decorators): move decorators up one directory
2015-12-18 10:32: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
Drew Rygh
8e978f2902
docs(config): how to get and set keys
...
Closes #593
2015-12-16 17:47:42 -06:00
mhartington
5ec73a6bf3
docs(config): fix config docs
2015-12-16 14:52:34 -05:00
Drew Rygh
cfe0d27924
docs(config): fix dgeni parsing error
2015-12-16 13:35:49 -06:00
Drew Rygh
068f3ceb29
Merge remote-tracking branch 'origin/master' into WIP-api-demos
2015-12-16 11:13:03 -06:00
Drew Rygh
adf62fdc41
docs(config): make ionicProviders private
2015-12-16 10:53:09 -06:00
mhartington
f97e9eaa19
docs() id, content, bootstrap, item, item-sliding
2015-12-15 16:57:54 -05:00
mhartington
ade88a92ed
docs(blur, config): api clean up
2015-12-15 11:48:03 -05:00
Adam Bradley
9b12ce3841
fix(attr): use pascalCase for config component
2015-12-15 09:56:20 -06:00
mhartington
b0d685ea85
docs()
...
References #740
2015-12-14 18:13:29 -05:00
mhartington
28d464c2e6
docs()
2015-12-14 15:06:06 -05:00
Brandy Carney
4024784b25
Merge branch 'master' into searchbar-fix
...
# Conflicts:
# ionic/components/searchbar/searchbar.ts
# ionic/components/searchbar/test/floating/main.html
2015-12-12 14:48:58 -05:00
mhartington
216374f932
docs()
2015-12-11 15:38:09 -05:00
Drew Rygh
76122446d4
wip
2015-12-11 10:33:01 -06:00
mhartington
5bb9aeb5df
docs(page): clean page docs up
2015-12-11 11:03:29 -05:00
Adam Bradley
5d6d9b9610
chore(upgrad): ng alpha52 and case-sensitive templates
2015-12-10 22:52:55 -06:00
Brandy Carney
ff8169cb0a
Merge branch 'master' into searchbar-fix
...
# Conflicts:
# ionic/components/searchbar/searchbar.ts
2015-12-10 17:55:44 -05:00