hyTags
HomeHome DocumentationDocumentation

class-remove

Removes a CSS class from the selected element
Parameter
Type
Description
name
String
The name of the CSS class to remove
return
void
Returns nothing
Test Case:Remove class from element
    <div class="existing"></div>
    
    <class-remove name="existing">
    <class-exists name="existing">
    <assert-false>
    
    👆 Try to change something!
  • Test succeeded Test failed