tecnocen/yii2-bootstrap-hover-dropdown

AssetBundle for https://cameronspear.com/demos/bootstrap-hover-dropdown/

0.1 2016-09-07 17:39 UTC

This package is auto-updated.

Last update: 2024-11-05 07:11:07 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

AssetBundle for https://cameronspear.com/demos/bootstrap-hover-dropdown/

Installation

####Composer

composer require --prefer-dist "tecnocen/yii2-bootstrap-hover-dropdown:*"

or add

"tecnocen/yii2-bootstrap-hover-dropdown": "dev-master"

to the require section of your composer.json file.

Usage

in view (for example: @app/views/layouts/main.php)

// ...
use tecnocen\hoverdropdown\HoverDropdownAssetBundle;
// ...
HoverDropdownAssetBundle::register($this);

or add to your assets/AppAsset.php

public $depends = [
    // ...
    '\tecnocen\hoverdropdown\HoverDropdownAssetBundle',
];