
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
popper-plugin
Advanced tools
A javascript plugin for popper which could be used to positioning tooltip or popover
npm install --save popper-plugin
<script src="node_modules/popper-plugin/dist/popper.min.js"></script>
const samplePopper = new PopperComponent({
/** Refer below for available properties */
});
Name | Type | Default value | Description |
---|---|---|---|
$popperEle | Element | Popper element | |
$triggerEle | Element | Trigger element | |
$arrowEle | Element | Arrow icon in the popper | |
position | Number | auto | Position of popper (top, bottom, left, right, auto) |
margin | Number | 8 | Space between popper and its activator (in pixel) |
offset | Number | 5 | Space between popper and window edge (in pixel) |
enterDelay | Number | 0 | Delay time before showing popper (in milliseconds) |
exitDelay | Number | 0 | Delay time before hiding popper (in milliseconds) |
showDuration | Number | 300 | Transition duration for show animation (in milliseconds) |
hideDuration | Number | 200 | Transition duration for hide animation (in milliseconds) |
transitionDistance | Number | 10 | Distance to translate on show/hide animation (in pixel) |
zIndex | Number | 1 | CSS z-index value for popper |
afterShow | Function | Callback function to trigger after show | |
afterHide | Function | Callback function to trigger after hide |
FAQs
A javascript plugin for popper which could be used to positioning tooltip or popover
The npm package popper-plugin receives a total of 11 weekly downloads. As such, popper-plugin popularity was classified as not popular.
We found that popper-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.