hyTags
HomeHome DocumentationDocumentation

style-get-width

Gets the width style property value of an element
Parameter
Type
Description
return
number
The width value as a number
Test Case:Get width from inline style
    <div></div>
    
    <style-set name="width" value="100px">
    <style-get-width>
    <assert-equal value="100" type="number">
    
    👆 Try to change something!
  • Test succeeded Test failed