branchonline/yii2-joyride

There is no license information available for the latest version (1.0) of this package.

Yii2 Joyride wrapper.

Installs: 935

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 8

Forks: 2

Open Issues: 0

Language:JavaScript

1.0 2015-03-31 15:08 UTC

This package is auto-updated.

Last update: 2025-01-05 00:30:17 UTC


README

Yii2 Joyride Wrapper is a Yii2 wrapper for the Joyride plugin. (https://github.com/zurb/joyride)

Usage:

echo Joyride::widget([
          'name' => 'my-joyride',
          'joyride_options' => [
              'tipLocation' => Joyride::POS_TOP,
          ],
          'items' => [
              [
                  'header' => 'my header',
                  'content' => 'my content',
                  'target_id' => 'test',
                  'options' => [
                      'data' => [
                          'options' => 'tipLocation: bottom',
                          'prev-text' => 'Go Back',
                          'button' => 'End'
                      ]
                  ]
              ]
          ],
      ]);