Commit Graph

70 Commits

Author SHA1 Message Date
Zachariah Moreno
e5c148801d Matching option-button names in examples 2014-03-25 22:23:02 -07:00
Zachariah Moreno
4bb6021c21 Updated to option-buttons attribute
left-buttons attribute doesn't work...even on http://codepen.io/ionic/pen/JsHjf
2014-03-25 21:35:39 -07:00
Zachariah Moreno
230bbfed41 minor spelling fix 2014-03-25 20:53:02 -07:00
Adam Bradley
f1ed4b0084 fix(reorder): Prevent scroll w/ data-prevent-scroll attr on reorder btn, closes #848 2014-03-24 15:51:10 -05: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
fe44a7d98b rename .item-drag to .item-reorder, further standardize item editing 2014-03-20 16:02:50 -05:00
Adam Bradley
0027bf7612 Merge branch 'master' of https://github.com/driftyco/ionic
Conflicts:
	js/ext/angular/test/list.html
2014-03-20 14:21:54 -05:00
Adam Bradley
07c824db8d fix(item): Restructure item editing css for added reusability and organization 2014-03-20 14:18:12 -05:00
Max Lynch
7510777156 fix(listView): send index on delete. Fixes #849 2014-03-20 09:48:15 -05:00
Max Lynch
73b750fb37 fix(listView): only allow one swipeable item open. Fixes #763 2014-03-19 17:44:37 -05:00
Andy Joslin
8619d5e8ec docs(): add groups by topic 2014-03-14 15:14:16 -06:00
Andy Joslin
f9766fcf16 docs(): Add docs for ionicViewState, polish other docs 2014-03-10 21:16:09 -06:00
Andy Joslin
9334c7b9ae docs(ionList): cleanup 2014-03-10 21:16:08 -06:00
Andy Joslin
d7c6470d38 style(ionicList): add semicolon 2014-03-10 12:02:38 -06:00
Andy Joslin
df1164e9cd docs(ionList, ionItem): write docs 2014-03-10 12:00:24 -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
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
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
Max Lynch
c949532cfd Fixed #424 - missing onReorder 2014-01-16 11:19:11 -07:00
Max Lynch
c5c68c2bf1 Removed ng-class on list item to not clash with user's use of ng-class 2014-01-12 20:24:44 -06:00
Max Lynch
437317c07c Merge branch 'pr/351'
Conflicts:
	dist/css/ionic.css
	dist/js/ionic-angular.js
	dist/js/ionic.js
2014-01-07 19:17:42 -06:00
Mathieu
ec9c04befa Cleaner using bind 2014-01-03 14:52:50 +08:00
Mathieu
afa389d9ce Make item type dynamic (similar to ng-class) 2014-01-03 14:48:14 +08:00
Jamie Sutherland
9f86324dd7 Fixes circular dependancy error when uglified 2013-12-17 17:02:12 +00:00
Adam Bradley
b9b842eaf9 option buttons use onTap instead of onClick 2013-12-16 10:38:56 -06:00
Adam Bradley
386dd2e0ea remove refresh code from list 2013-12-13 10:25:40 -06:00
Adam Bradley
48a58d9278 removed link-item and onSelect 2013-12-13 09:52:10 -06:00
Max Lynch
ecbafa4bb6 Fixed reordering for #319 2013-12-12 20:24:59 -06:00
Adam Bradley
d9eb0440e6 list updates 2013-12-12 20:24:59 -06:00
Max Lynch
0046ea2b78 Fixed on-select for list items 2013-12-09 17:17:16 -06:00
Adam Bradley
e219572cad remove child .icon for list .button
Instead of using a child `<i class=“icon”>` inside `<button>`, the
buttons are instead using its `:before` to display the icons.
2013-11-29 23:05:10 -06:00
Ulrich Sossou
b5aefa8291 ionicList directives cleanup 2013-11-23 13:36:50 +01:00
Max Lynch
25ad241910 More list view tests 2013-11-22 10:50:40 -06:00
Max Lynch
0d5bd759a1 Fixed #172 - list item reorder persistence 2013-11-22 10:39:36 -06:00
Max Lynch
844dd8c85d Added link-item for linked list items 2013-11-18 15:27:05 -06:00
Max Lynch
e20782d0c8 Schtuff 2013-11-14 00:19:42 -06:00
Max Lynch
22d10a155e LOTS OF SHIT WOW 2013-11-13 22:49:57 -06:00
Max Lynch
3400cc0276 Default style for list items 2013-11-13 15:01:09 -06:00
Max Lynch
59b0e64309 Fixed #130 - blurry PTR icon 2013-11-12 19:52:47 -06:00
Max Lynch
d8163fdd06 Pull to refresh default style
Needs optimizing though
2013-11-11 20:06:58 -06:00
Max Lynch
fa315677c6 Working on custom refresher 2013-11-11 17:37:32 -06:00
Max Lynch
53862a434c My bad 2013-11-11 16:54:36 -06:00
Max Lynch
262a4cc9a8 Fixed #113 - scroll bouncing regardless of window size, fixes pull to refresh 2013-11-11 16:54:01 -06:00
Max Lynch
2ffb925a97 Add list item type to directive 2013-11-11 16:09:46 -06:00
Max Lynch
b94a2e7c10 Fixed #102 2013-11-08 17:25:54 -06:00
Max Lynch
2798630b39 Scroll stuff 2013-11-06 13:01:06 -06:00
Max Lynch
cc61fb5ff3 Fixed list item edit icon and options exposed issue for #76
Still needs work on the border issue @adamdbradley
2013-11-06 10:01:27 -06:00
Max Lynch
11e0e478d1 List item updates 2013-11-04 21:24:28 -06:00
Max Lynch
ab896be994 Early virtual directive stuff
Don't use any of this yet.
2013-10-30 12:32:25 -05:00
Max Lynch
979fe8fb7b Fixed infinity problem in scroll view
I guess you can't divide by zero still.
2013-10-30 11:14:24 -05:00