Commit Graph

27 Commits

Author SHA1 Message Date
Andy Joslin
5a0efecef6 feat($ionicScrollDelegate): rememberScrollPosition, scrollToRememberedPosition
/**
 * @ngdoc method
 * @name $ionicScrollDelegate#rememberScrollPosition
 * @description
 *
 * When this scroll area is destroyed, its last scroll position will be
 * saved using the given id.
 *
 * @param {string} id The identifier for this saved scroll position.
 */

/**
 * @ngdoc method
 * @name $ionicScrollDelegate#scrollToRememberedPosition
 * @description
 *
 * If a scroll position was remembered using the given id, loads the
 * remembered scroll position and scrolls there.
 *
 * @param {string} id The identifier for this saved scroll position.
 * @param {boolean=} shouldAnimate Whether to animate the scroll.
 */
2014-03-17 08:39:23 -06:00
Andy Joslin
cc0a4ef775 test(sideMenu2): update test to reflect changes 2014-03-17 07:48:56 -06:00
Andy Joslin
12e47134cd ionicView: fix typo 2014-03-14 15:42:42 -06:00
Max Lynch
fd379de382 Fixed a spelling issue 2014-03-14 16:31:53 -05:00
Andy Joslin
e9625ded9d docs: add services, utilities 2014-03-11 13:02:36 -06:00
Adam Bradley
a491f22c1f fix(backbutton): Allow only one back button listener to run per click, closes #693 2014-03-06 15:16:49 -06:00
Adam Bradley
c99427aa92 fix(history): Separate histories and views, clear other views in clearHistory(), closes #724 2014-03-06 10:58:33 -06:00
Andy Joslin
8354d42b4b feat(ionNavAnimation): <a href="#/page" ion-nav-animation="slide-in-up"> 2014-02-26 08:40:02 -05:00
Adam Bradley
f0faae1657 fix(tabs): Double tapping a tab would set the wrong view history, closes #656 2014-02-21 11:35:48 -06:00
Andy Joslin
2c39a21498 feat(ionic): prefix all directives with ion-
BREAKING CHANGE: All directives are now prefixed with `ion-`.

For any directive you use, add the ionic prefix.

For example, change this HTML:

```html
<tabs>
  <tab title="home" href="/tab/home">
    <content>Hello!</content>
  </tab>
</tabs>
```

To this HTML:

```
<ion-tabs>
  <ion-tab title="home" href="/tab/home">
    <ion-content>Hello!</ion-content>
  </ion-tab>
</ion-tabs>
```
2014-02-18 16:13:00 -05:00
Andy Joslin
40fcd01e9b fix(ionicView): erase saved scroll for a view on back 2014-02-05 10:42:14 -05:00
Adam Bradley
24c382bd9b feat(tabs): clicking tab item again navigates to tab's home 2014-02-04 23:01:43 -06:00
Andy Joslin
2d1b71c8e2 feat(content): remember scroll of previous page
`content` directive stores scroll in view page history.

The history is passed down through $viewContentLoaded event, which is
broadcasted by navView directive when it loads a page.
2014-02-04 08:48:03 -05:00
Andy Joslin
479175bf5d refactor(view): use nextUid from angular to generate unique ids
Math.random() is unreliable, produces duplicates, and numbers can
overflow if you use them for long enough.
2014-02-04 08:46:02 -05:00
Adam Bradley
25a9e527af ionic.Platform.exitApp(), always run onPlatformReady() 2014-01-31 11:55:31 -06:00
Adam Bradley
95c8ddf301 Update $ionicPlatform.ready() 2014-01-31 10:31:42 -06:00
Adam Bradley
c3544d8a4a Android back button fixes, closes #454 2014-01-30 22:01:20 -06:00
Adam Bradley
dc7420012e refactor navView and viewService 2014-01-24 17:21:37 -06:00
Adam Bradley
628252b1cd disable pointer-events during transitions, closes #436 2014-01-20 09:47:18 -06:00
Adam Bradley
41a7b45f0e remove flicker before back view transition 2014-01-13 22:53:51 -06:00
Max Lynch
86d6889628 Fixed #380 - rename ionic services to use $ionic prefix 2014-01-13 10:46:41 -06:00
Adam Bradley
3124ef3981 update how view's set titles, closes #337 2014-01-12 22:39:10 -06:00
Adam Bradley
251025e512 clear view history, closes #393 2014-01-11 00:43:41 -06:00
Adam Bradley
7cbfcc18d8 view-state fixes 2014-01-10 15:08:25 -06:00
Adam Bradley
ead7224a1e angular-ui router 2014-01-09 11:12:39 -06:00
Adam Bradley
cd65a8dc7b v0.9.19 2014-01-09 09:49:37 -06:00
Adam Bradley
9f952c3a50 view state wip 2014-01-08 22:37:03 -06:00