JQuery DotDotDot for Yii 2

Installs: 173

Dependents: 1

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 1

Language: JavaScript

Type: yii2-extension

1.0.1 2015-02-05 03:29 UTC


JQuery DotDotDot Plugin For Yii 2.x


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist harrytang/yii2-dotdotdot "*"

or add

"harrytang/yii2-dotdotdot": "*"

to the require section of your composer.json.

Quick start

    <div class="dot3" style="height: 50px;">
        The main property of Menu is $items, which specifies the possible items in the menu. A menu item can contain sub-items which specify the sub-menu under that menu item.
        <br /><br />
        Menu checks the current route and request parameters to toggle certain menu items with active state.
        <br /><br />
        Note that Menu only renders the HTML tags about the menu. It does do any styling. You are responsible to provide CSS styles to make it look like a real menu.



    \harrytang\dotdotdot\DotDotDot::widget('selector'=>'dot3, 'options'=>['key'=>'value']);