Commit Graph

51 Commits

Author SHA1 Message Date
Andy Joslin
b406305b19 refactor(ionicContent): use $-prefix for onRefresh and onScroll events
Closes #675
2014-02-25 11:18:25 -05:00
Adam Bradley
631208f1d8 _checkPlatforms refactor 2014-02-24 22:05:00 -06:00
Adam Bradley
04e282585f another platform testing fix 2014-02-24 15:12:00 -06:00
Adam Bradley
b051fa7c9f platform test fix 2014-02-24 14:44:59 -06:00
Adam Bradley
7a3930f6ae improve platform/version/grade fallbacks with user-agents 2014-02-24 13:42:33 -06:00
Andy Joslin
49e0dac999 feat(ionContent): use child scope instead of isolate scope
Adds new '$ionicBind' service, which takes an object containing
binding definitions (similar to angular directive isolate scope
definition).  Allows binding of any directive attribute & expressions
from a scope, letting us do normal attribute -> scope binding
without having to create isolate scopes.

Closes #555. Closes #669
2014-02-24 11:11:03 -05:00
Adam Bradley
98a86f2186 tmp test fixes for Android user-agent in saucelabs 2014-02-23 23:00:21 -06:00
Adam Bradley
fcd0fa73c4 fix(platform): Update ionic.Platform.is() to check all platforms, closes #604 2014-02-23 21:58:17 -06:00
Adam Bradley
1503cc7213 fix(actionsheet): Actionsheet in modal has pointer-events enabled, closes #660 2014-02-22 21:22:35 -06:00
Emanuel Kluge
9e942f894b fix(ionicScrollDelegate): do not error if no scrollTop/Left values
Closes #659
2014-02-21 13:35:40 -05:00
Adam Bradley
b69b40c826 feat(grade): Set grade in body class depending on platform performance
First draft of how devices play out:

.grade-a:
- iOS
- >= Android 4.4

.grade-b:
- Android >= 4 && < 4.4

.grade-c:
- Android < 4
2014-02-20 20:41: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
d056ad1fef perf(animations): throttle calls to requestAnimationFrame
Closes #582
2014-02-17 17:26:34 -05:00
Adam Bradley
97f4f6eace feat(angular): Update to Angular v1.2.13, closes #600 2014-02-17 16:15:15 -06: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
9bc928f031 fix(modal): do not click buttons underneath modal 2014-02-17 10:16:03 -05:00
Andy Joslin
e1b6fd4f84 fix(scrollView): cancel scrollTop every time hash is set
Before it, only cancelled scrollTop the first time the hash was set.

Addresses #618
2014-02-17 09:10:23 -05:00
Andy Joslin
e106457e61 feat(modal): add .isShown() method to modal instances
Closes #320
2014-02-13 14:42:35 -05:00
Andy Joslin
110ff9f475 feat(modal): $broadcast 'modal.shown/hidden/removed' from parent scope
Closes #243
2014-02-13 14:40:54 -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
dc67300547 test(angularOverrides): add tests from jqLite, pass jshint 2014-02-09 11:31:00 -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
40fcd01e9b fix(ionicView): erase saved scroll for a view on back 2014-02-05 10:42:14 -05:00
Andy Joslin
456dc2b9f2 chore(build): more ci server automation 2014-02-04 22:33:42 -05:00
Adam Bradley
7352be9010 set major and minor platform versions in body css 2014-01-31 20:57:26 -06:00
Adam Bradley
f37b196ff8 refactor ionic.Platform methods 2014-01-31 20:36:39 -06:00
Adam Bradley
95c8ddf301 Update $ionicPlatform.ready() 2014-01-31 10:31:42 -06:00
Adam Bradley
bcee7f268b remove tests no longer needed 2014-01-24 17:21:37 -06:00
Max Lynch
766f97d94b Fixed #464 - side menu delegate 2014-01-23 12:55:40 -06:00
Max Lynch
5ded0a3708 Scroll delegate unit tests 2014-01-23 12:25:44 -06:00
Adam Bradley
5c80fc1cd9 update platform ready listeners 2014-01-16 00:25:04 -06:00
Max Lynch
cd13cf396d Added Android back button support to action sheet, modal 2014-01-13 12:03:06 -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
9f952c3a50 view state wip 2014-01-08 22:37:03 -06:00
Adam Bradley
3cfcfc01a4 jshint fixes 2013-12-07 15:05:56 -06:00
Max Lynch
d8bce833cd Trying with firefox instead of phantom 2013-11-18 22:07:00 -06:00
Max Lynch
8ed1f3e7da Unit test and tab stuff 2013-11-17 15:48:50 -06:00
Max Lynch
d128065e55 Removed iit 2013-11-17 15:14:11 -06:00
Max Lynch
ea2ff85e91 Fixed #153 with tests 2013-11-17 15:14:02 -06:00
Max Lynch
094af5fe2e Toggle with unit test 2013-10-11 12:56:59 -05:00
Max Lynch
595fc67e49 List items with or without binding 2013-10-09 20:07:39 -05:00
Max Lynch
2938e104c2 Action sheet working 2013-10-04 23:20:18 -05:00