posthtml-prefix-ngclass
PostHTML plugin to prefix ng-class names.
Installation
npm install --save-dev posthtml-prefix-ngclass
Usage
const posthtml = ;const posthtmlPrefixNgClass = ; ;
Options
prefix
Type: String
Default: ''
The string used to prefix ng-class names.
ignore
Type: Array|String
Default: []
A class name, or an array of class names, to be excluded from prefixing.
const posthtml = ;const posthtmlPrefixNgClass = ; ;
Testing
npm test
To-Do
Add support for condition/function in square brackets