2017 © Pedro Peláez
 

yii2-extension yii2-context-menu

A context menu extension for Yii framework 2.0

image

kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  • Wednesday, February 7, 2018
  • by kartik-v
  • Repository
  • 4 Watchers
  • 5 Stars
  • 21,165 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 9 Versions
  • 5 % Grown

The README.md

Krajee Logo
yii2-context-menu
Donate

Stable Version Unstable Version License Total Downloads Monthly Downloads Daily Downloads, (*1)

A context menu extension for Yii framework 2.0 that allows you to add and render a context menu to any element on the page. A context menu is a pop up menu that one initiates on any element by right clicking the mouse in that target element. This widget is a wrapper for the bootstrap-contextmenu plugin which is styled for multiple Bootstrap versions (3.x, 4.x, and 5.x). The widget uses the \yii\bootstrap\Dropdown or \kartik\bs4dropdown\Dropdown widget to generate a dropdown menu., (*2)

Demo

You can see detailed documentation on usage of the extension., (*3)

Latest Release

Refer the CHANGE LOG for details on changes to various releases., (*4)

Installation

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

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

Either run, (*7)

$ php composer.phar require kartik-v/yii2-context-menu "dev-master"

or add, (*8)

"kartik-v/yii2-context-menu": "dev-master"

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

Usage

ContextMenu

use kartik\cmenu\ContextMenu;
ContextMenu::begin([
    'items' => [
        ['label' => 'Action', 'url' => '#'],
        ['label' => 'Another action', 'url' => '#'],
        ['label' => 'Something else here', 'url' => '#'],
        '<li class="divider"></li>',
        ['label' => 'Separated link', 'url' => '#'],
    ],
]); 
// fill in any content within your target container
ContextMenu::end();

License

yii2-context-menu is released under the BSD-3-Clause License. See the bundled LICENSE.md for details., (*10)

The Versions

07/02 2018

dev-master

9999999-dev https://github.com/kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  Sources   Download

BSD-3-Clause BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

26/11 2016

v1.2.2

1.2.2.0 https://github.com/kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

02/07 2016

v1.2.1

1.2.1.0 https://github.com/kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

25/11 2014

1.2.0.x-dev

1.2.0.9999999-dev https://github.com/kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

25/11 2014

v1.2.0

1.2.0.0 https://github.com/kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

09/11 2014

1.1.0.x-dev

1.1.0.9999999-dev https://github.com/kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click

09/11 2014

v1.1.0

1.1.0.0 https://github.com/kartik-v/yii2-context-menu

A context menu extension for Yii framework 2.0

  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-context-menu

A context menu extension for Yii framework 2.0

  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-context-menu

A context menu extension for Yii framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget menu context mouse click