feat(item): two-way sliding of items#6686
Conversation
|
Documentation is pending |
|
How do I merge this pull request into my own branch? I'm very new to Git. Based on the doc from: https://help.github.com/articles/checking-out-pull-requests-locally/ There should be a "Merge pull request" button at the bottom of this pull request, but I don't see it. |
|
@thomastthai try this: I use the |
|
Nice work! Would be great to see this get merged, closes one more small gap to the native experience. |
src/components/item/item-sliding.ts
Outdated
| * @see {@link ../Item Item API Docs} | ||
| * @see {@link ../../list/List List API Docs} | ||
| */ | ||
| // host: { |
There was a problem hiding this comment.
Remove any commented code
04ea18e to
9e22754
Compare
src/components/item/item-sliding.ts
Outdated
| @@ -1,8 +1,42 @@ | |||
| import {Component, ElementRef, Optional, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; | |||
| import {Component, Directive, Input, Renderer, ContentChildren, ContentChild, ElementRef, Optional, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; | |||
| import {NgClass} from '@angular/common'; | |||
There was a problem hiding this comment.
I don't think NgClass is needed here
d42e555 to
c2b0947
Compare
c2b0947 to
89d7d85
Compare
4ed20f5 to
dd30859
Compare
|
@adamdbradley @brandyscarney this is ready to be merged! |
38b75ce to
a4ba0e9
Compare
|
This is very cool. It definitely goes towards resolving my feature request: #6242 |
a4ba0e9 to
866ecff
Compare
866ecff to
c28aa53
Compare

Short description of what this resolves:
Implements: feature(ion-item-sliding): Allow item also to swipe from left to right #5073
it should be 100% back compatible.
Changes proposed in this pull request:
sideattribute toion-item-optionsThis may cause new issues. I haven't tested the code for side effects, so please don't merge just yet.
Feel free to pull it locally and try it.
Example code:
Ionic Version: 2.x
Fixes: #5073