atans / yii2-artdialog
An dialog asset for yii2
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-12-14 00:28:47 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);