xj/yii2-bootbox-widget

yii2-bootbox-widget

1.0.7 2017-11-30 02:51 UTC

README

https://github.com/makeusabrew/bootbox

composer.json

"require": {
    "xj/yii2-bootbox-widget": "*"
},

In View

use xj\bootbox\BootboxAsset;
BootboxAsset::register($this);

//register with replace Yii.confirm
BootboxOverrideAsset::register($this);
//OR
BootboxAsset::registerWithOverride($this);