Port pointerEvents module to plugin
This commit is contained in:
parent
61251212db
commit
c5abdc9503
4 changed files with 10 additions and 10 deletions
8
src/plugins/pointerEvents.js
Normal file
8
src/plugins/pointerEvents.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
export default function () {
|
||||
return function ({ addUtilities, config }) {
|
||||
addUtilities({
|
||||
'.pointer-events-none': { 'pointer-events': 'none' },
|
||||
'.pointer-events-auto': { 'pointer-events': 'auto' },
|
||||
}, config('modules.pointerEvents'))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue