harmony 鸿蒙Web Subsystem Changelog
Web Subsystem Changelog
Compared with earlier versions, OpenHarmony 4.0.6.1 has the following API changes in its web subsystem:
cl.web.1 Parameters in createWebMessagePorts
Added an optional parameter to the WebMessagePort API to accommodate more data types.
Change Impact
None (The added parameter is optional, and the API is forward compatible.)
Key API/Component Changes
- Involved APIs:
createWebMessagePorts(): Array<WebMessagePort>;
- Before change:
createWebMessagePorts(): Array<WebMessagePort>;
- After change:
createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>;
Adaptation Guide
N/A
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦