light / yii2-widget-sweet-alert
Yii2 widget for sweet-alert
Installs: 152
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 1
Language:JavaScript
Requires
- yiisoft/yii2: 2.0.*
This package is auto-updated.
Last update: 2024-11-08 20:12:46 UTC
README
Yii2 widget wrapper for sweet-alert
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