UNPKG

@proyecto26/animatable-component

Version:
31 lines (30 loc) • 928 B
import { EventEmitter, ComponentInterface } from "../stencil-public-runtime"; import { AnimationsType } from "../animations"; export interface IAnimatable { animation?: AnimationsType; keyFrames?: Keyframe[]; keyFramesData?: string; options?: KeyframeAnimationOptions; optionsData?: string; animateId?: string; delay?: number; endDelay?: number; duration?: number; direction?: PlaybackDirection; composite?: CompositeOperation; easing?: string; fill?: FillMode; iterations?: number; iterationStart?: number; iterationComposite?: IterationCompositeOperation; autoPlay?: boolean; fromClassName?: string; toClassName?: string; currentTime?: number; startTime?: number; playbackRate?: number; onStart: EventEmitter<HTMLElement>; onFinish: EventEmitter<HTMLElement>; onCancel: EventEmitter<HTMLElement>; } export declare type IAnimatableComponent = IAnimatable & ComponentInterface;