kickoff-code-toggle
A very basic way to toggle code examples. Used on the trykickoff.com site
All classnames are configurable in the options when kickoff-code-toggle is initialised.
Installation
npm install --save kickoff-code-toggle
Usage:
Javascript
var toggleCode = ; ;
HTML markup
Demo 1 This is a piece of demo code This is a piece of demo code
CSS
Build the code
Build relies on Browserify
npm run build
Test the code
npm test
Then open your browser at http://localhost:8000
Made by Z&er ⚡️