yii2-adminlte-asset
yii2-adminlte-asset copied to clipboard
add set layout option feature
According to official AdminLTE layout documentation:
- Add feature to set layout option as
layout
property atAdminLteAsset.php
- Add feature to load extra assets (js, css, depends) according to specific layout
- Add feature to get html class by call static method
\dmstr\helpers\AdminLteHelper::layoutHtmlClass()
- Add documentation to README.MD
TODO:
- [ ] feature to set more than one layout options
- [ ] some tests maybe (i`m bad with this)
Related issues:
- https://github.com/dmstr/yii2-adminlte-asset/issues/180
Looks good, is this BC-compatible by default?
@schmunk42 by default layout
option equals false
so according to this expression this changes is BC compatible. Because, only method run()
rewrited, other variables, methods, functions added.