Package Exports
- @janarendvw/spotlight
- @janarendvw/spotlight/dist/index.js
- @janarendvw/spotlight/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@janarendvw/spotlight) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
spotlight
package that can be used to create quick spotlight-like tutorials for your web interfaces
installation
npm
npm i @janarendvw/spotlight
yarn
yarn add @janarendvw/spotlight
pnpm
pnpm add @janarendvw/spotlight
usage
Add elements to the spotlight tour
<div data-spotlight>{...}</div>
Add a description to the element
<div data-spotlight data-spotlight-description="This is a clickable div element.">{...}</div>
Order your elements in the spotlight tour
<div data-spotlight data-spotlight-order="1">{...}</div>
<div data-spotlight data-spotlight-order="2">{...}</div>
<div data-spotlight data-spotlight-order="3">{...}</div>