webContents - contents.executeJavaScript(code[, userGesture])

概述

返回 Promise,resolve 后得到所执行代码的结果。

基本信息

属性
模块 webContents
类型 Method
鸿蒙支持 支持