Free Download

Add Product Tour with Hopscotch Framework

Riz Ali
Riz
May 3, 2014
1 min read
135 words

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.

A Hopscotch tour consists of a tour id, an array of tour steps defined as JSON objects, and a number of tour-specific options. The tour id is simply a unique identifier string. The simplest tour consists of just an id string and an array of one or more steps.

The framework has several events to which callbacks can be assigned including start, end, next, prev, show, close, and error. For the next, prev, and show events, designers and devs can assign callbacks within step definitions as well as in the tour itself.

Add Product Tour with Hopscotch Framework01-Add Product Tour with Hopscotch Framework

Simple Full Screen Image Reveal Effect
Riz Ali

Riz

Author

Riz is a Senior Web Strategist with over 14+ years of hands-on experience in full-stack web design and digital architecture. Having successfully delivered 250+ web projects, he believes passion is the engine of innovation. Riz specializes in translating complex technical concepts into accessible, fanatical content, helping businesses bridge the gap between aesthetic design and high-performance engineering. His work has been instrumental in scaling digital presence for startups and established brands alike.

View all posts

Continue reading

You might also like

Menu