API
Component

Alert ($UI/system/components/bootstrap/alert/alert)

使用范围:UI2

Contents

component Alert ($UI/system/components/bootstrap/alert/alert) extends ViewComponent

<b>使用场景</b>:页面需要提示信息时,只能提示无操作,例如提示数据已删除; <b>使用方法</b>:添加alert,写上提示的信息;

	
	

Constructor Top

  Alert ()
  Alert ( options)

Attributes Top

int autoHide

在给定时间后自动隐藏, 单位是毫秒

string xid

Methods Top

void hide ()
void show ()

Constructor details Top

public Alert ()

<b>使用场景</b>:页面需要提示信息时,只能提示无操作,例如提示数据已删除; <b>使用方法</b>:添加alert,写上提示的信息;

	
	

public Alert ( options)

构造函数

Inherited from ViewComponent

	
		参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
	 

Parameters

options

参数选项

Attributes Detail Top

public int autoHide

在给定时间后自动隐藏, 单位是毫秒

public string xid

Methods Detail Top

public void hide ()

隐藏提示

Return Value

void

public void show ()

显示提示

Return Value

void