UIElement Docs Version 0.13.3

🔗 Type Alias: SelectorFunctions<P>

SelectorFunctions<P> = object

Defined in: src/component.ts:97

🔗 Type Parameters

🔗 P

P extends ComponentProps

🔗 Properties

🔗 all()

all: <E, K>(selector, ...fns) => (host) => Cleanup

Defined in: src/component.ts:102

🔗 Type Parameters

🔗 E

E extends Element = never

🔗 K

K extends string = string

🔗 Parameters

🔗 selector

K

🔗 fns

...Effect<P, ElementFromSelector<K, E>>[]

🔗 Returns

(host): Cleanup

🔗 Parameters
🔗 host

Component<P>

🔗 Returns

Cleanup


🔗 first()

first: <E, K>(selector, ...fns) => (host) => Cleanup | void

Defined in: src/component.ts:98

🔗 Type Parameters

🔗 E

E extends Element = never

🔗 K

K extends string = string

🔗 Parameters

🔗 selector

K

🔗 fns

...Effect<P, ElementFromSelector<K, E>>[]

🔗 Returns

(host): Cleanup | void

🔗 Parameters
🔗 host

Component<P>

🔗 Returns

Cleanup | void