Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 386 Bytes

readme.md

File metadata and controls

27 lines (18 loc) · 386 Bytes

yii2-widget-sweet-alert

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