typescript queryselectorall code example
Example 1: ts queryselectorall as htmlelement
let panel = document.querySelector(".panel") as HTMLElement;
let lists = document.querySelectorAll<HTMLElement>("ul.my-list");
Example 2: queryselectorall in javascript to get data attribute value
//javascript get html data attribute