Home > utils > selectElement
Signature:
export declare function selectElement<TElement extends Element = HTMLElement>(selectors: string | string[], baseElement?: ParentNode): TElement | undefined;
Parameter | Type | Description |
---|---|---|
selectors | string | string[] | |
baseElement | ParentNode | (Optional) |
Returns:
TElement | undefined