hyTags
HomeHome DocumentationDocumentation

property-get

Gets the value of a property from the current scope
Parameter
Type
Description
name
String
The name of the property to get
return
T
The value of the property
Test Case:Get property value
    <div>
      <property name="testProp" type="string" value="hello"></property>
    </div>
    
    <property-get name="testProp">
    <assert-equal value="hello" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed