numbervine/yii2-sweetalert2

A wrapper to include sweetalert2 assets in yii2 application

Installs: 54

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.1 2017-12-21 05:51 UTC

This package is not auto-updated.

Last update: 2024-06-09 03:50:26 UTC


README

Yii2 wrapper for SweetAlert2 assets

How to install

Install this extension using composer by adding the following dependency in composer.json

    "numbervine/yii2-sweetalert2":"*"

How to use

use numbervine\sweetalert2\SweetAlert2Asset;

SweetAlert2Asset::register($this);

use in Javascript as per SweetAlert2 docs

swal("Hello!");

LICENSE

MIT © [Thomas Varghese] (https://github.com/numbervine)