3407 Commits

Author SHA1 Message Date
b08794e44d Merge branch 'add-disable-backdrop-click-dismiss-to-alert' of https://github.com/3dd13/ionic into 3dd13-add-disable-backdrop-click-dismiss-to-alert 2016-02-05 07:36:14 -06:00
315eab1797 Merge pull request #5338 from imatefx/patch-1
docs(toolbar): update toolbar position docs
2016-02-05 07:32:07 -06:00
16df0d8205 Documentation Update toolbar.ts
added missing quotes to documentation and changed property "placement" to "position"
2016-02-05 14:01:11 +05:30
70c57beafc add an option to create alert which cannot be dismissed by clicking backdrop 2016-02-05 15:47:46 +08:00
687a17bcd2 perf(tabs): render tab navbar at same time of tab content 2016-02-04 23:08:52 -06:00
e8f1b164d6 chore(demos): update menu demos 2016-02-04 20:42:12 -06:00
fc49d1aa29 docs(menu): update menuToggle menuClose docs 2016-02-04 20:32:24 -06:00
9f906ae8ae docs(MenuController): update MenuController docs 2016-02-04 20:15:40 -06:00
ca50527437 docs(demos): update local storage demo
references driftyco/ionic-site#397
2016-02-04 19:53:33 -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
2178638659 chore(): update scripts README 2016-02-04 16:32:19 -06:00
60e1278939 fix(build): tell gulp when finished building 2016-02-04 16:31:47 -06:00
74edf8c6d5 chore(build): don't clean before build 2016-02-04 16:23:18 -06:00
fe07a8cc4e chore(gulpfile): debug and typecheck flags 2016-02-04 16:00:24 -06:00
845adcc8d6 chore(demos): build demos before watching 2016-02-04 15:57:32 -06:00
262eeac037 chore(gulpfile): serve on watch 2016-02-04 15:56:29 -06:00
dcc20fa983 fix(generators): use mkdirp-no-bin
When using npm link to develop against Ionic locally, most setups by
default require the use of 'sudo', which then requires the gulp clean
task to also be run with sudo.  Switch to mkdirp-no-bin so there are no
root owned files in dist/node_modules when using sudo npm link.
2016-02-04 15:23:00 -06:00
7d3d7f59a2 chore(gulpfile): separate source and e2e watch tasks 2016-02-04 14:45:59 -06:00
612db32efc chore(gulpfile): organize tasks 2016-02-04 14:45:58 -06:00
4c698193af chore(package): make package an independent task 2016-02-04 14:45:58 -06:00
a01356f653 chore(gulpfile): cleanup 2016-02-04 14:45:58 -06:00
f4d371cb35 chore(build): only typecheck on release 2016-02-04 14:45:58 -06:00
a75fcfb5bb chore(gulpfile): remove strip-debug flag 2016-02-04 14:45:58 -06:00
0827f97464 docs(demos): update menu API demo to use multiple menus
This is actually the same as the ID demo but I figured I would keep
them separate in case we decide to do something different in them.

references driftyco/ionic-site#397
2016-02-04 14:40:23 -05:00
856002ef0c docs(demos): add id API demo
references driftyco/ionic-site#397
2016-02-04 14:25:51 -05:00
cf759261ac docs(demos): add events API demo
references driftyco/ionic-site#397
2016-02-04 14:08:05 -05:00
a42836340a fix(menu): only close when open on enable change 2016-02-04 12:22:09 -06:00
f64bf4a81c docs(demos): add searchbar API demo
references driftyco/ionic-site#397
2016-02-04 12:49:45 -05:00
6ae164da59 docs(demos): prettify segment demo and fix API docs on it
references driftyco/ionic-site#397
2016-02-04 12:49:45 -05:00
3276b390ac chore(gulpfile): cleanup 2016-02-04 10:01:59 -06:00
633c11a742 chore(slides): remove slideChanged deprecated warning 2016-02-04 09:49:00 -06:00
60fdc5c2f3 perf(cards): remove translateZ from ion-card
Yes, oddly enough this makes a performance difference. The translateZ
was used as a trick to force ion-card’s rounded corners to take effect
on inner elements. However, on a page that has many ion-cards, it takes
relatively a lot of power on a low-end device to move them all during a
transition. It’s best to not put them on their own layer and let the
browser just move one thing.
2016-02-03 23:22:27 -06:00
276b1a591a chore(): add to local npm readme steps 2016-02-03 23:15:24 -06:00
155a43d770 chore(): fix typescript error 2016-02-03 19:41:23 -06:00
d593c5bafc Update CHANGELOG.md
Closes https://github.com/driftyco/ionic/issues/5326.
2016-02-03 19:19:18 -06:00
7ce6735d5c docs(demos): fix platform column width
references #5311
2016-02-03 18:09:05 -05: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
15a50b7a79 docs(demos): update slides demo
references #5311
2016-02-03 17:55:04 -05:00
7838d81b73 docs(demos): fix scroll image
references #5311
2016-02-03 17:50:43 -05:00
8a790f395f docs(demos): update scroll image to new picture
references #5311
2016-02-03 17:47:35 -05:00
1e9a776944 docs(demos): add icon API demo
references #5311
2016-02-03 17:40:17 -05:00
ec106e989e docs(demos): converting navbars to toolbars
references #5311
2016-02-03 15:16:41 -05:00
59da895ea0 docs(demos): fix demos to have same class name and remove files that aren't needed anymore
references #5311
2016-02-03 14:26:25 -05:00
f5a20d3dbb docs(config): add mode change example
Closes #5312
2016-02-03 13:51:45 -05:00
7bd5992320 docs(demos): add barkpark as an installed app
references #5311
2016-02-03 13:16:12 -05:00
eccac3aa57 chore(docs): remove description header from API docs Fixes driftyco/ionic-site#390 2016-02-03 12:00:09 -06:00
1abe9918ea chore(snapshot): ignore files to upload 2016-02-03 11:55:18 -06:00
dd30b9be77 docs(demos): add hubstruck to list demo
references #5311
2016-02-03 12:49:29 -05:00
d38e3fd5f3 docs(demos): prettify list demo and remove unnecessary/unused files
references #5311
2016-02-03 12:48:13 -05:00
234ab90fd0 docs(demos): prettify label demo 2016-02-03 12:14:11 -05:00