UNPKG

intentful

Version:

Create Custom Skills with less headache

29 lines (28 loc) 1.41 kB
import { LabeledRequestHandler } from '../../../skill/models'; import { Calculable } from '../../../types'; import { Command, CommandModel, CommandProps } from '../../commands'; import { APLActionableComponentModel, APLActionableComponentProps, APLMultiChildComponentModel, APLMultiChildComponentProps, PagerDirection, Snap } from '../../interfaces'; import { APLBaseComponentModel, APLBaseComponentProps, APLComponent } from '../component'; export interface APLSequenceModel extends APLBaseComponentModel, APLActionableComponentModel, APLMultiChildComponentModel { /** * The direction to scroll this Sequence. */ scrollDirection?: Calculable<PagerDirection>; numbered?: Calculable<boolean>; onScroll?: Command<CommandModel, CommandProps>[]; snap?: Calculable<Snap>; } export interface APLSequenceProps extends APLBaseComponentProps, APLActionableComponentProps, APLMultiChildComponentProps { /** * The direction to scroll this Sequence. */ scrollDirection?: Calculable<PagerDirection>; numbered?: Calculable<boolean>; onScroll?: Command<CommandModel, CommandProps>[]; snap?: Calculable<Snap>; } export declare class APLSequence extends APLComponent<APLSequenceModel, APLSequenceProps> { constructor(props: APLSequenceProps); componentSpecificModel(): APLSequenceModel; componentSpecificRequestHandlers(): LabeledRequestHandler[]; }