webContents - contents.downloadURL(url[, options])

概述

在不导航的情况下发起对指定 URL 资源的下载,会触发 session 的 will-download 事件。

基本信息

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