Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 554 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 554 Bytes

Fancybox Asset

Asset for adding fancybox functionality to your pages

Installation

The preferred way to install this extension is through composer.

Either run

composer require andrewdanilov/yii2-fancybox "~1.0.0"

or add

"andrewdanilov/yii2-fancybox": "~1.0.0"

to the require section of your composer.json file.

Usage

Register asset bundle in View

<?php
/* @var $this \yii\web\View */
\andrewdanilov\fancybox\FancyboxAsset::register($this);