UNPKG

intentful

Version:

Create Custom Skills with less headache

26 lines (25 loc) 1.08 kB
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; import { Calculable } from '../../types'; import { AnimateValueModel, Easing, RepeatMode } from '../interfaces'; export interface AnimateItemCommandModel extends CommandModel { componentId?: string; duration: Calculable<number>; easing?: Calculable<Easing>; repeatCount?: Calculable<number>; repeatMode?: Calculable<RepeatMode>; value: Calculable<AnimateValueModel[]>; } export interface AnimateItemCommandProps extends CommandProps { componentId?: string; duration: Calculable<number>; easing?: Calculable<Easing>; repeatCount?: Calculable<number>; repeatMode?: Calculable<RepeatMode>; value: Calculable<AnimateValueModel[]>; } export declare class AnimateItemCommand extends Command<AnimateItemCommandModel, AnimateItemCommandProps> { constructor(props: AnimateItemCommandProps); commandSpecificModel(): AnimateItemCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }