# Sector
# Properties
idString (opens new window) Sector id, eg.typographynameString (opens new window) Sector name, eg.TypographyopenBoolean (opens new window)? Indicates the open state.propertiesArray (opens new window)<Object (opens new window)>? Indicate an array of Property definitions.
# getId
Get sector id.
Returns String (opens new window)
# getName
Get sector name.
Returns String (opens new window)
# setName
Update sector name.
# Parameters
valueString (opens new window) New sector name
# isOpen
Check if the sector is open
Returns Boolean (opens new window)
# setOpen
Update Sector open state
# Parameters
# isVisible
Check if the sector is visible
Returns Boolean (opens new window)
# getProperties
Get sector properties.
# Parameters
optsObject (opens new window) Options (optional, default{})opts.withValueBoolean (opens new window) Get only properties with value (optional, defaultfalse)opts.withParentValueBoolean (opens new window) Get only properties with parent value (optional, defaultfalse)
Returns Array (opens new window)<Property>