custom-components-$1.lzx
<canvas debug="true" height="260" width="100%">
<debug height="250" y="20"/>
<include href="base/basevaluecomponent.lzx"/>
<class name="myvaluecomponent" extends="basevaluecomponent">
<handler name="oninit">
Debug.debug("%w text: %w", this.name, this.text);
Debug.debug("%w value: %w", this.name, this.value);
Debug.debug("%w getValue(): %w\n", this.name, this.getValue());
</handler>
</class>
<myvaluecomponent name="one" text="this is the text"/>
<myvaluecomponent name="two" value="'this is the value'"/>
<myvaluecomponent name="three" text="this is the text" value="'this is the value'"/>
</canvas>
Cross References
Includes
Classes
Named Instances
- <myvaluecomponent name="one">
- <myvaluecomponent name="three">
- <myvaluecomponent name="two">