Skip to content

RexGalicie/Yii2-bootstrap-panel-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Bootstrap Panel

Yii2 Bootstrap Panel

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist amass/yii2-bootstrap-panel-widget "dev-master"

or add

"amass/yii2-bootstrap-panel-widget": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \amass\panel\Panel::widget([
         'title' => true, // show header or false not showing
         'headerTitle' => 'title', // Title text can use tag
         'content' => '' // some content in body
         'footer' => false, // show footer or false not showing
         'footerTitle' => 'text', // Title for footer
         'type' => true, // get style for panel \amass\panel::TYPE_DEFAULT  default
]); ?>

Or can use begin end widget


<?= \amass\panel\Panel::begin([
         'title' => true, // show header or false not showing
         'headerTitle' => 'title', // Title text can use tag
         'content' => '' // some content in body
         'footer' => false, // show footer or false not showing
         'footerTitle' => 'text', // Title for footer
         'type' => true, // get style for panel \amass\panel::TYPE_DEFAULT  default
]); ?>

...
...
...


<?= \amass\panel\Panel::end(); ?>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages