cacko/yii2-widget-fullscreen

Yii2 widget full sreen

v0.3.2 2021-04-04 23:15 UTC

This package is auto-updated.

Last update: 2021-04-07 11:39:05 UTC


README

Silly and useless straightfoward way to wrap your junk html containeirs in yii2 with a fullscreen functionality

Demo

Install

composer install cacko/yii2-widget-fullscreen

Usage

use Cacko\Yii2\Widgets\FullScreen\widgets\FullScreenWidget;

echo FullScreenWidget::widget(['content' => Html::img('/start.webp')]);

there's bunch of defaults in Cacko\Yii2\Widgets\FullScreen\components\Options, as usual if you think they are crap, feel free to inject your own ideas, just keep in mind you will have to bother with the css styles too - good luck