himiklab/yii2-colorbox-widget

This package is abandoned and no longer maintained. No replacement package was suggested.

Customizable lightbox widget for Yii2

Maintainers

👁 himiklab

Package info

github.com/himiklab/yii2-colorbox-widget

Type:yii2-extension

pkg:composer/himiklab/yii2-colorbox-widget

Statistics

Installs: 93 600

Dependents: 16

Suggesters: 0

Stars: 4

Open Issues: 1

1.0.3 2016-02-02 10:23 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT c4aee292cdeabe03e996eb4396719376c2252602

widgetlightboxcolorboxyii2

This package is auto-updated.

Last update: 2022-01-12 15:39:05 UTC


README

A customizable lightbox jQuery plugin for Yii2 based on Colorbox.

👁 Packagist
👁 Packagist
👁 license

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require "himiklab/yii2-colorbox-widget" "*"

or add

"himiklab/yii2-colorbox-widget" : "*"

to the require section of your application's composer.json file.

Usage

  • In view:
use himiklab\colorbox\Colorbox;

<?= Colorbox::widget([
 'targets' => [
 '.colorbox' => [
 'maxWidth' => 800,
 'maxHeight' => 600,
 ],
 ],
 'coreStyle' => 2
]) ?>