UI: { emit: <T>(type: string, detail?: T) => UI<E, S>; host: UIElement<S>; on: ( type: string, listenerOrProvider: | EventListenerOrEventListenerObject | EventListenerProvider, ) => UI<E, S>; pass: <T extends ComponentSignals>( passedSignalsOrProvider: PassedSignals<T> | PassedSignalsProvider<T>, ) => UI<E, S>; sync: ( ...fns: (host: UIElement<S>, target: E, index: number) => void[], ) => UI<E, S>; targets: E[];} Type declaration
emit: <T>(type: string, detail?: T) => UI<E, S>
on: (
type: string,
listenerOrProvider:
| EventListenerOrEventListenerObject
| EventListenerProvider,
) => UI<E, S>
sync: (...fns: (host: UIElement<S>, target: E, index: number) => void[]) => UI<E, S>
targets: E[]