* Queries the provided `root` element for sub elements by the selector and casts the result as an * array of elements
(root: HTMLElement, selector: string)
| 3682 | * array of elements |
| 3683 | */ |
| 3684 | function queryAll(root: HTMLElement, selector: string): HTMLElement[] { |
| 3685 | return Array.from(root.querySelectorAll(selector)); |
| 3686 | } |