visionforge/docs/hierarchy.md
2021-08-17 20:23:31 +03:00

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.