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