Commit Graph

1598 Commits

Author SHA1 Message Date
Perry Govier
b1f94da27e fix(platform): fullscreen method will not offset footer by 20px 2014-09-09 17:05:03 -05:00
Adam Bradley
59c8d5e1be Merge pull request #2160 from cfjedimaster/patch-1
docs(platform): reminder cordova features dont work within browser
2014-09-08 12:27:50 -05:00
Justin Basinger
f89f010cce fix(scrollview, content): Fixed multiple memory leaks in scrollview and content 2014-09-08 12:21:49 -05:00
Raymond Camden
9c370fdd3a Update platform.js
I added a bit of detail to ready function to remind folks that - in the context of a web browser - even though ready has fired it is *NOT* going to allow for device specific features. It may be too obvious, but I really think a reminder here will help.
2014-09-08 11:19:04 -05:00
Perry Govier
d3c8a1b2a4 fix(back button): do not animate back button transition if the title doesn't change. Fixes #1858 2014-09-05 16:01:59 -05:00
Adam Bradley
5605317936 refactor(ionicNamespace): create window.ionic
Build processes may also be using the window.ionic object, but it’ll
have to create its own because ionic.js may not have run yet. Use the
existing window.ionic obj if it exists, otherwise create it.
2014-09-04 23:55:12 -05:00
Adam Bradley
150f116e53 refactor(platform): do not console.error on device get
With user agent fallbacks, its unnecessary to print out errors if the
device plugin isn’t there.
2014-09-04 23:38:01 -05:00
Perry Govier
6a4f381fdd Merge pull request #1917 from schmoofer/master
fix(modal): eliminate flicker when using fade-in/out animation style
2014-09-04 18:47:33 -05:00
wroscoe
cbb28dbab3 update link to animations 2014-09-02 11:46:52 -07:00
Adam Bradley
caf1272186 fix(scroll): remove isContentEditable from ignoreScrollStart
If an element isContentEditable, do not ignoreScrollStart incase users
are using contenteditable elements to scroll. This may have originally
been put in because it disabled text selection, and moving the text
cursor on touch. But this doesn’t seem to be the case anymore, so it
may have been put in for platform versions we no longer support. Also
fix the data-prevent-scroll dataset attribute. Closes #2091
2014-08-29 23:35:07 -05:00
Adam Bradley
df57858521 fix(menuContent): gestures do not stop_browser_behavior
The gestures which were being added to side menu content were also
adding the `disable-user-behavior` class, which disabled
contenteditable elements. Now passing in the gesture option
stop_browser_behavior=false, along with adding the options param to the
gestures service. Fixes #421
2014-08-29 22:25:55 -05:00
Adam Bradley
a49f374706 fix(sideMenu): close menu w/ drag on Android 4.4
Fixes #2102
2014-08-29 20:11:58 -05:00
Adam Bradley
98629d4243 fix(classList): error on svg elements
Fixes #1795
2014-08-28 15:17:44 -05:00
mhartington
0b4cba860a docs(ion-item) Add link example 2014-08-28 13:39:24 -04:00
mhartington
addf5980e7 docs(ion-infinite-scroll): Include ion-list
Include ion-list in example code
2014-08-28 13:25:42 -04:00
Adam Bradley
eb8e46e62d Merge pull request #2051 from spautz/minification-fix-issue-2050
fix($ionicTemplateCache): explicitly list dependency for minification
2014-08-28 12:14:43 -05:00
Adam Bradley
3c32d1664c Merge pull request #2056 from dhcar/patch-1
docs(): extra ">" after a tag
2014-08-28 12:13:02 -05:00
Adam Bradley
237c186695 Merge pull request #2076 from emertechie/issue-1897
fix(scoll): clone properties for contenteditable divs
2014-08-28 12:11:56 -05:00
Adam Bradley
f32bbb08b7 Merge pull request #2093 from novas1r1/patch-1
docs(itemReorderButton): update itemReorderButton.js
2014-08-28 12:09:54 -05:00
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
novas1r1
f2865a2a46 Update itemReorderButton.js
Fixed wrong closing tag
2014-08-27 09:37:00 +02: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
Andrew Smith
5f80f76376 Clone properties for contenteditable divs. Fixes #1897 2014-08-25 16:10:36 +08:00
Max Lynch
853fad19b1 New transition styles 2014-08-24 15:08:30 -05:00
David Helgeson
e7aff5c0a2 Extra ">" after a tag 2014-08-21 14:57:38 -07:00
Steven Pautz
a2377cfbb7 Fix: Explicitly list dependency so that minification works. Fixes #2050 2014-08-21 14:05:11 -04:00
Andrew
ce5807a022 refactor(domUtil): remove centerElementByMargin. Use flex containers. 2014-08-20 14:17:54 -06:00
Andrew
6d859f4876 fix(popup): fix alignment, backdrop not fading out 2014-08-20 14:17:19 -06:00
Andrew
cc8f31d8e8 feat(ionScroll): add locking option
Closes #2034
2014-08-20 12:29:20 -06:00
Andrew
af229072df feat(ionContent): add locking option
Closes #2034
2014-08-20 12:29:15 -06:00
Andrew
029f8f3353 feat($ionicScrollDelegate): expose zoomBy and zoomTo methods
Closes #1977
2014-08-20 12:19:42 -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
Andrew
120f99ee79 fix(collectionRepeat): always render data correctly with before/after isblings
Closes #2025
2014-08-20 11:22:05 -06:00
Andrew
beecc6274e amend(collectionRepeat): don't render an extra item at the end
Closes #2027
2014-08-20 11:07:11 -06: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
6f5b6c24c6 fix(reorder): reorder drag threshold are equal for going up and down. Closes #1394 2014-08-19 17:24:02 -05: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
0bf6bc575b ammend(reorder): JS lint cleanup 2014-08-19 13:29:58 -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
Andrew
d18f0f77cd test(view): amend some broken tests 2014-08-18 09:30:13 -06: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