UNPKG

intentful

Version:

Create Custom Skills with less headache

20 lines (19 loc) 833 B
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; import { Calculable } from '../../types'; import { ScrollAlignment } from '../interfaces'; export interface ScrollToIndexCommandModel extends CommandModel { align?: Calculable<ScrollAlignment>; componentId?: string; index: Calculable<number>; } export interface ScrollToIndexCommandProps extends CommandProps { align?: Calculable<ScrollAlignment>; componentId?: string; index: Calculable<number>; } export declare class ScrollToIndexCommand extends Command<ScrollToIndexCommandModel, ScrollToIndexCommandProps> { constructor(props: ScrollToIndexCommandProps); commandSpecificModel(): ScrollToIndexCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }