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
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
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
Angelo Lakra
fd75abd7f3
docs(animation): fixing a typo in the animation service
2014-07-09 17:19:31 -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
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
Andrew
c482d477af
refactor(collectionRepeatDataSource): remove accidental test variable
2014-07-07 11:47:13 -06:00
MGMsystems
ba56bb983f
feat(ionSideMenu): add edge-drag-threshold, delegate edgeDragThreshold()
...
Closes #1570
2014-07-06 14:22:26 -06:00
Perry Govier
7630bd419f
fix(loading): Prevent clicks on modal views when loading is active. Closes #1720
2014-07-03 16:16:21 -05:00
Perry Govier
19c40986af
chore(jshint): clearing semicolon warnings
2014-07-02 14:08:18 -05:00
Perry Govier
3e6ce1831b
fix(popup): if popup is taller than the window, shrink the popup body and make it scrollable. Closes #1679
2014-06-27 11:27:06 -05:00
Andrew Joslin
b2585f19ca
fix(collectionRepeat): fix scroll when item bigger than viewport
...
Closes #1621
2014-06-17 17:42:10 +00:00
arturokunder
c6fb60cd68
Update actionSheet.js
...
fixed a typo at the params description
2014-06-17 09:54:00 -04:00
ohh2ahh
a0b61e0c2c
docs(actionSheet): correct show() method example
2014-06-14 16:20:55 -05:00
Max Lynch
0e647e77af
Holding off on platform tweaks just yet
2014-06-12 13:29:01 -05:00
Andrew Joslin
e4ab045e30
feat($ionicSlideBoxDelegate): add start() to resume after stop
...
Closes #1584
2014-06-12 09:02:35 -06:00
Max Lynch
c30be67f65
feat(platforms): Android and iOS Specific Styles and Transitions
2014-06-11 16:48:53 -05:00
Andrew Joslin
e2ec0bfffe
amend($ionicActionSheet): remove unused line of code
2014-06-11 11:33:56 -06:00
Andrew Joslin
087e55f320
feat($ionicActionSheet): add cancelOnStateChange option, default true
...
Closes #1318
BREAKING CHANGE: $ionicActionSheet's default behavior is now to cancel
when the app's state changes. To disable this behavior, pass
`cancelOnStateChange: false` into $ionicActionSheet.show().
2014-06-11 11:28:53 -06:00
Andrew Joslin
30a3c8e0c8
fix(collectionRepeat): remove elements at correct time when leaving page
2014-06-11 08:43:00 -06:00
Andrew Joslin
6af5d68da4
feat(collectionRepeat): huge optimization upgrades
...
Closes #1597
2014-06-10 17:56:35 -06:00
Andrew Joslin
64f847aac7
docs($ionicModal): typo
2014-06-10 12:57:39 -06:00
Andrew Joslin
288dfedca3
docs($ionicModal): remove unnecessary sentence
2014-06-10 12:55:01 -06:00
Andrew Joslin
13853b68b7
docs($ionicModal: add colon
2014-06-10 12:54:37 -06:00
Andrew Joslin
12765cea47
docs($ionicModal): add related link to ionicModal controller at top
2014-06-10 12:54:03 -06:00
Andrew Joslin
b2caa16c77
docs(modal): add note about modal.removed,hidden,shown in $ionicModal
2014-06-10 12:51:36 -06:00
Andrew Joslin
b7646a5630
fix($ionicActionSheet): stop memory leak due to hidden element staying in dom
...
BREAKING CHANGE: $ionicActionSheet now returns a method to hide the
action sheet.
Previously, it returned an object that had a `show` and `hide` method.
This was undocumented, but if you used it, here is how to migrate your
code:
Change your code from this:
```js
var sheet = $ionicActionSheet.show({...});
sheet.hide();
```
To this:
```js
var hideSheet = $ionicActionSheet.show({...});
hideSheet();
```
2014-06-06 13:45:38 -04:00
hallucynogenyc
323e2ce22d
fix($ionicActionSheet): fix problems with cancel() not being called
...
Closes #1013 , #1576 .
2014-06-06 13:22:13 -04:00
Andrew Joslin
9942045fb2
amend($ionicModal): if hardwareBackButtonClose false, back button is noop
...
Addresses #1397
2014-06-05 07:29:39 -06:00
Andrew Joslin
9ffca1e4eb
feat($ionicModal): add hardwareBackButtonClose as option, default true
...
Closes #1397
2014-06-04 13:45:21 -06:00
Kevin Wade
74a4612210
fix(collectionRepeat): use $rootScope when checking if digest is needed
...
Closes #1518
2014-06-04 11:37:31 -06:00
Adam Bradley
71efd51bff
fix(popup): focus on first input
...
Closes #822
2014-06-02 22:35:33 -05:00
tyschroed
17ee4dffde
docs(modal): add missing tic causing backdropClickToClose to not format properly. Closes #1533
2014-05-30 17:36:39 -05:00
Perry Govier
11838cad40
docs(popup): fix a formatting in the example code
...
Adding the proper amount of spaces
2014-05-30 11:17:09 -05:00
Perry Govier
5398e9a0a3
docs(popup): fix a typo in the example code
...
The example was missing a `}` and therefore the other examples wouldn't work until the first was clicked since their definition was part of the first's execution.
2014-05-30 11:07:14 -05:00
Cihan Necat KAVİ
4136db00a1
fix(ionItem): Pass target attributes on <ion-item> tags on to the actual <a> tag. Closes #1492
2014-05-28 16:42:04 -05:00
Andrew Joslin
75e30003a8
chore(): move demos out of source files
2014-05-27 11:21:08 -06:00
Misha Moroshko
3e8287156d
docs(modal): fix templateUrl
...
Closes #1478
2014-05-23 05:54:02 -06:00
Max Lynch
003659b65e
fix(modal): error message for modal show after remove
2014-05-22 14:02:03 -05:00