UNPKG

intentful

Version:

Create Custom Skills with less headache

21 lines (20 loc) 585 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ScrollToIndexCommand = void 0; const command_1 = require("./command"); class ScrollToIndexCommand extends command_1.Command { constructor(props) { super('ScrollToIndex', props); } commandSpecificModel() { return { align: this.props.align, componentId: this.props.componentId, index: this.props.index }; } commandSpecificRequestHandlers() { return []; } } exports.ScrollToIndexCommand = ScrollToIndexCommand;