kak/fieldset

FieldSet for Yii2

Installs: 3 298

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

dev-master 2017-05-16 10:42 UTC

This package is auto-updated.

Last update: 2024-12-22 05:13:48 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(); ?>