UNPKG

material-motion

Version:

Makes it easy to add rich, interactive motion to your application.

34 lines (33 loc) 1.92 kB
/** @license * Copyright 2016 - present The Material Motion Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. */ import { Connect, IndefiniteObservable } from 'indefinite-observable'; import { ObservableWithMotionOperators } from '../types'; import { IndefiniteSubject } from './IndefiniteSubject'; import { MemorylessIndefiniteSubject } from './MemorylessIndefiniteSubject'; import { ReactiveProperty } from './ReactiveProperty'; export declare var MemorylessMotionSubject: new <T>() => ObservableWithMotionOperators<T> & MemorylessIndefiniteSubject<T>; export interface MemorylessMotionSubject<T> extends ObservableWithMotionOperators<T>, MemorylessIndefiniteSubject<T> { } export declare var MotionObservable: new <T>(connect: Connect<T>) => ObservableWithMotionOperators<T>; export interface MotionObservable<T> extends ObservableWithMotionOperators<T>, IndefiniteObservable<T> { } export declare var MotionProperty: new <T>() => ObservableWithMotionOperators<T> & ReactiveProperty<T>; export interface MotionProperty<T> extends ObservableWithMotionOperators<T>, ReactiveProperty<T> { } export declare var MotionSubject: new <T>() => ObservableWithMotionOperators<T> & IndefiniteSubject<T>; export interface MotionSubject<T> extends ObservableWithMotionOperators<T>, IndefiniteSubject<T> { } export declare function defineProxy(name: string, value: any): void;