Closed notwaldorf closed 8 years ago
@notwaldorf any chance for this to be a behavior? It will be handy for other elements like paper-toast
@valdrinkoshi this would have to be in addition to, not instead of, the current implementation. If it's a behaviour, then only things that have implemented the behaviour can be swiped, which is a bit lame. Alternatively, you can have all of the toasts that can appear on a given page live inside a swipeable container, which would make them swipeable. That's actually more what you're looking for, if I think about it more
@cdata paging for review!
This LGTM :+1: nice work!
I ported the old
PolymerLabs/swipeable-card
to a magical container that makes all its children swipeable. I tried to comment all the magical animation stuff that was really scary -- @frankiefu, would you mind double checking that I didn't tell any lies in_animate
?Features: