UNPKG

intentful

Version:

Create Custom Skills with less headache

18 lines (17 loc) 710 B
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; import { Calculable } from '../../types'; import { Dimension } from '../interfaces'; export interface ScrollCommandModel extends CommandModel { componentId?: string; distance?: Calculable<Dimension>; } export interface ScrollCommandProps extends CommandProps { componentId?: string; distance?: Calculable<Dimension>; } export declare class ScrollCommand extends Command<ScrollCommandModel, ScrollCommandProps> { constructor(props: ScrollCommandProps); commandSpecificModel(): ScrollCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }