Documentation
    Preparing search index...

    Class UIControlRegistry

    Named widget-constructor table for §81's "UI controls" point.

    Map preserves insertion order, which is the order names reports (§33).

    Index
    • get names(): readonly string[]

      Registered names, in insertion order.

      Returns readonly string[]

    • get size(): number

      Number of registered controls.

      Returns number

    • The constructor for name, or undefined.

      Parameters

      • name: string

      Returns UIControlConstructor | undefined

    • Whether name has a constructor.

      Parameters

      • name: string

      Returns boolean

    • Registers control under name. Returns this so registrations chain.

      Parameters

      Returns this

      FourError INVALID_APPLICATION_STATE if name is empty, or if a different constructor already occupies that name.