Detalhes do pacote

elm-pep

ahocevar13.4kMPL-2.01.0.6
pointer, event, pointerevent, polyfill

readme (leia-me)

elm-pep

npm package for elm-pep, a minimalist pointer events polyfill.

Usage

Install with

npm install elm-pep

Include in your code with

import 'elm-pep';

or configure your bundler to use elm-pep as first entry. For webpack, that would be something like

  entry: ['elm-pep', './src/index.js']

in webpack.config.js.