react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
16 lines • 759 B
TypeScript
import type { ReanimatedHTMLElement } from '../../../ReanimatedModule/js-reanimated';
import type { CSSTransitionCallbacks, CSSTransitionProperties, ICSSTransitionsManager } from '../../types';
export default class CSSTransitionsManager implements ICSSTransitionsManager {
private readonly element;
private isAttached;
private callbacks;
private readonly attachedStateListeners;
constructor(element: ReanimatedHTMLElement);
update(transitionProperties: CSSTransitionProperties | null, callbacks?: CSSTransitionCallbacks | null): void;
unmountCleanup(): void;
private detach;
private syncStateListeners;
private createStateListener;
private setElementTransition;
}
//# sourceMappingURL=CSSTransitionsManager.d.ts.map