Deprecated

Use Translation.formula

Hierarchy

Constructors

  • Parameters

    • base: GetterOfOr<number | IRange>

    Returns default

Properties

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

Methods

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

    Parameters

    Returns default<HTMLElement>

  • Returns string[]

  • Returns undefined | string | IIcon

  • 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 default

  • Call when this info provider should be refreshed.

    Returns default

  • Call when this info provider should be removed.

    Returns default

  • Parameters

    • Optional translation: GetterOfOr<undefined | default>
    • preferred: boolean = false

    Returns default

  • Returns default

  • Parameters

    • amount: GetterOfOr<number>

    Returns default

  • Parameters

    • Optional translation: GetterOfOr<undefined | default>

    Returns default

  • Returns default

  • Parameters

    Returns default

  • Returns default

  • Parameters

    • isModifier: boolean = true

    Returns default

  • Parameters

    • isMultiplied: boolean = true

    Returns default

  • Not compatible with setNumberTranslator.

    Parameters

    • isPercentage: boolean = true
    • premultiplied: boolean = false

    Returns default

  • Returns default

  • Returns default

  • Parameters

    • translator: ((number: number | IRange) => default)
        • (number: number | IRange): default
        • Parameters

          • number: number | IRange

          Returns default

    Returns default

  • Parameters

    • Optional quality: Quality
    • Optional modifier: number | IRange

    Returns default

  • Parameters

    • Optional skill: SkillType
    • Optional modifier: number | IRange

    Returns default

Generated using TypeDoc