efureev / yii2-izimodal
A Yii2 wrapper widget for the Noty, a noty plugin with jQuery.
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:yii2-extension
Requires
- bower-asset/fe-izimodal: ~1
- yiisoft/yii2: ~2
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: ~5.5
This package is auto-updated.
Last update: 2024-04-29 03:24:16 UTC
README
Wrapper for https://github.com/efureev/noty
Install
Either run
composer require "efureev/yii2-init: *"
or add
"efureev/yii2-init": "~2",
to the require section of your composer.json file.
Methods
- alert - show the alert window
// @var string|object app.msg.alert('Alarma!...');
Run
Example 1
\efureev\noty\NotyWidget::run();
app.msg.alert('Alarma!');
Tests
vendor/bin/phpunit