Adam Bradley
e9f0fcf556
refactor(clickBlock): add click-block div to body
...
Instead of using pointer-events: none to disable unwanted clicks which
can cause flickering, we’re now using a click-block div that covers the
view during transitions. Similar concept to pointer-events: none
applied to the body tag, but in tests its showing to be more effective
to not cause any flickers.
2014-08-27 12:56:12 -05:00
Adam Bradley
2c3f1c9f02
feat($ionicBody): service to simplify body ele interaction
...
Many services/directives have to interact with the body element, and
each one has to write the same long code. The $ionicBody service
provides some useful methods to clean up and reduce redundant code.
2014-08-26 22:23:07 -05:00
Adam Bradley
b69aa5485f
feat(splitView): expose side menu on large viewport
...
Ability to keep a left menu exposed on larger viewports, such as a
landscape tablet. Added the `expose-aside-menu` attribute directive.
2014-08-26 15:00:42 -05:00
Max Lynch
853fad19b1
New transition styles
2014-08-24 15:08:30 -05:00
Andrew
e00e938040
test(popover): fix tests for container addition
2014-08-20 14:29:11 -06:00
Andrew
6d859f4876
fix(popup): fix alignment, backdrop not fading out
2014-08-20 14:17:19 -06:00
Andrew
5d06c4aef8
feat(popover): support popping from bottom or top of screen
...
Closes #1986
2014-08-20 12:09:08 -06:00
Perry Govier
25ee658e8b
amend(loading): simpler/more clean fix for #1914
2014-08-20 13:04:48 -05:00
Adam Bradley
04812a2da9
style(): move listController.unit.js to correct dir
2014-08-20 11:28:15 -05:00
Adam Bradley
b31f4e8e3f
refactor(sideMenu): move controller logic to $ionicSideMenus
2014-08-20 11:09:48 -05:00
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
Perry Govier
840c014b27
fix(item): clicks climb 5 levels looking for an item to activate, but not 6. Fixes #1921
2014-08-19 14:20:35 -05:00
Perry Govier
cc18a64bf4
fix(reorder): item click handlers dont fire when tapping on reorder icon
2014-08-19 11:32:35 -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
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
044fac4d77
fix(popup): only override prompt input if template includes HTML
2014-08-08 15:00:19 -05: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
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
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
Adam Bradley
6fbd1a4306
fix(toggle): fix toggle-class attribute
...
Closes #1851
2014-08-06 08:40:57 -05:00
Perry Govier
ae87c66b12
fix(popup): backdrop release fires with every close
2014-08-05 11:16:46 -05:00
Adam Bradley
06086ee9ae
fix(header): buttons do not align in Android 4.4
...
Closes #1614
2014-08-05 10:23:23 -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
ddda809b57
feat(tabs): Expand striped android style tab functionality. Closes 1694
2014-07-30 15:52:53 -05:00
Max Lynch
38781403bb
Simple form update
2014-07-30 11:41:56 -05:00
Perry Govier
2993159f2a
test(forms): add the new forms test to snapshot tests
2014-07-29 12:48:41 -05:00
Max Lynch
89999cadb1
fix(forms): Normalized form styles
2014-07-29 10:32:40 -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
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
74711cbc36
test(): remove iit
2014-07-24 11:15:50 -06:00
Andrew
79bcfb149f
test(gesture): fix gesture directive tests
2014-07-24 11:15:26 -06: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
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
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
Perry Govier
79fb1e4941
feat(checkbox): add disabled and emotion styles to ion-checkbox. Closes #1683 and #1509
2014-07-10 17:04:22 -05:00
Perry Govier
bb6976ad54
feat(tab): options 'hidden' attribute for tabs. Closes #1666 , #1673
2014-07-09 17:10:43 -05: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
a56e647ba2
fix(select): prevent ion-item text from overlapping select input. Closes #1735
2014-07-08 11:06:46 -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
Andrew
da8a24d174
test(ionList): remove tap-disabled from tests
2014-07-07 13:17:19 -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