![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/html/libs/absol-form/js/components/ |
Upload File : |
import FCore from "../core/FCore"; import TextInput from "./TextInput"; import inheritComponentClass from "../core/inheritComponentClass"; import {AssemblerInstance} from "../core/Assembler"; var _ = FCore._; /*** * @extends TextInput * @constructor */ function TextArea() { TextInput.call(this); } inheritComponentClass(TextArea, TextInput); TextArea.prototype.tag = "TextArea"; TextArea.prototype.menuIcon = "span.mdi.mdi-form-textarea"; TextArea.prototype.render = function () { return _('textarea.absol-bscroller'); }; TextArea.prototype.attributeHandlers.value = Object.assign({}, TextArea.prototype.attributeHandlers.value); TextArea.prototype.attributeHandlers.placeHolder = Object.assign({}, TextArea.prototype.attributeHandlers.placeHolder); TextArea.prototype.attributeHandlers.value.descriptor = { type: "text", long: true, sign: "SimpleTextLong" }; TextArea.prototype.attributeHandlers.placeHolder.descriptor = { type: "text", long: true, sign: "SimpleTextLong" }; delete TextArea.prototype.attributeHandlers.textType; AssemblerInstance.addClass(TextArea); export default TextArea;