harrytang / yii2-dotdotdot
JQuery DotDotDot for Yii 2
Installs: 2 012
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 1
Language:JavaScript
Type:yii2-extension
pkg:composer/harrytang/yii2-dotdotdot
Requires
- yiisoft/yii2: *
 
This package is not auto-updated.
Last update: 2016-07-24 16:46:19 UTC
README
JQuery DotDotDot Plugin For Yii 2.x
Installation
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.
    </div>
    <?php
    \harrytang\dotdotdot\DotDotDot::widget();
    ?>
or
    <?php
    \harrytang\dotdotdot\DotDotDot::widget('selector'=>'dot3, 'options'=>['key'=>'value']);
    ?>