Commit Graph

45 Commits

Author SHA1 Message Date
Brandy Carney
a9c995d07d feat(windows): initial add of windows mode
basically a copy of md for now

references #5565
2016-02-22 20:36:02 -05:00
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
88aad3f880 refactor(decorators): remove ConfigComponent 2016-01-11 22:51:54 -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
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
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
c136d2143a alert wip 2015-12-23 23:11:40 -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
Tim Lancina
d464d5cb1c remove angular2/angular2 imports 2015-12-10 16:41:57 -06:00
Tim Lancina
0270be3305 fix blocking TS errors 2015-12-10 16:39:56 -06:00
Adam Bradley
58717ebb44 dynamic stylesheet mode links 2015-12-05 15:38:55 -06:00
Adam Bradley
74e1216cde do not dynamically create link element 2015-12-04 15:23:46 -06:00
Adam Bradley
085671c84f typing is hard 2015-12-03 15:51:55 -06:00
Adam Bradley
6eb1ef5fb5 dynamically add link element for testing 2015-12-03 15:31:48 -06:00
Adam Bradley
b01301b3b2 fix(zone): ensure rAFs are firing outside of zone 2015-11-30 22:46:43 -06:00
Adam Bradley
041ec6a06f refactor(TapClick): create as injectable, outside zone listeners 2015-11-30 16:19:21 -06:00
Adam Bradley
9dde122d4f refactor(clickBlock): add to dom on init 2015-11-29 01:14:51 -06:00
Adam Bradley
19ff9e0a2c perf(raf): use rafFrames instead of fastdom 2015-11-20 14:10:44 -06:00
Adam Bradley
00f9611e71 feat(clickBlock): enable click block only on iOS 2015-11-19 11:23:41 -06:00
Adam Bradley
050b600940 fix(popTo): fix reference and tests
Closes #511
2015-11-13 17:12:15 -06:00
Adam Bradley
406fa18c5a perf(ripple): ripple perf improvements 2015-11-10 14:42:35 -06:00
Tim Lancina
35159a4daa fix(nav-registry): NavRegistry is a singleton 2015-11-05 17:07:02 -06:00
Adam Bradley
7a63fb1038 fix(activator): speed up iOS activate
Closes #364
2015-10-30 10:17:20 -05:00
Adam Bradley
4b2eed7e59 auto provide HTTP_PROVIDERS 2015-10-18 22:15:25 +01:00
Adam Bradley
7a2ab2b6c4 chore(): rename IonicForm to Form 2015-10-16 12:03:11 -05:00
Adam Bradley
bb3b20727c chore(): rename IonicKeyboard to Keyboard 2015-10-16 12:00:46 -05:00
Adam Bradley
1e699ec5ba chore(): rename IonicPlatform to Platform 2015-10-16 11:58:46 -05:00
Adam Bradley
4c53a4b554 chore(): rename IonicConfig to Config 2015-10-16 11:53:11 -05:00
Adam Bradley
d9e19d38ff fix(sticky-headers): add feature detection
Closes #290
2015-10-15 23:24:37 -05:00
Adam Bradley
a0b8f6f537 update to alpha42 2015-10-14 10:08:26 -05:00
Adam Bradley
03cb1a7a5b refactor(): IonicForm/IonicKeyboard
Closes #224
2015-10-09 11:29:58 -05:00
Adam Bradley
cf56a370b3 fix(ripple): register tapClick after config/platform
Closes #267
2015-10-08 15:56:13 -05:00
Adam Bradley
b9ae06d442 refactor(input): improve focus handling, alpha39 fixes 2015-10-08 15:50:29 -05:00
Adam Bradley
1d3d40cab5 feat(ionicBindings): pass in IonicConfg instance
Closes #258
2015-10-07 21:51:54 -05:00
Adam Bradley
6955a8cdba fix(nav): update loader 2015-10-05 11:43:53 -05:00
Adam Bradley
cd319e1cf2 working modals 2015-10-05 11:05:55 -05:00
Adam Bradley
3324f3cc90 refactor(overlay): actionsheet/popup 2015-10-04 22:35:54 -05:00
Adam Bradley
dfe19a962d use title service 2015-10-04 11:45:32 -05:00
Adam Bradley
2b86705f54 bootstrap refactor wip 2015-10-04 00:20:41 -05:00