Hierarchy

Constructors

Properties

component?: default<HTMLElement>
event: IEventEmitter<Minors, IInfoProviderEvents>
subscribeRefreshOn: IRegistrar<Minors> = ...
value: default[]
multiTextParagraph: string = "info-provider-multi-text-paragraph"

Accessors

  • get human(): undefined | default<unknown, number, NPC | Player>
  • Returns undefined | default<unknown, number, NPC | Player>

Methods

  • Initialise this InfoProvider and append it to a component. The InfoProvider will be disposed on removal.

    Parameters

    Returns default<HTMLElement>

  • Returns undefined | string

  • Returns undefined | string | IIcon

  • Returns a string that should differentiate this inspection from other inspections of the same type.

    Returns string

  • Returns number

  • Returns void

  • Parameters

    Returns {
        component: default<HTMLElement>;
        fullInit(): void;
    }

    • component: default<HTMLElement>
    • fullInit:function
      • Returns void

  • Returns void

  • Call when this info provider should recheck whether it has contents.

    Returns Minors

  • Call when this info provider should be refreshed.

    Returns Minors

  • Call when this info provider should refresh its display level.

    Returns Minors

  • Call when this info provider should be removed.

    Returns Minors

  • Parameters

    • componentClass: Class<default<HTMLElement>, any[]>

    Returns Minors

  • Parameters

    • initializer: ((componenent: default<HTMLElement>) => any)
        • (componenent: default<HTMLElement>): any
        • Parameters

          Returns any

    Returns Minors

  • Parameters

    • Optional icon: string | IIcon

    Returns Minors

  • Parameters

    • shouldDisplayWhenEmpty: boolean = true

    Returns Minors

  • Returns boolean

  • Parameters

    • Rest ...handlers: ((inspectType: InspectType, ...args: any[]) => undefined | number | boolean)[]

    Returns ((type: InspectType, ...args: any[]) => boolean)

      • (type: InspectType, ...args: any[]): boolean
      • Parameters

        Returns boolean

Generated using TypeDoc