Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js toggle class

   element.classList.toggle('class');
 
PREVIOUS NEXT
Tagged: #js #toggle #class
ADD COMMENT
Topic
Name
3+6 =