react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
15 lines • 692 B
TypeScript
import type { ReanimatedHTMLElement } from '../../../ReanimatedModule/js-reanimated';
import type { ExistingCSSAnimationProperties, ICSSAnimationsManager } from '../../types';
export default class CSSAnimationsManager implements ICSSAnimationsManager {
private readonly element;
private attachedAnimations;
private unmountCleanupCalled;
constructor(element: ReanimatedHTMLElement);
update(animationProperties: ExistingCSSAnimationProperties | null): void;
unmountCleanup(): void;
private detach;
private updateAttachedAnimations;
private setElementAnimations;
private removeAnimationsFromStyleSheet;
}
//# sourceMappingURL=CSSAnimationsManager.d.ts.map