yii2-adminlte-asset icon indicating copy to clipboard operation
yii2-adminlte-asset copied to clipboard

add set layout option feature

Open igorveremsky opened this issue 6 years ago • 2 comments

According to official AdminLTE layout documentation:

  • Add feature to set layout option as layout property at AdminLteAsset.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

igorveremsky avatar Oct 30 '18 23:10 igorveremsky

Looks good, is this BC-compatible by default?

schmunk42 avatar Oct 31 '18 07:10 schmunk42

@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.

igorveremsky avatar Nov 01 '18 10:11 igorveremsky