yii2-dropdown-x

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

  • 所有者: kartik-v/yii2-dropdown-x
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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.

主要指标

概览
名称与所有者kartik-v/yii2-dropdown-x
主编程语言PHP
编程语言PHP (语言数: 3)
平台
许可证Other
所有者活动
创建于2014-05-09 16:19:14
推送于2022-01-11 04:42:19
最后一次提交2022-01-11 10:08:44
发布数4
最新版本名称v1.2.1 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数15
关注者数4
派生数5
提交数33
已启用问题?
问题数10
打开的问题数0
拉请求数1
打开的拉请求数0
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?