Andy Joslin
986dbac893
refactor(ionList): more expressive, declarative (breaking change)
...
Closes #1024 .
BREAKING CHANGE: ion-list syntax has changed in favor of simplicity &
flexibility.
Relevant documentation:
[ionList](http://ionicframework.com/docs/api/directive/ionList ),
[ionItem](http://ionicframework.com/docs/api/directive/ionItem ),
[ionOptionButton](http://ionicframework.com/docs/api/directive/ionOptionButton ),
[ionReorderButton](http://ionicframework.com/docs/api/directive/ionReorderButton ),
[ionDeleteButton](http://ionicframework.com/docs/api/directive/ionDeleteButton ),
[$ionicListDelegate](http://ionicframework.com/docs/api/service/$ionicListDelegate ).
To migrate, change your code from this:
```html
<ion-list option-buttons="[{text:'hello',type:'button-positive',onTap:tap()}]"
on-delete="onDelete(el)"
delete-icon="ion-minus-circled"
can-delete="true"
show-delete="shouldShowDelete"
on-reorder="onReorder(el, startIndex, toIndex)"
reorder-icon="ion-navicon"
can-reorder="true"
show-reorder="shouldShowReorder">
<ion-item ng-repeat="item in items">
{{item}}
</ion-item>
</ion-list>
```
To this:
```html
<ion-list show-delete="shouldShowDelete"
show-reorder="shouldShowReorder">
<ion-item ng-repeat="item in items">
{{item}}
<ion-delete-button class="ion-minus-circled"
ng-click="onDelete(item)">
</ion-delete-button>
<ion-reorder-button class="ion-navicon"
ng-click="onReorder(item, $fromIndex, $toIndex)">
</ion-reorder-button>
<ion-option-button class="button-positive" ng-click="tap()">
Hello
</ion-option-button>
</ion-item>
</ion-list>
```
2014-04-04 10:12:16 -06:00
Andy Joslin
270d2bfea1
update ion-side-menu-content to be element everywhere
2014-03-26 07:50:54 -06:00
Andy Joslin
c276545180
ionSideMenu: add $ionicSideMenuDelegate with new features
2014-03-24 16:48:59 -06:00
Andy Joslin
c653e83cec
fix(ionList): only stop side menu drag if canSwipe
...
Closes #709
2014-03-21 07:08:26 -05:00
Adam Bradley
f744d9ebcf
feat(navclear): Ability to disable the next view transition and back button
2014-03-18 21:51:32 -05:00
Andy Joslin
cd5131c107
tests(): move has-* to classes for ion-content elements
2014-03-18 15:36:13 -06:00
Adam Bradley
85b69fd2c4
sideMenu menuNav directive to stop next view animation and close side-menu
2014-03-17 23:06:46 -05:00
Max Lynch
ea04e393c0
fix(sideMenuController): sticking issue #738
2014-03-09 17:44:00 -05:00
Adam Bradley
a0d60d5228
fix(sideMenu): Fix flashing when closing right side menu, closes #556
2014-03-01 00:58:46 -06:00
Andy Joslin
991d3cfda1
fix(ionSideMenu): use manual transclude instead of ngTransclude
...
Fixes #666
2014-02-24 06:53:28 -05: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
bfefc69f3c
feat(sideMenu): allow and watch attrs width & is-enabled
2014-02-17 13:03:17 -05:00
Andy Joslin
5d2f24cf59
chore(): make test files use ionic.bundle.js
2014-02-10 13:49:02 -05:00
Andy Joslin
7f9bfb5a94
feat(sideMenuContent): watch drag-content attribute
2014-02-07 17:00:14 -05:00
Adam Bradley
a8729fb17a
Remove angular-touch.js and angular-route.js references
2014-01-24 21:33:28 -06:00
Max Lynch
766f97d94b
Fixed #464 - side menu delegate
2014-01-23 12:55:40 -06:00
Adam Bradley
cfdefd452e
update w/ ui-router
2014-01-07 19:50:39 -06:00
Max Lynch
5685212f3f
Apply scope on side menu content changes
2013-12-13 15:52:31 -06:00
Max Lynch
52343d1b88
Added way to disable content dragging on side menu
2013-12-10 19:56:50 -06:00
Max Lynch
99e929b86d
Side menu drag fix
2013-12-03 10:56:50 -06:00
Max Lynch
4646f5d459
Fixed #201 #215 #210
2013-11-25 14:26:34 -06:00
Max Lynch
8fe6e189ba
Fixed #179 - overflow scroll not working
2013-11-24 23:50:19 -06:00
Max Lynch
41581e3495
Fixed #174
2013-11-22 08:42:20 -06:00
Max Lynch
32673a2f3d
Change for #148
2013-11-17 14:51:05 -06:00
Max Lynch
845af19d73
Fixed #148
2013-11-17 13:52:19 -06:00
Max Lynch
cfa2aa6401
Fixed #143 - side menu zindex bug
2013-11-15 21:08:53 -06:00
Max Lynch
42dd53850b
Side menu overflow hidden
2013-11-15 20:27:59 -06:00
Max Lynch
22d10a155e
LOTS OF SHIT WOW
2013-11-13 22:49:57 -06:00
Max Lynch
8e738713d5
Lots
2013-11-13 18:40:26 -06:00
Max Lynch
2174571580
Side menu update
2013-11-13 13:44:26 -06:00
Max Lynch
4a12f39821
Fixed side menu right/left issue, improved API
2013-11-11 13:47:10 -06:00
Max Lynch
9d64b61502
Fixed side example
2013-11-04 14:02:25 -06:00
Max Lynch
67ef5e3e2f
Side menu cleanups for #25
2013-11-04 14:00:59 -06:00
Max Lynch
bd8e0816a9
Lots of cleanup. Fixed #25 , progress on #68
2013-11-04 12:37:42 -06:00
Max Lynch
305f22d673
Side menu fix for #24
2013-10-15 11:58:34 -05:00
Max Lynch
9db02be5d1
Fixed side menu angular example
2013-10-03 20:26:49 -05:00
Max Lynch
9100bae246
Angular cleanup and content working
2013-10-01 17:34:14 -05:00