0.0.16 โ€ข Published 2 months ago

@sjmc11/tourguidejs v0.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months 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.15

2 months ago

0.0.16

2 months ago

0.0.14

2 months ago

0.0.13

2 months ago

0.0.12

5 months ago

0.0.11

5 months ago

0.0.10

11 months ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago