Type Alias SelectorFunctions<P>

SelectorFunctions: {
    all: <E extends Element = never, K extends string = string>(
        selector: K,
        ...fns: FxFunction<P, ElementFromSelector<K, E>>[],
    ) => (host: Component<P>) => Cleanup;
    first: <E extends Element = never, K extends string = string>(
        selector: K,
        ...fns: FxFunction<P, ElementFromSelector<K, E>>[],
    ) => (host: Component<P>) => Cleanup | void;
}

Type Parameters

Type declaration