library yii2-widget-sweet-alert
Yii2 widget for sweet-alert
light/yii2-widget-sweet-alert
Yii2 widget for sweet-alert
- Monday, January 26, 2015
- by light
- Repository
- 2 Watchers
- 1 Stars
- 110 Installations
- JavaScript
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 1 Versions
- 1 % Grown
Yii2 widget wrapper for sweet-alert, (*1)
Install
composer require light/yii2-widget-sweet-alert=dev-master
Usage
use light\widgets\SweetAlert;
SweetAlert::widget([
'title' => 'hello',
'text' => 'this is discription for alert',
....
]);
Options
Pls see the document of sweet-alert, (*2)
dev-master
9999999-dev
Yii2 widget for sweet-alert
Sources
Download
MIT
The Requires
by
lichunqiang
yii2
widget
sweet-alert