Skip to content

Commit

Permalink
[added] MotionObserver interface
Browse files Browse the repository at this point in the history
Reviewers: O3 Material JavaScript platform reviewers, #material_motion, O2 Material Motion, featherless

Reviewed By: #material_motion, O2 Material Motion, featherless

Subscribers: featherless

Tags: #material_motion

Differential Revision: http://codereview.cc/D2182
  • Loading branch information
appsforartists committed Dec 8, 2016
1 parent 96932f1 commit 168bd0f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/streams/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
* under the License.
*/

export default function MotionProperty() {
import {
Channel,
Observer,
} from 'indefinite-observable';

export enum MotionState {
atRest,
active,
}

export interface MotionObserver<T> extends Observer<T> {
state:Channel<MotionState>;
}

0 comments on commit 168bd0f

Please sign in to comment.