Yii2 BlockUI ¶
*** AssetBundle for jQuery BlockUI Plugin http://jquery.malsup.com/block/
Installation ¶
Composer ¶
composer require --prefer-dist "ayrozjlc/yii2-blockui:*"
or add
"ayrozjlc/yii2-blockui": "dev-master"
to the `
require`
section of your composer.json
file.
Usage ¶
in view (for example: `
@app/views/layouts/main.php`
)
// ...
use ayrozjlc\blockui\BlockUiAsset;
// ...
BlockUiAsset::register($this);
or add to your `
assets/AppAsset.php`
public $depends = [
// ...
'\ayrozjlc\blockui\BlockUiAsset',
];
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.