Home > widget-integration > StickyService > queryFirst
StickyService.queryFirst() method
Returns the first matching element from a selector list.
Signature:
queryFirst(selectors: readonly string[]): HTMLElement | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
selectors |
readonly string[] |
Returns:
HTMLElement | null