当前位置: 首页 > 文档资料 > ThingJS 文档中心 >

Class: ActionComposer

优质
小牛编辑
134浏览
2023-12-01

THING~ ActionComposer

ActionComposer The action composer.


new ActionComposer(param)

constructor.

Parameters:
NameTypeDescription
paramObject

The initial parameters.

Methods


add(name, options, tag, priority)

Add action.

Parameters:
NameTypeDefaultDescription
nameString

The action name.

optionsObject

The action options.

tagString

The action tag name.

priorityNumber0

The action priority.


remove(name, tag)

Remove action.

Parameters:
NameTypeDescription
nameString

The action name.

tagString

The action tag name.