xj/yii2-nivolightbox-widget

yii2-nivolightbox-widget

1.0.0 2015-03-28 15:21 UTC

This package is auto-updated.

Last update: 2024-11-10 20:21:24 UTC


README

http://demo.dev7studios.com/nivo-lightbox/

composer.json

"require": {
    "xj/yii2-nivolightbox-widget": "*"
},

In View

use xj\nivo\lightbox\LightboxAsset;
use xj\nivo\lightbox\DefaultThemeAsset;
LightboxAsset::register($this);
DefaultThemeAsset::register($this);

In Assets depends

public $depends = [
    'xj\nivo\lightbox\LightboxAsset',
    'xj\nivo\lightbox\DefaultThemeAsset',
];