Commit Graph

261 Commits

Author SHA1 Message Date
Adam Bradley
44fee26436 docs(menuClose): improve menuClose docs 2014-08-06 14:38:50 -05:00
Andrew
7ddb57e60b feat(collectionRepeat): other children of ion-content element fit in
Closes #1920. Closes #1866. Closes #1380.
2014-08-06 10:32:40 -06:00
Adam Bradley
6fbd1a4306 fix(toggle): fix toggle-class attribute
Closes #1851
2014-08-06 08:40:57 -05:00
Perry Govier
53c437e205 fix(ionRadio): fix ng-change being reported before model changes
Closes #1741

BREAKING CHANGE:

ion-radio no longer has an isolate scope.
This will break your radio only if you were relying upon the radio having an isolate scope: if you were referencing `$parent.value` as
the ng-disabled attribute, for example.

Change your code from this:

<ion-radio ng-disabled="{{$parent.isDisabled}}"></ion-radio>

To this:

<ion-radio ng-disabled="{{isDisabled}}"></ion-radio>
2014-08-05 16:42:10 -05:00
Adam Bradley
49a295638d refactor(popup): do not default to focus on first input
Instead of finding a popup element’s first input and focusing on it by
default, only look for the first input with the `autofocus` attribute
added.
2014-08-05 13:58:00 -05:00
Andrew
d4b9ed44fa chore(): remove ionic animation, add collide dependency 2014-08-05 11:56:46 -06:00
Adam Bradley
d85814b1e6 update to use $timeout w/ invokeApply=false 2014-08-05 11:31:06 -05:00
Perry Govier
ae87c66b12 fix(popup): backdrop release fires with every close 2014-08-05 11:16:46 -05:00
Adam Bradley
7faeeda099 fix(backdrop): disable tap longer after backdrop close
To prevent unwanted clicks from happening, such as an input getting
focus after clicking “OK” on a popup, keep the backdrop visible for a
longer period of time. The simulated click is what closes the popup’s
backdrop, but the native click will still happen 300ms later, which may
cause another input to receive focus. Closes #1536
2014-08-05 11:01:33 -05:00
Max Lynch
64641b1be0 fix(viewService): No error on clearHistory for empty history 2014-08-04 14:17:54 -05:00
Adam Bradley
623a9c6313 fix $ionicPopover ref 2014-08-04 09:00:44 -05:00
Adam Bradley
42b0b63a28 docs(popover): $ionicPopover / ionicPopover 2014-07-31 16:09:42 -05:00
Adam Bradley
c1215aa300 feat(popover): created popovers 2014-07-31 14:43:29 -05:00
Perry Govier
ddda809b57 feat(tabs): Expand striped android style tab functionality. Closes 1694 2014-07-30 15:52:53 -05:00
Max Lynch
848c78d10d docs(scroll): Better demo and usage 2014-07-30 13:47:49 -05:00
Max Lynch
89999cadb1 fix(forms): Normalized form styles 2014-07-29 10:32:40 -05:00
darkbaby123
26cff585a1 Fix ion-nav-back-button document
The html code in "custom click action" example should call "goBack" method, not "doSomethingCool".
2014-07-27 15:39:06 +08:00
Misha Moroshko
b63ce7e50e Remove duplicate "scrollbar-y" 2014-07-25 19:47:50 +10:00
Perry Govier
4f6d02cfcb refactor(modal): trigger resize event on the window when modal opens
A better approach to resolving an issue with collection-repeat sizing itself properly. This keeps directives independent of eachother.
2014-07-24 14:45:40 -05:00
Perry Govier
1fbd3c5632 fix(collectionRepeat): properly display collection repeat inside a modal 2014-07-24 12:44:29 -05:00
Perry Govier
4e6ba5b818 refactor(scroll): minor tweak to make unit tests happy 2014-07-24 12:27:42 -05:00
Andrew
79bcfb149f test(gesture): fix gesture directive tests 2014-07-24 11:15:26 -06:00
Adam Bradley
2dce7a74f7 fix(gesture): fix onSwipeDown
Closes #1810
2014-07-22 12:43:58 -05:00
Perry Govier
3d0a46efe8 fix(scroll): anchor scroll should scroll to IDs that are multiple levels beneath the scroll view. Closes #1804 2014-07-21 14:58:29 -05:00
Adam Bradley
5b50e120a1 fix(nav): remove disabled-pointer-events
Ensure `disable-pointer-events` has been removed if there is not
supposed to be an animated transition. Closes #1383 #1633
2014-07-21 10:34:55 -05:00
Andrew
26ca840dfc feat($ionicLoading): add $ionicLoadingConfig constant for default options
Closes #1800
2014-07-21 08:22:43 -06:00
Flaky
56fbf3b375 docs(actionSheet): update example to have cancel method, which it needs
Closes #1770

Add cancel function to handle cancel clicks in example.
Otherwise throws error when used in own code.
2014-07-21 07:46:24 -06:00
Andrew
cb36869889 fix(loading): stop resize flicker when showing & changing text 2014-07-18 15:45:29 -06:00
Perry Govier
81a7342fc7 fix(slidebox): default to not autoplay 2014-07-11 17:11:52 -05:00
Andrew
537b29d0bb fix(toggle): fix ngChange being reported before model changes
Closes #1349, #1741

BREAKING CHANGE:

ion-toggle no longer has an isolate scope.
This will break your toggle only if you were relying upon the toggle
having an isolate scope: if you were referencing `$parent.value` as
the ng-disabled attribute, for example.

Change your code from this:

<ion-toggle ng-disabled="{{$parent.isDisabled}}"></ion-toggle>

To this:

<ion-toggle ng-disabled="{{isDisabled}}"></ion-toggle>
2014-07-10 23:51:55 -06:00
Andrew
3dea57d8fb docs(navBackButton): clarify custom back button action 2014-07-10 23:51:55 -06:00
Angelo Lakra
fd75abd7f3 docs(animation): fixing a typo in the animation service 2014-07-09 17:19:31 -05:00
Perry Govier
bb6976ad54 feat(tab): options 'hidden' attribute for tabs. Closes #1666, #1673 2014-07-09 17:10:43 -05:00
Andrew
208ef13d54 fix(collectionRepeat): patch ngSrc/ngHref to fix a bug with falsy values
Fixes #1674
2014-07-08 15:27:41 -06:00
Andrew
b1bcece8d1 refactor(list): remove extra class 2014-07-08 11:37:44 -06:00
Andrew
4f10a72306 fix(list): make reorder/delete button animation work well on all devices 2014-07-08 11:32:43 -06:00
Andrew
0e89fb3aee refactor(sideMenu#isDraggableTarget): clearer wording 2014-07-08 11:32:43 -06:00
Andrew
7388418661 refactor(sideMenu): isDraggableTarget: s/this/self 2014-07-08 08:35:13 -06:00
Andrew
ab500f2e0c fix(sideMenu): when a drag on content is disallowed, do not prevent default
Closes #1725
2014-07-08 08:32:37 -06:00
Perry Govier
a2fe834a61 docs(content): mention has-bouncing attribute. Closes #1737 2014-07-07 15:30:51 -05:00
Andrew
ed4f22889e feat(ionModalView): ion-modal-view to wrap template instead of <div class="modal">
Closes #1668.

`<div class="modal">` will still work, but adding an `<ion-modal-view>`
element to wrap a modal template is a more "Ionic Looking" way of doing
the same thing.
2014-07-07 13:43:12 -06:00
Andrew
b7f45e7ca5 fix(view): don't affect history when inside a modal
Closes #1667
2014-07-07 13:38:28 -06:00
Dominik Schreiber
4c6916d30d docs($ionicGesture): update .off() parameters to match code
Closes #1734

Coming from the documentation `$ionicGesture.off` had to be called like `$ionicGesture.off('swipe', mySwipe, myElement)`. Instead, it has to be called with the gesture returned from `$ionicGesture.on` and the type+callback to remove.

I added the `@returns {ionic.Gesture} ...` to `.on` to make clear that this returns the gesture you may want to remove later on. I also made the documentation for `.off` match the function signature.
2014-07-07 13:15:53 -06:00
Joilson Marques
8f8086092f feat(ionSlideBox): add 'auto-play' attr to optionally disable auto-play
Closes #1552
2014-07-07 13:14:58 -06:00
Andrew
2e9d0965a5 fix(ionList): allow scrolling while reorder or delete is active
Closes #1703
2014-07-07 13:03:52 -06:00
Andrew
e3db08563b fix(sideMenu): when drag-content=false, allow drag-to-close
Closes #1419
2014-07-07 12:42:51 -06:00
Andrew
d5d38bb081 refactor(collectionRepeat): add a require-able controller to the directive 2014-07-07 11:48:44 -06:00
Andrew
c482d477af refactor(collectionRepeatDataSource): remove accidental test variable 2014-07-07 11:47:13 -06:00
Andrew
cdba48f196 fix(navBar): only add default animation if there is no custom animation
Closes #1671
2014-07-07 11:40:21 -06:00
Andrew
22a81fe82c test(list): use timeout.flush() 2014-07-06 14:29:33 -06:00