removePointerEventRoot 移除指针事件根元素
removePointerEventRoot
类型: MethodDeclaration
定义位置: ui.ts
描述
移除指针事件根元素
参数 element
: 根元素
参数
参数名 | 类型 | 描述 | 默认值 |
---|---|---|---|
element | UIElement | - | - |
返回值
类型: void
源代码
位置: 第 283 行
public removePointerEventRoot(element: UIElement) {
if (element instanceof UIElement) {
this.pointerEventRoots.remove(element)
}
}
文档生成时间:2025/7/7 12:07:07