Skip to content

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

License

Notifications You must be signed in to change notification settings

oddcamp/cocoon-vanilla-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: