snappymail/dev/Component/TextArea.js

14 lines
269 B
JavaScript
Raw Normal View History

2019-07-05 03:19:24 +08:00
import { AbstractInput } from 'Component/AbstractInput';
2015-11-15 08:23:16 +08:00
export class TextAreaComponent extends AbstractInput {
2015-11-15 08:23:16 +08:00
/**
* @param {Object} params
*/
constructor(params) {
super(params);
this.rows = params.rows || 5;
2020-11-03 23:11:04 +08:00
this.spellcheck = !!params.spellcheck;
2015-11-15 08:23:16 +08:00
}
}