0.0.1-1.7 โ€ข Published 1 year ago

@mharris-np/tourguidejs v0.0.1-1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

QuickStart

Installation

npm i @sjmc11/tourguidejs

Usage

Include the tourGuide script and style in your project. A CDN method is supported.

// Style
import "@sjmc11/tourguidejs/src/scss/tour.scss"
// JS
import {TourGuideClient} from "@sjmc11/tourguidejs/src/Tour"

Declare steps

Add the data-tg-tour attribute to elements that you want to include in your tour. This attribute should contain the relevant text for the tour guide step.

<div data-tg-tour="Welcome aboard ๐Ÿ‘‹> ... </div>

Create a tour

const tg = new TourGuideClient({} : TourGuideOptions)

Start the tour

tg.start()

TourGuide JS uses Floating-Ui for intelligent dialog positioning

See Floating UI for more information.

0.0.1-1.7

1 year ago

0.0.1-1.6

1 year ago

0.0.1-1.5

1 year ago

0.0.1-1.4

1 year ago

0.0.1-1.3

1 year ago

0.0.1-1.2

1 year ago

0.0.1-1.1

1 year ago

0.0.11

1 year ago