Orgnode"
From Documentation
Charlesqiu (talk | contribs) |
Charlesqiu (talk | contribs) |
||
Line 8: | Line 8: | ||
= Example = | = Example = | ||
+ | |||
+ | <source language="xml"> | ||
+ | <organigram width="600px"> | ||
+ | <orgchildren> | ||
+ | <orgitem> | ||
+ | <orgnode> | ||
+ | <button label="Snapshot" onClick="camera.snapshot()"/> | ||
+ | </orgnode> | ||
+ | <orgchildren> | ||
+ | <orgitem> | ||
+ | <orgnode width="200px" label="Camera"> | ||
+ | <camera id="camera" onSnapshotUpload="image.setContent(event.media)"/> | ||
+ | </orgnode> | ||
+ | </orgitem> | ||
+ | <orgitem> | ||
+ | <orgnode width="200px" label="Image"> | ||
+ | <image id="image"/> | ||
+ | </orgnode> | ||
+ | </orgitem> | ||
+ | </orgchildren> | ||
+ | </orgitem> | ||
+ | </orgchildren> | ||
+ | </organigram> | ||
+ | </source> | ||
=Supported Events= | =Supported Events= |
Revision as of 09:37, 8 August 2018
Orgnode
Employment/Purpose
Orgnode represents data in a Orgitem. Orgnode can contain any components in it, such as label, image, textbox etc.
Example
<organigram width="600px">
<orgchildren>
<orgitem>
<orgnode>
<button label="Snapshot" onClick="camera.snapshot()"/>
</orgnode>
<orgchildren>
<orgitem>
<orgnode width="200px" label="Camera">
<camera id="camera" onSnapshotUpload="image.setContent(event.media)"/>
</orgnode>
</orgitem>
<orgitem>
<orgnode width="200px" label="Image">
<image id="image"/>
</orgnode>
</orgitem>
</orgchildren>
</orgitem>
</orgchildren>
</organigram>
Supported Events
None | None |
- Inherited Supported Events: LabelImageElement
Supported Children
*ALL
Version History
Version | Date | Content |
---|---|---|