[xcomponent] add setXComponentSurfaceSize interface

Signed-off-by: zhangbingce <zhangbingce@huawei.com>
Change-Id: I6ac6e56c6b213f741b9fb4e8e977fd2f00338016
This commit is contained in:
zhangbingce
2022-05-06 15:30:05 +08:00
parent 4ff527ae1e
commit 5efd2c9fbf
+1 -1
View File
@@ -140,7 +140,7 @@ const ComponentsInfo: components<string>[] = [
'type': 'canvas'
},
{
'methods': ['getXComponentContext', 'createIntersectionObserver', 'addChild', 'getXComponentSurfaceId'],
'methods': ['getXComponentContext', 'createIntersectionObserver', 'addChild', 'getXComponentSurfaceId', 'setXComponentSurfaceSize'],
'type': 'xcomponent'
},
{ 'methods': ['show', 'close', 'getBoundingClientRect', 'getInspector', 'scrollBy', 'getScrollOffset', 'scrollTo', 'createIntersectionObserver', 'addChild'], 'type': 'dialog' },