hyTags
HomeHome DocumentationDocumentation

style-delete

Removes the inline style value of a CSS property from an element
Parameter
Type
Description
name
String
The name of the CSS property to remove
return
void
No return value
Test Case:Delete inline style
    <div></div>
    
    <style-set name="color" value="red">
    <style-delete name="color">
    <style-get name="color">
    <value-is-nil>
    <assert-true>
    
    👆 Try to change something!
  • Test succeeded Test failed