Class Property<T>

A property of a generic type.

Type Parameters

  • T

Hierarchy

Implements

  • IProperty

Properties

key: string

The unique key for the node. It is unique from all other nodes in the ThemeBuilder

name: string

The name of the node, which is unique relative to it's siblings

Methods

  • Return the keys of all properties which are required and not initialized.

    Returns

    Returns the keys of all properties which are required and not initialized.

    Returns string[]

  • Determine if this node is enabled. A node is enabled if all other nodes on which this node depends have been initialized.

    Returns

    True if enabled, or false otherwise.

    Returns boolean

  • Remove a listener by name.

    Parameters

    • name: string

      The name of the listener to remove

    Returns void

  • Store persistently the state of the design system.

    Returns Promise<void>

Generated using TypeDoc