[added] swipeState$ to Swipeable
Needs ReviewPublic

Authored by appsforartists on Wed, Sep 13, 9:48 PM.

Details

Summary

Gives the author the ability to know when an action has occurred.

When I wrote this, I was imagining using it to animate the sibling items after one has been dismissed, but since I haven't gotten there yet, I'm not sure if this will prove to be a useful way to model that behavior. navState$ has been useful for other interactions, so I think there's promise in the ___state$ abstraction.

Diff Detail

Repository
R13 material-motion/material-motion-js
Branch
swipe-away (branched from develop)
Lint
Lint OK
Unit
No Unit Test Coverage
appsforartists created this revision.Wed, Sep 13, 9:48 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptWed, Sep 13, 9:48 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O3: Material JavaScript platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
Restricted Application completed building Restricted Buildable.Wed, Sep 13, 9:52 PM
Restricted Application failed to build Restricted Buildable!
appsforartists edited the summary of this revision. (Show Details)Tue, Sep 19, 7:24 PM