uran1980/yii2-bootstrap-confirmation Bootstrap plugin for on-place confirm boxes using Popover for Yii2

bootstrapconfirmation

Yii2 Boostrtap Confirmation

Based on BootstrapConfirmation.

What is Bootstrap Confirmation?

Bootstrap Confirmation - is Bootstrap plugin for on-place confirm boxes using Popover.

sshot-1

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require uran1980/yii2-bootstrap-confirmation "dev-master"

or add

"uran1980/yii2-bootstrap-confirmation": "dev-master"

to the require section of your composer.json

Usage

To use this component add dependency to you project asset bundle. For example in ...\frontend\assets\AppAsset.php file add to dependency:

<?php

namespace frontend\assets;

class AppAsset extends \yii\web\AssetBundle
{
    ...
    public $depends = [
        ...
        'uran1980\yii\bootstrapConfirmation\BootstrapConfirmationAsset',
    ];
}

That's it. In the View add button like this:

<button class="btn btn-default" data-toggle="confirmation">Confirmation</button>

For more info see Bootstrap Confirmation main project page.

Author

Ivan Yakovlev, e-mail: uran1980@gmail.com

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.3 is the latest of 3 releases



MIT license
Stats
6 github stars & 4 github forks
5 downloads in the last day
343 downloads in the last 30 days
24206 total downloads