Skip to content

选择元素

关键方法

select ( target:UI | UI[] )

选中元素。

cancel ( )

取消选中元素。

hasItem ( item: UI ): boolean

是否已选中某个元素。

addItem ( item: UI )

新增一个元素到选中列表。

removeItem ( item:UI )

从选中列表中移出元素。

归属

Editor 元素

Released under the MIT License.