intentful
Version:
Create Custom Skills with less headache
20 lines (19 loc) • 568 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScrollToComponentCommand = void 0;
const command_1 = require("./command");
class ScrollToComponentCommand extends command_1.Command {
constructor(props) {
super('ScrollToComponent', props);
}
commandSpecificModel() {
return {
align: this.props.align,
componentId: this.props.componentId
};
}
commandSpecificRequestHandlers() {
return [];
}
}
exports.ScrollToComponentCommand = ScrollToComponentCommand;