Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if classlist contains js

element.classList.contains(class);
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #classlist #js
ADD COMMENT
Topic
Name
2+1 =