visionforge/docs/hierarchy.md
2021-08-16 23:50:11 +03:00

759 B

Hierarchy

the image will be changed

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.