Commit Graph

171 Commits

Author SHA1 Message Date
Anton Shevchenko
d29eaa3582 Update radio.js 2014-08-11 22:22:54 -04:00
Anton Shevchenko
2584dae8ab Update radio.js 2014-08-11 21:01:30 -04:00
Anton Shevchenko
d5b2231118 Update radio.js 2014-08-11 20:58:59 -04:00
Anton Shevchenko
4c09bc8d0c Update ion-radio documentation
Listed all accepted attributes for ion-radio directive based on source code.
2014-08-11 20:58:25 -04:00
Andrew
977f681818 fix(collectionRepeat): with ngHref, make href attr erase if falsy
Fixes #1674
2014-08-11 10:29:32 -04:00
Andrew
5e025fbb01 fix(collectionRepeat): rerender when $ionicScrollDelegate resizes
Fixes #1777
2014-08-11 10:23:49 -04:00
Andrew
9bfa3bd18b fix(collectionRepeat): ignore spacing of hidden elements (ion-refresher)
Closes #1970
2014-08-11 10:06:31 -04:00
Perry Govier
c336e8ede8 fix(refresher): finish animating before changing icon, hide when not in use 2014-08-07 17:54:30 -05:00
Adam Bradley
8cf540e54c style(): missing semi-colon 2014-08-07 12:24:24 -05:00
Adam Bradley
944d2595af fix(sideMenu): fix stopping content scrolling
When a list was within a side menu it could scroll up and down, but if
the user happened to drag a little bit on the X axis, then it would try
to open the side menu and the Y scroll of the content stopped. Closes
#1541
2014-08-07 12:22:28 -05:00
Adam Bradley
94a06dbdc2 style(): fix missing semi-colon 2014-08-06 15:27:13 -05:00
Adam Bradley
f246c5aa20 fix(sideMenu): remove .menu-open on destroy
If a menu was opened when navigating to a different view, it is
possible that the `menu-open` class was left on the body tag, which
disables the elements on the next side menu view. On side menu destroy,
ensure menu-open was removed from the body class.
2014-08-06 15:24:31 -05:00
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
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
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
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
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
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
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
d5d38bb081 refactor(collectionRepeat): add a require-able controller to the directive 2014-07-07 11:48:44 -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
MGMsystems
ba56bb983f feat(ionSideMenu): add edge-drag-threshold, delegate edgeDragThreshold()
Closes #1570
2014-07-06 14:22:26 -06:00
Andrew
ba1859b308 fix(ionReorderButton): stop ngRepeat:dupes error when reordering
Closes #1601.

BREAKING CHANGE: Reordering with ion-reorder-button no longer changes the order of the items in the DOM.

This change will only break your list if you were not using the
onReorder callback as described in the documentation.

Before, while reordering an element in a list Ionic would swap the
elements underneath as the reordering happened.  This sometimes caused
errors with angular's ngRepeat directive.

Now, reordering an element in a list does not change the order of
elements in the DOM.  It is expected that the end developer will use the
index changes given in the `onReorder` callback to reorder the items
in the list. This is simple to do, see the [examples in the
ionReorderButton
documentation](http://ionicframework.com/docs/api/directive/ionReorderButton/).
2014-07-06 13:39:56 -06:00
townside
c2dbb31856 docs(headerFooter): Typo 2014-07-03 14:13:26 -05:00
Perry Govier
1b51231e8f docs(collectionRepeat): Noting that the dimensions must be known ahead of item creation. Closes #1707 2014-07-01 10:12:57 -05:00
FabianSperrle
9f7960c98b docs(navBar): Corrected typo 2014-06-30 13:40:36 -05:00
Perry Govier
704fe402e7 fix(radio): suport ng-disabled. Closes #1684 2014-06-27 15:58:17 -05:00
Max Lynch
6eefee3d7e fix(headerBar): scroll to top 2014-06-23 15:02:06 -05:00
Perry Govier
501282fd42 docs(content): add start-y parameter to ion-content documentation. Closes #1324
Here's an example http://codepen.io/perrygovier/pen/GEIwc
2014-06-19 17:59:44 -05:00
Andrew Joslin
b4b94073d5 fix(gestureDirectives): fix problem with event being passed in 2014-06-17 13:16:31 +00:00
Adam Bradley
731cf726a9 test(floatingLabel): snapshot tests 2014-06-13 09:36:14 -05:00