VariantsAPI#

Interface VariantsAPI

Hierarchy

Methods

  • Parameters

    • nodeId: number

      The ID of the Node.

    Returns Promise<boolean>

    True, if the Node is Part of an enabled Variant. False otherwise.

  • Parameters

    • nodeId: number

      The ID of the Node.

    Returns Promise<VariantProperties[]>

    The Variant(s) for a given nodeID.

  • Enables or disables a given Variant.

    Parameters

    • variant: number

      The ID of the Variant.

    • enabled: boolean

      The enabled state.

    Returns Promise<void>