is there a built in way to filter the DOM by class...
# javascript
j
is there a built in way to filter the DOM by class name, such that it captures arbitrarily deep elements?
It's not Kotlin-related question. Kotlin just allows you to call DOM functions. You can learn DOM APIs on MDN, for example, about querySelectorAll: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll
j
I think I found what I was looking for in getElementsByTagName actually. But thank you, I'm new to both Kotlin and JS, learning two things at once 🙂