API
Component

Communication ($UI/comp/communication/components/communication/communication)

使用范围:UI2

Contents

component Communication ($UI/comp/communication/components/communication/communication) extends BindComponent

Constructor Top

  Communication ()
  Communication ( options)

Methods Top

void choseWebsokcet ()
void createMsgLink ()
void createPrivateChat ()
void msgPage ()

Operations Top

choseWebsokcet ()
createMsgLink ()
createPrivateChat ()
msgPage ()

Constructor details Top

public Communication ()

public Communication ( options)

构造函数

Inherited from ViewComponent

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

Parameters

options

参数选项

Methods Detail Top

public void choseWebsokcet ()

打开消息详情页

Return Value

void

创建消息链接

Return Value

void

public void createPrivateChat ()

创建私聊

Return Value

void

public void msgPage ()

打开消息详情页

Return Value

void

Operations Detail Top

public choseWebsokcet ()

断开链接

创建消息链接

public createPrivateChat ()

创建私聊

public msgPage ()

打开消息详情页