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

@elemental-ui-alpha/popper

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elemental-ui-alpha/popper

Provides a thin wrapper around the Popper.js API as a hook to help with tethering an element to an anchor.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
2
Created
Source

Popper

The usePopper hook is a utility to help with tethering an element to an anchor. It is used as a helper in components such as Tooltip and Popover.

import { usePopper } from '@elemental-ui-alpha/popper';

API

The hook is a thin wrapper around Popper.js, which allows a declarative approach. The signature is:

const [anchorRef, elementRef] = usePopper(isActive, configObject);

FAQs

Package last updated on 24 Apr 2020

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