macrowish/yii2-bootstrap-tour 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

macrowish/yii2-bootstrap-tour

Composer 安装命令:

composer require macrowish/yii2-bootstrap-tour

包简介

Bootstrap Tour widget for Yii2

README 文档

README

Bootstrap Tour widget for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist macrowish/yii2-bootstrap-tour "dev-master"

or add

"macrowish/yii2-bootstrap-tour": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php 
$steps[0] = [
    'title'=>'Step 1',
    'content'=>'Content and stuff',
    'element'=>'#some-element'
];

// $steps[1] = ... etc

\macrowish\widgets\BootstrapTour::widget([
    'steps'=>$steps,
    'options'=>[
        'backdrop'=>'true'
        ]
     ]); ?>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-19