@kollegorna/cocoon-vanilla-js
v1.0.7
Published
A vanilla JS replacement for (Rails) Cocoon's jQuery script
Downloads
2,136
Readme
cocoon-vanilla-js
A vanilla JS replacement for (Rails) Cocoon's jQuery script
Usage
Run:
yarn add @kollegorna/cocoon-vanilla-js
Import as ES6 module:
import "@kollegorna/cocoon-vanilla-js";
Notes
To broaden browser support, include the following polyfills in your project: