EventHandler
Event handler type with unwrapped detail.
Pattern: (detail: T, event?: CustomEvent) => void
type EventHandler = (detail: T, event: CustomEvent<T>) => void
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt