Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 615 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 615 Bytes

cocoon-vanilla-js

A vanilla JS replacement for (Rails) Cocoon's jQuery script

Usage

Run:

yarn add @oddcamp/cocoon-vanilla-js

Import as ES6 module:

import "@oddcamp/cocoon-vanilla-js";

Notes

To broaden browser support, include the following polyfills in your project: