Blob - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki

<BLOB/>: <VAR/>

The <BLOB/> widget holds a value. Unlike <VAR/>, the <BLOB/> widget does not decode binding strings. This is helpful when the developer wishes to store strings that may contain {} syntax or when calling a forEach() loop on a list.

Examples

(Example 1)
<FML id="f1" title="STACK (example2)" linkable="true" keywords="drag,resize">

  <POS top="20" left="20">
    <BUTTON onclick="f1.addchild({v2})" type="outline" padding="10">  
    <ICON icon="add"/>
    <TEXT value="Add Icon"/>
     </BUTTON>
    </POS>    


  <POS top="50" left="20">
    <BUTTON onclick="f1.addchild({v1})"  type="outline" padding="10">  
    <ICON icon="add"/>
    <TEXT value="Add Box"/>
     </BUTTON>
    </POS>
  
  <BLOB id="v1">
    <value>
    <POS id="p2" top="10" left="10" draggable="true" scope="s1">
      <BOX id="b2" expand="false" resizeable="true" bordercolor="red" width="100" height="20" color="transparent" center="true">
        <TEXT value="({p2.viewx},{p2.viewy}) , ({p2.viewwidth},{p2.viewheight})" size="12" margin="10"/>
      </BOX>
    </POS>
    </value>
  </BLOB>

  <BLOB id="v2">
    <value>
    <POS id="i2" top="10" left="10" draggable="true" scope="s1">
      <ICON id="b2" icon="save" resizeable="true" size="24" color="red"/>
    </POS>
    </value>
  </BLOB>
  
</FML>

logo See it in Action

Other Widgets You May Find Useful:

⚠️ **GitHub.com Fallback** ⚠️