flmu
1702f5c916
fix(ionContent): Use new name to find ion-infinite-scroll element
2014-02-25 16:08:31 +01: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
Andy Joslin
991d3cfda1
fix(ionSideMenu): use manual transclude instead of ngTransclude
...
Fixes #666
2014-02-24 06:53:28 -05:00
Adam Bradley
1a0213e250
jshint '===' to compare with '0' fix
2014-02-23 21:27:57 -06:00
Adam Bradley
8ef8957744
fix right side menu to open
2014-02-23 20:58:04 -06:00
Andy Joslin
465ea76969
fix(navBar): animations, hide back button, no flicker
...
Closes #653
2014-02-21 12:45:27 -05:00
Adam Bradley
2494b5f988
fix(ionPrefix): disableRegisterByTagName updated w/ ion- prefix for correct view history
2014-02-21 10:56:25 -06:00
Adam Bradley
1d3b518289
fix iconOn/iconOff showing in tabs
2014-02-21 09:56:42 -06:00
Adam Bradley
5de0f15e1d
add icon class to each icon element in ionTabControllerItem
2014-02-21 09:00:17 -06:00
Adam Bradley
c8292c3267
use .view instead of .pane, for no translate3d, for tab directive
2014-02-20 22:29:02 -06:00
Adam Bradley
356afdf04f
sideMenu parent to use .view instead of .pane so translate3d is not applied
2014-02-20 16:50:01 -06:00
Adam Bradley
07092f009c
fix(sideMenu): remove translate3d when not needed, close #636
2014-02-20 16:33:40 -06:00
Adam Bradley
67722343dd
use span instead of i for tab badges, closes #552
2014-02-20 14:43:22 -06:00
Max Lynch
89ec1b954e
fix(htmlSanitize) - Added ngSanitize back, fixes #641
2014-02-20 09:48:55 -08:00
Max Lynch
02365e0fe3
Fixed #642
...
Added polyfill for transforms
2014-02-19 21:13:38 -08: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
7cf4eef961
refactor(navBar): do not animate if there is no navDirection
2014-02-17 22:05:49 -05:00
Andy Joslin
d056ad1fef
perf(animations): throttle calls to requestAnimationFrame
...
Closes #582
2014-02-17 17:26:34 -05:00
UniRing
3d7011eb19
test(navBar): add tests for changing title, left/right buttons
...
Closes #622 . Closes #623 .
2014-02-17 16:52:10 -05:00
UniRing
7f9668090d
Fixes NavBar
...
Fixes NavBar not showing the right buttons and not updating his title
correctly.
2014-02-17 21:20:59 +01:00
Andy Joslin
bfefc69f3c
feat(sideMenu): allow and watch attrs width & is-enabled
2014-02-17 13:03:17 -05:00
Andy Joslin
749cd3829c
fix(navBar): animations work properly
...
Starting a couple of versions ago, animations in navbar stopped working.
I took this as a chance to fix this, and ddo a refactor to make the code
more modular and testable.
Lots of manual dom manipulation was offloaded to angular directives, and
now we will not have bugs with end-user using interpolated class
attribute on their own nav-bar and overriding our own manually added
classes.
2014-02-17 09:11:52 -05:00
Andy Joslin
35ad05163a
refactor(navBar): use class interpolation
2014-02-13 16:02:00 -05:00
Andy Joslin
65e10afd08
refactor(navBar): use ngClass instead of interpolated class
2014-02-13 15:05:42 -05:00
Andy Joslin
5470d77ac0
feat(navBar): allow expression in type. <nav-bar type="{{myType}}">
...
Closes #599
2014-02-13 14:56:29 -05:00
Andy Joslin
69fda4e526
fix(tabs): broadcast tab.shown/tab.hidden to only child scopes
...
Addresses #588
2014-02-13 12:15:41 -05:00
Adam Bradley
8b308a1737
feat(event): Created stopEvent directive to use for certain ng-click cases, closes #550
2014-02-12 23:06:36 -06:00
Andy Joslin
1a1e968ea4
chore(): uncomment commented line
2014-02-11 17:18:32 -05:00
Andy Joslin
61a280bda8
fix(sideMenuContent): make dragContent default to true
2014-02-11 16:22:55 -05:00
Andy Joslin
2c7ce76385
fix(scroll): <scroll> is now registered with $ionicScrollDelegate
...
This is just a whitespace change with a commit attached to it so that we
can have the fix appear in the changelog.
The actual changes are in c119498d1b .
2014-02-11 14:06:30 -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
Adam Bradley
74a05a0338
fix(backButton): able to hide back button if any back button attr set in navBar, closes #564
2014-02-10 15:07:20 -06:00
Adam Bradley
2cdc8ba925
back button defaulted to hide
2014-02-08 21:45:41 -06:00
Andy Joslin
8581d162a3
refactor(content): set saved-scroll after timeout, only set valid values
...
Addresses #439
2014-02-08 00:19:03 -05:00
Andy Joslin
7f9bfb5a94
feat(sideMenuContent): watch drag-content attribute
2014-02-07 17:00:14 -05:00
Andy Joslin
b11e0f512b
feat(tabs): allow tab badge-style attribute to set badge class
2014-02-07 13:16:02 -05:00
Andy Joslin
0facb120c7
feat(tab): allow html in tab title attribute
...
Closes #528
2014-02-06 22:25:12 -05:00
Adam Bradley
2d39418d0b
fix(backButton): Do not show back button if no attributes set, closes #549
2014-02-06 20:31:47 -06:00
Adam Bradley
fc4f1b7c61
use className instead of classList
2014-02-06 16:49:21 -06:00
Adam Bradley
4808e80ddf
fix(navBar): Remove duplicate back button arrows, closes #547
2014-02-06 16:30:00 -06:00
Adam Bradley
2eab747d47
feat(toggle): Disable toggle w/ ng-disabled, closes #541
2014-02-06 15:57:25 -06:00
Andy Joslin
d15905ff4e
chore: git add a file
2014-02-06 16:14:04 -05:00
Andy Joslin
e755623331
feat(ionic): remove angular-sanitize (ngSanitize) as dependency
...
Add small bindHtmlUnsafe directive without html checking
2014-02-06 15:50:12 -05:00
Andy Joslin
1fd3f39bb5
chore(): make files pass jshint (; errors)
2014-02-06 15:44:48 -05:00
Andy Joslin
7f4b28d9da
feat(list): reordering scrolls page, reordering performance better
...
Fixes #521 . Reordering now uses webkitTransform instead of
element.style.left. Additionally, as you drag the drag-element to the
top or bottom of the scroll-area, it will scroll it up or down as
allowed.
Refactors necessary: Common code from `<content>` and `<scroll>` moved
into js/ext/angular/controllers/ionicScrollController. Then `<content>`
and `<scroll>` expose the controller, and `<list>` can require it.
`<list>` then uses the controller (if exists) to pass the scrollView and
scrollEl to ReorderDrag, and ReorderDrag uses that to scroll.
Additionally, js/ext/angular/test/controller/ionicScrollController tests
much functionality that was untested before.
2014-02-06 15:04:23 -05:00
Andy Joslin
0fe4486737
feat(ionicToggle): allow ngDisabled binding
2014-02-06 08:48:12 -05:00
Adam Bradley
f6c94579b5
remove unused tabBar directive
2014-02-05 19:59:39 -06:00
Andy Joslin
990d14e8fe
fix(navView): if !$animate.enabled(), do not animate
...
Closes #426
2014-02-05 14:41:31 -05:00
UniRing
bc927e57e7
feat(tabs): allow badges on tabbar via bound badge attr
2014-02-05 11:38:06 -05:00
Adam Bradley
24c382bd9b
feat(tabs): clicking tab item again navigates to tab's home
2014-02-04 23:01:43 -06:00