UNPKG

intentful

Version:

Create Custom Skills with less headache

18 lines (17 loc) 799 B
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; import { Calculable } from '../../types'; import { ScrollAlignment } from '../interfaces'; export interface ScrollToComponentCommandModel extends CommandModel { align?: Calculable<ScrollAlignment>; componentId?: string; } export interface ScrollToComponentCommandProps extends CommandProps { align?: Calculable<ScrollAlignment>; componentId?: string; } export declare class ScrollToComponentCommand extends Command<ScrollToComponentCommandModel, ScrollToComponentCommandProps> { constructor(props: ScrollToComponentCommandProps); commandSpecificModel(): ScrollToComponentCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }