atans / yii2-artdialog
An dialog asset for yii2
Package info
github.com/atans/yii2-artdialog
Language:JavaScript
Type:yii2-extension
pkg:composer/atans/yii2-artdialog
1.0.0
2016-11-01 06:47 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-02-14 03:22:03 UTC
README
Artdialog for yii2
Installation
The preferred way to install this extension is through composer.
Either run
composer atans/yii2-artdialog "*"
or add
"atans/yii2-artdialog": "*"
to the require section of your composer.json file.
Usage
<?php // views/site/index.php use atans\artdialog\ArtdialogAsset; ArtdialogAsset::register($this); $js = <<< JS var d = dialog({ title: "Yii2 Artdialog", content: "Hello World!" }).show(); JS; // register your javascript $this->registerJs($js);