2017 © Pedro Peláez
 

yii2-extension yii2-dropdown-x

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

image

kartik-v/yii2-dropdown-x

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

  • Wednesday, February 7, 2018
  • by kartik-v
  • Repository
  • 3 Watchers
  • 13 Stars
  • 130,893 Installations
  • PHP
  • 7 Dependents
  • 0 Suggesters
  • 6 Forks
  • 3 Open issues
  • 7 Versions
  • 9 % Grown

The README.md

Krajee Logo
yii2-dropdown-x
Donate       kartikv

[![Stable Version](https://poser.pugx.org/kartik-v/yii2-dropdown-x/v/stable)](https://packagist.org/packages/kartik-v/yii2-dropdown-x) [![Unstable Version](https://poser.pugx.org/kartik-v/yii2-dropdown-x/v/unstable)](https://packagist.org/packages/kartik-v/yii2-dropdown-x) [![License](https://poser.pugx.org/kartik-v/yii2-dropdown-x/license)](https://packagist.org/packages/kartik-v/yii2-dropdown-x) [![Total Downloads](https://poser.pugx.org/kartik-v/yii2-dropdown-x/downloads)](https://packagist.org/packages/kartik-v/yii2-dropdown-x) [![Monthly Downloads](https://poser.pugx.org/kartik-v/yii2-dropdown-x/d/monthly)](https://packagist.org/packages/kartik-v/yii2-dropdown-x) [![Daily Downloads](https://poser.pugx.org/kartik-v/yii2-dropdown-x/d/daily)](https://packagist.org/packages/kartik-v/yii2-dropdown-x)

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., (*1)

Docs & Demo

You can see detailed docs & demos and the API code documentation on usage of the extension., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

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., (*4)

Either run, (*5)

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

or add, (*6)

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

to the require section of your composer.json file., (*7)

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., (*8)

The Versions

07/02 2018

dev-master

9999999-dev https://github.com/kartik-v/yii2-dropdown-x

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

  Sources   Download

BSD-3-Clause BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

08/12 2014

1.2.0.x-dev

1.2.0.9999999-dev https://github.com/kartik-v/yii2-dropdown-x

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

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

08/12 2014

v1.2.0

1.2.0.0 https://github.com/kartik-v/yii2-dropdown-x

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

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

08/11 2014

1.1.0.x-dev

1.1.0.9999999-dev https://github.com/kartik-v/yii2-dropdown-x

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

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

08/11 2014

v1.1.0

1.1.0.0 https://github.com/kartik-v/yii2-dropdown-x

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

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

05/10 2014

1.0.0.x-dev

1.0.0.9999999-dev https://github.com/kartik-v/yii2-dropdown-x

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

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

05/10 2014

v1.0.0

1.0.0.0 https://github.com/kartik-v/yii2-dropdown-x

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

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click