Bugfix and cleanup rollup based javascript even more

This commit is contained in:
djmaze 2021-01-27 10:59:15 +01:00
parent 7ccc44616d
commit 3983932bc0
17 changed files with 84 additions and 169 deletions

View file

@ -1,18 +1,13 @@
import { componentExportHelper } from 'Component/Abstract';
import { AbstractInput } from 'Component/AbstractInput';
const DEFAULT_ROWS = 5;
class TextAreaComponent extends AbstractInput {
export class TextAreaComponent extends AbstractInput {
/**
* @param {Object} params
*/
constructor(params) {
super(params);
this.rows = params.rows || DEFAULT_ROWS;
this.rows = params.rows || 5;
this.spellcheck = !!params.spellcheck;
}
}
export default componentExportHelper(TextAreaComponent, 'TextAreaComponent');