Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

html collection of elements to array

const boxes = Array.from(document.getElementsByClassName('box'));
Source by www.gavsblog.com #
 
PREVIOUS NEXT
Tagged: #html #collection #elements #array
ADD COMMENT
Topic
Name
7+2 =