Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular get class list for element

// event => is your element
const isClassExist = event.target.classList.contains('someClass');
 
PREVIOUS NEXT
Tagged: #angular #class #list #element
ADD COMMENT
Topic
Name
3+8 =