As given the installation instructions in the project page, to download and extract to libraries folder from the github repo: Cocoen beforeAfter plugin,
for 3.x
there is no
dist/js/cocoen.min.js
ordist/css/cocoen.min.css
in the zip extract. And thus we can't point the right library in libraries.yml file.
for 2.x even after pointing to the
js/cocoen.min.js
andonce
library included, its throwing
Uncaught TypeError: once(...).cocoen is not a function
Modify the instructions to install and use the module properly.
Needs work
1.0
Documentation