DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript hass class
if (myElement.classList.contains('someClassname')) { // do something }
PREVIOUS
NEXT
Tagged:
#javascript
#hass
#class
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit