x-notification:声明式浏览器通知作为Web组件

时间:2021-02-06 05:42:53
【文件属性】:
文件名称:x-notification:声明式浏览器通知作为Web组件
文件大小:65KB
文件格式:ZIP
更新时间:2021-02-06 05:42:53
web-components notification WebComponentsHTML X通知 声明式浏览器通知作为Web组件。 安装 使用 : $ npm install x-notification 用法 导入XNotification并注册。 < script type =" module " > import XNotification from 'https://unpkg.com/x-notification' ; customElements . define ( 'x-notification' , XNotification ) ; </ script > 放入标记。 < x-notification autoshow
【文件预览】:
x-notification-master
----.travis.yml(64B)
----package.json(929B)
----readme.md(2KB)
----license(1KB)
----index.html(4KB)
----package-lock.json(225KB)
----src()
--------index.ts(3KB)
----.npmignore(13B)
----tsconfig.json(328B)
----.gitignore(26B)
----.editorconfig(214B)

网友评论