please check the problem here:
In javscript When selecting elements with querySelectorAll() and adding trying to add them with . or a class. Accessing the node list elements with index values in that moment intellisense don't work or highlight methods or properties of that dom element.
*I want dom properties to appear in javascipt when selecting a node list elements Or a element form a list of elements.
Let's try this way, when using querySelectorAll() to select elements and then attempting to access them with dot notation (.) or to access their classes, you may not receive IntelliSense suggestions for the DOM element's properties or methods. This might happen because querySelectorAll() returns a NodeList, which is not an array and doesn't automatically grant access to the properties and methods of DOM elements.
To get full IntelliSense on the DOM elements selected with querySelectorAll(), you can do the following:
Convert the NodeList into an array:
Now, you can access the elements in the array and get full IntelliSense:
The key is to convert the NodeList into an array so that you can access the elements as if they were array elements and, as a result, receive full IntelliSense. Let me know how with this if it works.