使用范围:UI2
Contents
component Textarea ($UI/system/components/justep/textarea/textarea) extends BindComponent
Constructor Top
Textarea () | |||
Textarea ( options) |
Properties Top
boolean |
disabled
禁用 | ||
string |
placeHolder
提示信息,html5特性 | ||
string |
valueUpdateMode
数据更新模式,目前支持input/keyup/keypress,注意:此属性在组件创建后修改无效 |
Attributes Top
string |
bind-ref
数据感知的绑定表达式 | ||
string |
class
组件class | ||
boolean |
disabled
禁用 | ||
string |
placeHolder
提示信息,html5特性 | ||
string |
valueUpdateMode
数据更新模式,目前支持input/keyup/keypress,注意:此属性在组件创建后修改无效 | ||
string |
xid
组件标示 |
Methods Top
void | clear () | |
Object | get (String name) | |
void | set (json arg) | |
void | val () |
Events Top
void | onChange (ChangeEvent event) |
Constructor details
Top
public
Textarea
()
可以输入多行文字的输入框
##
文档链接:#http://docs.newdao.net/chang-wen-ben-and-chang-wen-ben-zu-he.html#
public
Textarea
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
Textarea
()
public
Textarea
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Properties Detail Top
public
boolean
disabled
禁用
public
string
placeHolder
提示信息,html5特性
public
string
valueUpdateMode
数据更新模式,目前支持input/keyup/keypress,注意:此属性在组件创建后修改无效
Attributes Detail Top
public
string
bind-ref
数据感知的绑定表达式
public
string
class
组件class
基础样式: form-control(必须)
public
boolean
disabled
禁用
public
string
placeHolder
提示信息,html5特性
public
string
valueUpdateMode
数据更新模式,目前支持input/keyup/keypress,注意:此属性在组件创建后修改无效
public
string
xid
组件标示
Methods Detail Top
public
void
clear
()
清空Textarea数据
public
Object
get
(String name)
获取属性值
public
void
set
(json arg)
设置属性值
public
void
val
()
给Textarea赋值或者取值
Events Detail Top
[回调型事件]数据修改触发事件