yii2-dropdown-x

An extended bootstrap dropdown widget for Yii 2 with submenu drilldown.

  • Owner: kartik-v/yii2-dropdown-x
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Latest Stable Version
License
Total Downloads
Monthly Downloads
Daily Downloads

An extended bootstrap dropdown widget for Yii Framework 2 with submenu drilldown. This widget extends the \yii\bootstrap\Dropdown widget
with some additional controls and adds CSS and JS for enabling a submenu drilldown. The dropdown menu style is optimized for both desktop
and mobile devices. The drilldown is triggered on active instead of hover so that it works equally well on mobile devices.

Demo

You can see detailed documentation on usage of the extension.

Installation

The preferred way to install this extension is through composer.

NOTE: Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability settings for your application's composer.json.

Either run

$ php composer.phar require kartik-v/yii2-dropdown-x "dev-master"

or add

"kartik-v/yii2-dropdown-x": "dev-master"

to the require section of your composer.json file.

Usage

use kartik\dropdown\DropdownX;
echo DropdownX::widget([
    'items' => [
        ['label' => 'Action', 'url' => '#'],
        ['label' => 'Submenu', 'items' => [
            ['label' => 'Action', 'url' => '#'],
            ['label' => 'Another action', 'url' => '#'],
            ['label' => 'Something else here', 'url' => '#'],
        ]],
        ['label' => 'Something else here', 'url' => '#'],
        '<li class="divider"></li>',
        ['label' => 'Separated link', 'url' => '#'],
    ],
]); 

License

yii2-dropdown-x is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.

Main metrics

Overview
Name With Ownerkartik-v/yii2-dropdown-x
Primary LanguagePHP
Program languagePHP (Language Count: 3)
Platform
License:Other
所有者活动
Created At2014-05-09 16:19:14
Pushed At2022-01-11 04:42:19
Last Commit At2022-01-11 10:08:44
Release Count4
Last Release Namev1.2.1 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count15
Watchers Count4
Fork Count5
Commits Count33
Has Issues Enabled
Issues Count10
Issue Open Count0
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private