Port pointerEvents module to plugin

This commit is contained in:
Adam Wathan 2019-01-09 13:37:28 -05:00
parent 61251212db
commit c5abdc9503
4 changed files with 10 additions and 10 deletions

View 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'))
}
}