gatsby-plugin-pointer-events:一个Gatsby插件,用于添加Pointer Events Polyfill(PEP)

时间:2021-04-29 04:48:34
【文件属性】:
文件名称:gatsby-plugin-pointer-events:一个Gatsby插件,用于添加Pointer Events Polyfill(PEP)
文件大小:3KB
文件格式:ZIP
更新时间:2021-04-29 04:48:34
polyfill gatsby gatsbyjs pointer-events polyfill-loader gatsby-plugin-pointer-events 一个Gatsby插件,用于添加 安装 纱 yarn add gatsby-plugin-pointer-events NPM npm install gatsby-plugin-pointer-events 如何使用 将插件添加到您的gatsby-config.js 。 // gatsby-config.js module . exports = { plugins : [ 'gatsby-plugin-pointer-events' ] } ; 为什么 是一种现代的本地浏览器API,它使网站能够响应鼠标和触摸事件,而无需实现两个单独的API。 尽管现代浏览器了指针事件,但是一些浏览器并未实现指针事件。 为了使用指针事件并仍支持那些浏览器,此功能需要与。 有条件的灌装 gatsby-plugin-pointer-ev
【文件预览】:
gatsby-plugin-pointer-events-master
----package.json(525B)
----gatsby-browser.js(154B)
----.gitignore(23B)
----README.md(2KB)
----yarn.lock(225B)

网友评论