adlurfm/yii2-driverjs

Driverjs.com component for Yii2

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:yii2-extension

dev-master 2024-01-22 03:47 UTC

This package is auto-updated.

Last update: 2024-05-22 04:40:33 UTC


README

Driverjs.com component for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist adlurfm/yii2-driverjs "*"

or add

"adlurfm/yii2-driverjs": "*"

to the require section of your composer.json file.

Usage

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

$dri = new DriverJsWidget();

$dri->addStep('.info-box',"step 1", "this is the step 1")
    ->addStep('.info-box',"step 2", "this is the step 2")
    ->addStep('.info-box',"step 3", "this is the step 3")
    ->addStep('.info-box',"step 4", "this is the step 4")
    ->addStep('.info-box',"step 5", "this is the step 5")
    ->useButton()
    ->build(false);