定制 uran1980/yii2-bootstrap-confirmation 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

uran1980/yii2-bootstrap-confirmation

最新稳定版本:0.0.3

Composer 安装命令:

composer require uran1980/yii2-bootstrap-confirmation

包简介

Bootstrap plugin for on-place confirm boxes using Popover for Yii2

README 文档

README

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

统计信息

  • 总下载量: 26.77k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-11