Andrew
4595fd3cc4
refactor($ionicTabsDelegate): for .select() take away second argument
...
Closes #1682
2014-08-20 10:03:45 -06:00
Perry Govier
65aece2aad
fix(loading): potential race condition with showing and hiding loading in same watch cycle
2014-08-19 15:07:10 -05:00
Andrew
c5966bba05
fix(scrollView): resolve memory leaks with holding element references
...
Addresses #1993
2014-08-18 09:01:29 -06:00
Jim Cummins
1601c07291
(fix): resolve typo in usage
...
(fix): resolve typo in usage
Fixes typo.
No breaking changes
2014-08-15 16:40:44 -05:00
Perry Govier
359ca33024
docs(templateCache): reformat to conform to ngDoc
2014-08-15 15:48:33 -05:00
Perry Govier
e6af369aff
amend(templateCache): JS lint cleanup
2014-08-15 15:15:32 -05:00
Perry Govier
944a92b08d
feat(templateCache): automatically cache template files to prevent flicker on page navigation and improve performance
...
State templates are cached automatically, but you can optionally cache other templates.
```js
$ionicTemplateCahce('myNgIncludeTemplate.html');
```
Optionally disable all preemptive caching with the `$ionicConfigProvider` or individual states by setting `prefetchTemplate`
in the $state definition
```js
$ionicTemplateCahce('myNgIncludeTemplate.html');
```js
angular.module('myApp', ['ionic'])
.config(function($stateProvider, $ionicConfigProvider) {
// disable preemptive template caching globally
$ionicConfigProvider.prefetchTemplates(false);
// disable individual states
$stateProvider
.state('tabs', {
url: "/tab",
abstract: true,
prefetchTemplate: false,
templateUrl: "tabs-templates/tabs.html"
})
.state('tabs.home', {
url: "/home",
views: {
'home-tab': {
prefetchTemplate: false,
templateUrl: "tabs-templates/home.html",
controller: 'HomeTabCtrl'
}
}
});
});
```
2014-08-15 15:10:19 -05:00
Andrew
834e2bb173
amend($ionicConfigProvider): fix typo, add unit tests
2014-08-15 13:11:44 -06:00
Andrew
2643cffc19
feat($ionicConfigProvider): add $ionicConfigProvider
2014-08-13 11:44:45 -06:00
Andrew
8c6d5f2c96
fix(collectionRepeat): simplify item reusing process to fix rare reuse error
...
Closes #1777 .
2014-08-13 10:30:44 -06:00
Perry Govier
044fac4d77
fix(popup): only override prompt input if template includes HTML
2014-08-08 15:00:19 -05:00
Andrew
d3ed66e0cd
fix(actionSheet): run $apply when closing actionSheet with back button
2014-08-06 14:34:33 -06: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
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