website-popup:在弹出窗口(macOS)中打开网站

时间:2021-05-26 03:34:37
【文件属性】:
文件名称:website-popup:在弹出窗口(macOS)中打开网站
文件大小:126KB
文件格式:ZIP
更新时间:2021-05-26 03:34:37
JavaScript 网站弹出 在弹出窗口(macOS)中打开网站 安装 $ npm install --save website-popup 用法 const websitePopup = require ( 'website-popup' ) ; const url = 'https://sindresorhus.com' ; websitePopup ( url , { width : 600 , height : 400 } ) . then ( ( ) => { // closed } ) ; const close = websitePopup ( url ) ; setTimeout ( close , 2000 ) ; 原料药 websitePopup(URL,[选项]) 返回类似于Promise的方法以关闭弹出窗口。 网址 类型: string 打开的URL。 选项 宽度 类型: n
【文件预览】:
website-popup-main
----.gitignore(13B)
----package.json(720B)
----popup.wflow(891B)
----index.js(765B)
----test.js(422B)
----.github()
--------workflows()
----screenshot.png(128KB)
----license(1KB)
----readme.md(856B)
----.gitattributes(12B)
----.editorconfig(190B)

网友评论