vtils

Home > utils > selectElementAll

selectElementAll() function

Signature:

export declare function selectElementAll<Selector extends string, TElement extends Element = ParseSelector<Selector, HTMLElement>>(selectors: Selector | Selector[], baseElements?: BaseElements): TElement[];

Parameters

Parameter Type Description
selectors Selector | Selector[] One or more CSS selectors separated by commas
baseElements BaseElements (Optional) The element or list of elements to look inside of An array of elements found

Returns:

TElement[]