kak / fieldset
FieldSet for Yii2
Installs: 3 252
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-10-22 04:51:53 UTC
README
Bootstrap Fieldset widgets for Yii2
Preview
Installation ------------ The preferred way to install this extension is through [composer](http://getcomposer.org/download/).Either run
php composer.phar require --prefer-dist kak/fieldset "dev-master"
or add
"kak/fieldset": "dev-master"
to the require section of your composer.json
file.
Usage
<?php kak\widgets\fieldset\FieldSet::begin([ 'legend' => Yii::t('app-dash','user info'), // 'active' => true // false - hide content, default true // 'speed' => 500, // animation speed default value 300 // 'dataUp' => "<i class='glyphicon glyphicon-collapse-up'></i> ", // template content icon // 'dataDown' => "<i class='glyphicon glyphicon-collapse-down'></i> ", // template content icon ]);?> ... content ... <?php kak\widgets\fieldset\FieldSet::end(); ?>