mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-21 08:05:56 +08:00
35 lines
565 B
JavaScript
35 lines
565 B
JavaScript
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
var
|
|
_ = require('_'),
|
|
|
|
Enums = require('Common/Enums'),
|
|
Utils = require('Common/Utils'),
|
|
|
|
AbstractInput = require('Components/AbstractInput')
|
|
;
|
|
|
|
/**
|
|
* @constructor
|
|
*
|
|
* @param {Object} oParams
|
|
*
|
|
* @extends AbstractInput
|
|
*/
|
|
function TextAreaComponent(oParams) {
|
|
|
|
AbstractInput.call(this, oParams);
|
|
|
|
this.rows = oParams.rows || 5;
|
|
};
|
|
|
|
_.extend(TextAreaComponent.prototype, AbstractInput.prototype);
|
|
|
|
module.exports = AbstractInput.componentExportHelper(
|
|
TextAreaComponent, 'TextAreaComponent');
|
|
|
|
}());
|