import './style.scss'; export default new Class({ Extends: Hedera.Form, Template: require('./ui.xml') ,activate: function() { if (!this.hash.$.to) this.hash.assign({ from: new Date(), to: new Date() }); } });