QNComponentController
Index
Core Methods
Core Methods
onSurfaceCreated
- onSurfaceCreated(surfaceId: string): void
-
Surface 首次创建时触发
Parameters-
surfaceId: string
surfaceId XComponent 创建的 surface ID
-
onSurfaceChanged
- onSurfaceChanged(surfaceId: string, rect: SurfaceRect): void
-
Surface 的矩形信息改变后触发
Parameters-
surfaceId: string
surfaceId XComponent 创建的 surface ID
-
rect: SurfaceRect
矩阵信息
-
onSurfaceDestroyed
- onSurfaceDestroyed(surfaceId: string): void
-
Surface 将要销毁时触发
Parameters-
surfaceId: string
surfaceId XComponent 创建的 surface ID
-
文档反馈
(如有产品使用问题,请 提交工单)