Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

elm-canvas

2.1.1 • Public • Published

elm-canvas

Custom element to be used in conjunction with the joakin/elm-canvas library.

This package exposes a file elm-canvas.js that you will need to include before your elm application for it to work.

The file is ES2015 syntax and uses the customElements registry, so if you need to support older browsers ensure you transpile this file to ES5 and add the necessary polyfills (see this for example).

You can also use this file from some CDN directly if you need to use it in ellie or so like this:

Version compatibility:

elm-canvas (Elm) elm-canvas (npm)
1.x 1.x
2.x 2.x
3.x 2.x

install

npm i elm-canvas

Downloadsweekly downloads

18

version

2.1.1

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability