vtils

Home > utils > selectElementLast

selectElementLast() function

Signature:

export declare function selectElementLast<TElement extends Element = HTMLElement>(selectors: string | string[], baseElement?: ParentNode): TElement | undefined;

Parameters

Parameter Type Description
selectors string | string[]  
baseElement ParentNode (Optional)

Returns:

TElement | undefined