visionforge/docs/hierarchy.md

728 B

Hierarchy

Vision

  • function getProperty(name: Name, inherit: Boolean, includeStyles: Boolean, includeDefaults: Boolean).

It gets properties of element with name identification. inherit — toggles parent node property lookup. Null means inference from descriptor. Default is false. includeStyles — toggles inclusion of. Null means inference from descriptor. Default is true. includeDefaults — default is false.

  • function setProperty(name: Name, item: MetaItem?, notify: Boolean = true)

Sets the item property to the element with the name identification. notify is a value which toggles the necessity of the change notification. Default is true.