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