Description
Hopscotch is a framework to make it easy for developers to add product tours to their pages. Hopscotch accepts a tour JSON object as input and provides an API for the developer to control rendering the tour display and managing the tour progress.
Initialization
Initialize the plugin by referencing the necessary files:
<script src="hopscotch.min.js"></script>
<link rel="stylesheet" type="text/css" href="hopscotch.css">
when you define your tour, you specify the callback as an array of the following form: [helperId, arg, arg, ...]. For example:
{
id: "myTour",
steps: [
{
target: "firststep",
placement: "bottom",
title: "My First Step",
onNext: ["fillText", "searchField", "Example search query"]
}
],
onStart: ["selectArticle"]
}
Refer following links for usage:
| Type | URL |
|---|---|
| Plugin Github Page | http://linkedin.github.io/hopscotch/ |
| Template Page | https://pixinvent.com/demo/convex-bootstrap-admin-dashboard-template/demo-1/tour.html |