Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@janarendvw/spotlight

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@janarendvw/spotlight - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

6

CHANGELOG.md
# @janaredvw/spotlight
## 2.1.1
### Patch Changes
- 1fa808f: added readme
## 2.1.0

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@janarendvw/spotlight",
"license": "MIT",
"version": "2.1.0",
"version": "2.1.1",
"description": "A simple spotlight effect for your web app",

@@ -6,0 +6,0 @@ "keywords": [

# 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
```html
<div data-spotlight>{...}</div>
```
#### Add a description to the element
```html
<div data-spotlight data-spotlight-description="This is a clickable div element.">{...}</div>
```
#### Order your elements in the spotlight tour
```html
<div data-spotlight data-spotlight-order="1">{...}</div>
<div data-spotlight data-spotlight-order="2">{...}</div>
<div data-spotlight data-spotlight-order="3">{...}</div>
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc