Skip to main content

Version 1, Update 52

This release adds support for the component properties beta features and adds the the ability to read the fontWeight of text nodes.

Component Properties

Exposed Instances

  • isExposedInstance: indicates whether this InstanceNode has been marked as exposed to its containing ComponentNode or ComponentSetNode
  • exposedInstances: all nested instances that have been exposed to this InstanceNode's level

Preferred Values

Font Weight

  • fontWeight: The weight of the font (e.g. 400 for "Regular", 700 for "Bold"). This property is readonly and cannot be set directly.
  • getRangeFontWeight: gets the fontWeight from characters in range start (inclusive) to end (exclusive).