harmony 鸿蒙Class (FileSelectorResult)
Class (FileSelectorResult)
通知Web组件的文件选择结果。示例代码参考onShowFileSelector事件。
说明:
本模块接口从API version 9开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。
示例效果请以真机运行为准,当前IDE预览器不支持。
constructor9+
constructor()
FileSelectorResult的构造函数。
系统能力: SystemCapability.Web.Webview.Core
handleFileList9+
handleFileList(fileList: Array<string>): void
通知Web组件进行文件选择操作。
系统能力: SystemCapability.Web.Webview.Core
参数:
参数名 | 类型 | 必填 | 说明 |
---|---|---|---|
fileList | Array<string> | 是 | 需要进行操作的文件列表。 |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ArkWeb_ControllerAPI
harmony 鸿蒙ArkWeb_CookieManagerAPI
harmony 鸿蒙ArkWeb_JavaScriptBridgeData
harmony 鸿蒙ArkWeb_JavaScriptObject
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦