Module delegation

Source
Expand description

Event delegation system for Orbit UI framework

This module provides an enhanced event handling system with:

  • Event bubbling and capturing
  • Event delegation up and down the component tree
  • Stop propagation and prevent default functionality

Structs§

DelegatedEvent
An enhanced event that includes propagation information
EventDelegate
Event delegate manages capturing, targeting, and bubbling of events
EventPropagation
Controls how an event propagates through the component tree

Enums§

PropagationPhase
Specifies the event propagation phase

Functions§

build_delegation_tree
Helper to build an event delegation tree from a component tree