109 Commits

Author SHA1 Message Date
72699dbbb4 fix(menu): fix scrolling page w/ side menus
Improved which angles should allow the side menu to open, depending if
it’s a left or right menu. Also check if the distance of the drag is
longer than a side menu would get. For example, scrolling vertically
for a long ways would have a long distance, but triggering a side menu
to open would be a short distance.

Also ensure that a side menu can always be closed incase something goes
wrong.

Closes #5272
2016-02-02 16:41:35 -06:00
d8a4ec3893 docs(menu, menuClose, menuToggle): update docs 2016-02-01 16:27:26 -05:00
dbc681fb7c docs(): hide methods not requiring docs 2016-01-27 14:27:36 -06:00
42f6b1056f fix(input): update input css/tests 2016-01-27 08:09:37 -06:00
0b0500d242 fix(menu): fix right side menu - platform becomes _platform
Closes #5147
2016-01-25 17:09:57 -05:00
504540f51c feat(menu): restrain menu slide start to a specific angle
The menu curently opens and closes at any angle of slide action. In case the menu has enough items
to create a vertical scrollbar it makes it impossible for the user the scroll vertically without
affecting the slide behavior of the menu. This fix restrains the menu open/close to a specific
angle.

#5180
2016-01-25 14:22:38 +01: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
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
0ef8c78737 add swipeEnabled input to menu to set default swipeable of side menu. add swipeEnable() api to enable disable particular side menu swipeable 2016-01-18 12:29:57 +08:00
02626b9489 chore(): add types to Refresher 2016-01-14 21:04:20 -06:00
e3507bc175 chore(): add types to List 2016-01-14 20:25:33 -06:00
146cb06df2 chore(): add types to menu-toggle 2016-01-14 20:09:08 -06:00
2a2d568162 chore(): fix Menu types 2016-01-13 23:06:13 -06:00
c4d59002c0 chore(): fix menu types 2016-01-13 21:03:37 -06:00
88aad3f880 refactor(decorators): remove ConfigComponent 2016-01-11 22:51:54 -06:00
7dd65f3571 refactor(icon): logo ionicons use logo- prefix rather than suffix 2016-01-11 14:42:39 -06:00
b79d6cc8ea refactor(util): use Object.assign polyfill 2016-01-11 11:17:58 -06:00
f13eab910c Fix HammerJS Pan config bug 2016-01-10 20:07:34 +00:00
639dd23a49 make the menu threshold configurable 2016-01-10 00:08:54 +00:00
883e1b68b1 refactor(icon): rename icon to ion-icon
Closes #855
2016-01-05 22:27:07 -06:00
1e427443ad chore(): fix overlay demos/tests 2015-12-30 20:38:27 -06:00
c136d2143a alert wip 2015-12-23 23:11:40 -06:00
0f64bccc43 chore(): prefix private methods 2015-12-18 15:39:22 -05:00
8b35fae3bd fix(typo): change deTEction 2015-12-18 11:04:30 -06:00
c118009a7c fix(menu): run gestures outside of zone
Closes #755
2015-12-18 10:58:08 -06:00
7138e61e2d docs()menus 2015-12-16 17:05:21 -05:00
068f3ceb29 Merge remote-tracking branch 'origin/master' into WIP-api-demos 2015-12-16 11:13:03 -06:00
520942f697 docs(menu): link to api demo 2015-12-14 08:14:05 -06: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
1799d1f421 feat(menu): give menu's unique ids 2015-12-09 21:10:13 -06:00
854d90f4c1 refactor(sass): moved all mode files to the top level component directory and renamed to include the directory name
references #689
2015-12-09 17:20:11 -05:00
aeb0bc31ca fix(menu): convert backdrop to class
references #689
2015-12-09 15:05:04 -05:00
243f03e545 Merge branch 'alpha50' into css-refactor 2015-12-09 07:47:30 -06:00
30b88d746b chore(): add ng prefix to lifecycle interfaces 2015-12-08 21:38:26 -06:00
ce2e4a3e32 fix back button, add deprecation warnings 2015-12-08 15:48:40 -06:00
8b0316cbb2 fix menu-toggle style in content 2015-12-08 14:20:31 -06:00
8b693ce836 toolbar button updates 2015-12-07 11:18:00 -06:00
831ec87308 import mode globals in all mode components 2015-12-04 21:34:27 -06:00
5d3e9a4f99 Merge branch 'master' into css-refactor 2015-12-04 17:04:00 -05:00
8148927c88 updates 2015-12-04 14:34:24 -06:00
28bb668d43 docs(api): add links to component sections 2015-12-04 13:55:43 -06:00
d833e747cb refactor(): move core component imports to mode component files 2015-12-04 13:07:40 -06:00
ee094e9d32 fix(menu): auto close menu when disabled, always remove listeners
Closes #674
2015-12-02 14:54:10 -06:00
424800a3c9 fix(transition): update disabling transitions 2015-11-24 14:02:40 -06:00
5349b3e034 feat(menu): opening event EventEmitter
Closes #632
2015-11-23 20:23:52 -06:00
bc8ff4070f refactor(sass): individual sass files import globals 2015-11-23 14:51:41 -06:00
a72fce0441 test(menu): menu with popup overlay 2015-11-23 12:38:04 -06:00
103c183190 fix(keyboard): close keyboard before transition
Closes #616
2015-11-23 12:21:47 -06:00