DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
typescript get class list for element
// event => is your element const isClassExist = event.target.classList.contains('someClass');
PREVIOUS
NEXT
Tagged:
#typescript
#class
#list
#element
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit