typescript get document elemnt by classname code example Example: javascript document object model getElementsByClassName document.getElementsByClassName('test')