Showing 1-20 of 740 packages
Cross-browser preventDefault
This is a library for optimizing performance sensitive events and declarative preventDefault and stopPropagation
@magic-libraries/preventDefault, effect usable to call event.preventDefault. Preinstalled in @magic/core.
This is a library for optimizing performance sensitive events and declarative preventDefault and stopPropagation
[ESLint](https://eslint.org/) plugin to require [preventDefault](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) calls in `onClick` handlers. Essentially, this makes the handler not _also_ go to whatever placeholder url you've added
Takes a function and returns a function that calls preventDefault on the last argument of the function
Cross-browser preventDefault
Returns a function that will invoke preventDefault on any events passed into it.
form that has preventDefault on submit already
A collection of web components for building accessible popovers
An implementation of WHATWG EventTarget interface.
A collapsible jQuery menu plugin
A tiny (~650 B) & modern library for keybindings.
React component and hook which listens to the beforeunload window event.
Package that exposes state and actions from the `core/router` store, part of the Interactivity API.
An extension to the DOM event pattern to allow listeners to disable support for preventDefault, primarily to enable scroll performance optimizations.
Flatten, normalize, and handle dropped files
React draggable component
Passive Events Support
Event binding component