New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

data-popover

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-popover

A simple wrapper around the native Popover API

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
0
Created
Source

data-popover

A lightweight wrapper around the native Popover API.

  • No dependencies
  • Declarative configuration via HTML attributes
  • Pairs well with HTMx

Check out the docs & demo.

Installation

Download the minified version from the ./dist folder or use a CDN:

<link
	rel="stylesheet"
	href="https://cdn.jsdelivr.net/npm/data-popover/dist/data-popover.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/data-popover/dist/data-popover.min.js"></script>

Usage

  • Add a data-popover attribute to a trigger element.
  • Place a popover element with the native popover attribute immediately after the trigger.
<button data-popover>Click me</button>
<div popover>Popover content</div>

Keywords

popover

FAQs

Package last updated on 25 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts