API
Component

TitleBar ($UI/system/components/justep/titleBar/titleBar)

使用范围:UI2

Contents

component TitleBar ($UI/system/components/justep/titleBar/titleBar) extends ViewComponent

<b>可在中间区域编辑标题,在左边、右边增加操作按钮(如返回、保存</b> ## <b>文档链接</b>:#http://docs.newdao.net/app/biao-ti-lan.html#

	
	

Constructor Top

  TitleBar ()
  TitleBar ( options)

Properties Top

string title

标题

Attributes Top

string title

标题

string xid

Methods Top

get (String name)
void set (json arg)

Constructor details Top

public TitleBar ()

<b>可在中间区域编辑标题,在左边、右边增加操作按钮(如返回、保存</b> ## <b>文档链接</b>:#http://docs.newdao.net/app/biao-ti-lan.html#

	
	

public TitleBar ( options)

构造函数

Inherited from ViewComponent

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

Parameters

options

参数选项

Properties Detail Top

public string title

标题

Attributes Detail Top

public string title

标题

public string xid

Methods Detail Top

public get (String name)

获取TitleBar的属性

Parameters

String name

属性名称,如:"title"

Return Value

返回属性值

public void set (json arg)

设置TitleBar的属性

Parameters

json arg

属性值对
结构如下:

{ "title" : {string} 显示标题 }

Return Value

void