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
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
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
41a2124d45
test(): fix phantomjs test problems for CircleCI
2014-08-06 12:10:34 -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
Perry Govier
ae87c66b12
fix(popup): backdrop release fires with every close
2014-08-05 11:16:46 -05:00
Max Lynch
64641b1be0
fix(viewService): No error on clearHistory for empty history
2014-08-04 14:17:54 -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
Andrew
26ca840dfc
feat($ionicLoading): add $ionicLoadingConfig constant for default options
...
Closes #1800
2014-07-21 08:22:43 -06:00
Andrew
7e20424a87
test(platform): fix unit tests for setting platform to null
2014-07-21 08:22:07 -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
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
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
8c36a667d8
test(actionSheet): fix test for angular v1.2.17
2014-06-10 15:27:48 -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
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
Max Lynch
4c700e9c0f
fix(backdrop): Changed z-index for loading backdrop only. Fixes #1428
2014-05-22 10:43:52 -05:00
Andrew Joslin
94f0b5b705
fix(collectionRepeat): fix rare NPE error on android 4.1
...
Closes #1292
2014-05-21 07:44:21 -06:00
Andrew Joslin
291d723ab1
feat($ionicModal): allow configuration of backdropClickToClose
...
Addresses #1087
2014-05-12 08:24:19 -06:00
Adam Bradley
4928b996d6
set WP8 as a grade-b device
2014-05-09 09:33:35 -05:00
Andrew Joslin
95d1aea4f1
chore(travis): re-enable jshint
2014-05-08 09:11:16 -06:00
Adam Bradley
6e32c2f880
Merge initial wp8 fixes
2014-05-07 15:47:35 -05:00
Adam Bradley
08e4b3d95b
feat(platform): added isWindowsPhone() method
2014-05-07 14:48:36 -05:00
Andy Joslin
9de67e0ab7
test(gesture): make it use ionic.CustomEvent
2014-05-07 12:21:11 -06:00
Andy Joslin
fc8711c7d0
feat($ionicLoading): on android, no back button action while loading
...
Fixes #1273
2014-05-05 12:15:32 -06:00
Andy Joslin
74891acaf4
test(collectionRepeatManager): finish testing .render()
2014-05-05 09:19:21 -06:00
Adam Bradley
6b3c2b929a
merge keyboard-fixes
2014-05-03 22:30:21 -05:00
Adam Bradley
d2ebed847e
fix(modal): Remove modal flicker, closes #1150
2014-05-02 11:49:16 -05:00
Adam Bradley
5f8e9040bd
fix(viewport): Auto update viewport tag
2014-05-02 10:12:48 -05:00
Adam Bradley
05a6d7cca6
fix(tap): input[file] clicks within ion-content, closes #1237
2014-05-01 08:54:13 -05:00
Andy Joslin
aeda31669b
test($ionicModal): add test for unbinding event
2014-04-30 13:46:09 -06:00
Andy Joslin
5c3c65d17f
test($ionicModal): add better tests for backdrop click
2014-04-30 13:43:07 -06:00
Andy Joslin
b87bcb30c3
feat($ionicPopup): on android, make back button close popup
...
Fixes #1222
2014-04-29 09:07:13 -06:00
Andy Joslin
f0a1c03759
feat(collection-repeat): add repeat lsdirective for huge lists
2014-04-28 08:16:29 -06:00
Andy Joslin
73b9775337
collectionRepeat: a few fixes and tweaks
2014-04-25 16:27:16 -06:00
Andy Joslin
38cda8f93b
test($collectionDataSource): add unit tests
2014-04-25 10:43:31 -06:00
Andy Joslin
8e3a3d0b2d
activator: do not activate if tapRequiresNativeClick
...
Addresses #1202
2014-04-25 07:05:27 -06:00
Adam Bradley
c1918f3123
delete unused test
2014-04-24 20:22:57 -05:00
Adam Bradley
ee1c8dc8b7
tap updates for select elements
2014-04-17 11:07:14 -05:00
Adam Bradley
43627f77c1
created containsOrIsTextInput
2014-04-17 09:49:08 -05:00
Adam Bradley
d0047cda44
refactor(tap): Refactor tap system for improved tap/click/keyboard/scroll/focus
...
Overhaul of the tap system so the keyboard does not cover up focused
inputs, correctly bring up the keyboard on text input focus, disabling
focus during scroll, disabling clicks after a hold then scroll,
removing 300ms delay without additional event handlers on each element,
etc. Refactored the tap/click/scroll/activator events for more
testability, along with adding more tests.
2014-04-17 08:26:25 -05:00
Andy Joslin
5ce4dfeca9
refact(delegateService): fix error message
2014-04-16 06:17:43 -06:00
Andy Joslin
4216266f21
fix(loading): fix not hiding after two shows, always cancel delay
...
Fixes #1130
2014-04-14 13:39:48 -06:00