OneBang
OneBang (aka 1!) turns html attributes starting with ! into an easy way to write code shorthand.
Installation
OneBang is available on NPM for browser and webpack consumption. (Recommended)
$ npm i --save onebang
Download the Latest Version ↓OneBang is also available from Github.
CDNs are also available. (Not Recommended)
<!-- Latest Version --><!-- Specific Version (e.g. 1.0.2) -->
Read the docs here and check out the tests here.
Example
Before
Test Scroll
After
Test Scroll
Usage
<!--Automatically adds window.onebang-->
var settings = {};; //This starts processing.
Processing happens automatically when the document's body is updated for most browsers.
DOCUMENTATION
Read the documentation to set up and get to know OneBang.