Encore Helpers
Library to store small shared utils and services that can be used across different application
Install
$ npm install encore-helpers
Documentation
BEMClassGenerator
Generate CSS class name for Encore components
Methods
getBlock - return class name for a block
getBlockWithModifier - return class name for a block with modifier
getElement - return class name for an element inside block (can be only one nesting level)
getElementWithModifier - return class name for an element inside block with modifier