Documentation

UIComponentEventHandler

type UIComponentEventHandler

type UIComponentEventHandler<TComponent = UIComponent, TEvent = UIComponentEvent> = string | ((this: TComponent, e: TEvent) => void);

Event handler type (see Component.with), as a string or function.