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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?