Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 1.71 KB

File metadata and controls

76 lines (50 loc) · 1.71 KB

BaseTag

{BaseTag} tag基类

Kind: global class

new BaseTag(type, text)

构造方法

Param Type Description
type string 类型
text string text

baseTag.setType(type)

设置类型

Kind: instance method of BaseTag

Param Type Description
type string 类型

baseTag.setText(text)

设置文本

Kind: instance method of BaseTag

Param Type Description
text string 文本

baseTag.setColor(color)

设置color

Kind: instance method of BaseTag

Param Type Description
color string 颜色

baseTag.setBackgroundColor(backgroundColor)

设置backgroundColor

Kind: instance method of BaseTag

Param Type Description
backgroundColor string 背景颜色

baseTag.getData() ⇒ Object

返回数据

Kind: instance method of BaseTag