Delegated-events is a JavaScript library designed for managing DOM interactions and component communication through centralized event handling. It provides utilities to implement event delegation, allowing developers to register a single listener on a parent element that triggers only when events originate from child elements matching specific CSS selectors.
The main features of dgraham/delegated-events are: Event Delegation, Event Payload Type Narrowing, Custom Event Dispatchers, Event Bubbling Mechanisms, DOM & Event Handling, Event Listener Management.
Open-source alternatives to dgraham/delegated-events include: bendc/sprint — Sprint is a lightweight DOM manipulation and event handling library. It provides a minimal set of utilities for… facebook/react — React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional… fabiospampinato/cash — Cash is a lightweight DOM manipulation library and HTML element wrapper designed as an alternative to jQuery for… hotwired/stimulus — Stimulus is a JavaScript behavior framework and client-side logic layer used to add interactive behavior to… sadanandpai/javascript-code-challenges — This repository is a collection of JavaScript coding challenges and a comprehensive interview guide. It provides… flightjs/flight — Flight is a JavaScript component framework and DOM interactivity library used to map behavioral logic to HTML nodes.…
Sprint is a lightweight DOM manipulation and event handling library. It provides a minimal set of utilities for selecting, modifying, and traversing elements within the browser document object model. The library utilizes a selector engine to isolate specific document nodes using CSS-like patterns and positional indices. It encapsulates raw DOM elements within a wrapper object to provide a consistent API for updating element attributes, styles, and content. The toolset covers browser event management for attaching and detaching interaction handlers, as well as document tree navigation to loca
React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional data flow.
Cash is a lightweight DOM manipulation library and HTML element wrapper designed as an alternative to jQuery for selecting and modifying elements in modern browsers. It functions as a modular DOM framework and JavaScript utility library, providing a system to wrap DOM nodes into actionable collections for batch processing. The project is built with a modular design that supports tree-shaking, allowing build tools to exclude unused methods to minimize the final bundle size. It provides mechanisms for extending the core functionality and collection prototypes to implement reusable plugins and c
Stimulus is a JavaScript behavior framework and client-side logic layer used to add interactive behavior to server-rendered HTML. It functions as a system of DOM component controllers that organize JavaScript logic into classes, allowing developers to enhance server-delivered markup without replacing the rendering process with a client-side framework. The framework uses data attributes to bind JavaScript classes to HTML elements and map DOM events to specific methods through document-level event delegation. It employs a lifecycle manager based on mutation observers to automatically instantiat