Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.75 KB

componentVariant.md

File metadata and controls

67 lines (46 loc) · 2.75 KB

ComponentVariant

Kind: global interface

componentVariant.name : String

Name of the component variants.

Kind: instance property of ComponentVariant

componentVariant.propertyDescriptors : Array<ComponentPropertyDescriptor>

Details of the properties that components in this variant can take.

Kind: instance property of ComponentVariant

componentVariant.components : Array<Component>

Components included in the variant.

Kind: instance property of ComponentVariant

compocomponentVariantnent.findPropertyDescriptorById(propertyId) ⇒ ComponentPropertyDescriptor?

Finds property descriptor by unique identifier.

Kind: instance method of ComponentVariant

Param Type
propertyId String

componentVariant.findPropertyDescriptorByName(name) ⇒ ComponentPropertyDescriptor?

Finds property descriptor by name.

Kind: instance method of ComponentVariant

Param Type
name String

ComponentPropertyDescriptor : Object

Kind: global typedef

Properties

Name Type Description
id String Unique identifier of the variant property.
name String Name of the variant property.
values Array<String> Possible values for the variant property.

Related models