使用范围:UI2
Contents
component Alert ($UI/system/components/bootstrap/alert/alert) extends ViewComponent
Constructor Top
Alert () | |||
Alert ( options) |
Attributes Top
int |
autoHide
在给定时间后自动隐藏, 单位是毫秒 | ||
string | xid |
Methods Top
void | hide () | |
void | show () |
Constructor details
Top
public
Alert
()
使用场景:页面需要提示信息时,只能提示无操作,例如提示数据已删除;
使用方法:添加alert,写上提示的信息;
public
Alert
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
Alert
()
public
Alert
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Attributes Detail Top
public
int
autoHide
在给定时间后自动隐藏, 单位是毫秒
public
string
xid
Methods Detail Top
public
void
hide
()
隐藏提示
public
void
show
()
显示提示