Commit Graph

11 Commits

Author SHA1 Message Date
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
70d952499a fix(ionicScrollDelegate): tapScrollToTop won't fire for button tap
Closes #557
2014-02-17 11:40:16 -05:00
Andy Joslin
c119498d1b feat($ionicScrollDelegate): add scrollTo(left,top,animate) to delegate
Also moves $ionicScrollDelegate.register to $ionicScroll controller,
and makes `<scroll>` directive be registered with $ionicScrollDelegate.
2014-02-11 13:40:45 -05:00
Andy Joslin
1c4d4a8b90 fix(browser): on first hash-set, dont set scrollTop 2014-02-11 09:44:59 -05:00
Andy Joslin
36691bbaeb feat($ionicScrollDelegate): allow anchorScroll to animate with param
Addresses #508
2014-02-11 09:16:29 -05:00
Andy Joslin
38c756b750 refactor(anchorScroll): use getElementById instead of querySelector to fix number ids
Addresses #508
2014-02-10 09:26:45 -05:00
Andy Joslin
4c9a4c0c62 refactor(anchorScroll): only get element ids under scrollEl 2014-02-09 18:06:05 -05:00
Andy Joslin
c2bbd9e96e feat($ionicScrollDelegate): add .anchorScroll() function
Scrolls to the location of element with id matching $location.hash(). If
$location.hash() is blank or the id does not exist, it will scroll to
the top.
2014-02-09 11:37:30 -05:00
Andy Joslin
ea289b81c6 fix(ionicScrollDelegate): trigger resize before scrolling to top/bottom
Closes #522
2014-02-06 09:51:35 -05:00
Andy Joslin
456dc2b9f2 chore(build): more ci server automation 2014-02-04 22:33:42 -05:00
Max Lynch
5ded0a3708 Scroll delegate unit tests 2014-01-23 12:25:44 -06:00