A vanilla JS replacement for (Rails) Cocoon's jQuery script
Run:
yarn add @Belibaste/cocoon-vanilla-js
Import as ES6 module:
import "cocoon-vanilla-js";
To broaden browser support, include the following polyfills in your project:
A vanilla JS replacement for (Rails) Cocoon's jQuery script
A vanilla JS replacement for (Rails) Cocoon's jQuery script
Run:
yarn add @Belibaste/cocoon-vanilla-js
Import as ES6 module:
import "cocoon-vanilla-js";
To broaden browser support, include the following polyfills in your project:
A vanilla JS replacement for (Rails) Cocoon's jQuery script
MIT License