support getXComponentSurfaceId of xcomponent in js

Signed-off-by: zhangbingce <zhangbingce@huawei.com>
Change-Id: I2d15e5a3f41f700fe3f9ecd6e8f73fc1a7978042
This commit is contained in:
zhangbingce
2022-01-11 19:37:48 +08:00
parent 23ee271580
commit cec1ba1034
+1 -1
View File
@@ -137,7 +137,7 @@ const ComponentsInfo: components<string>[] = [
'type': 'canvas'
},
{
'methods': ['getXComponentContext', 'createIntersectionObserver', 'addChild'],
'methods': ['getXComponentContext', 'createIntersectionObserver', 'addChild', 'getXComponentSurfaceId'],
'type': 'xcomponent'
},
{'methods': ['show', 'close', 'getBoundingClientRect', 'scrollBy', 'getScrollOffset', 'scrollTo', 'createIntersectionObserver', 'addChild'], 'type': 'dialog'},