Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Interface

Index

Constructors

constructor

Accessors

Static updateInterval

  • get updateInterval(): number

Methods

Static addButton

  • addButton(callback: string | InterfaceTextFunction, onClick?: InterfaceClickCallback, position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "custom", options?: Object): void
  • Parameters

    • callback: string | InterfaceTextFunction
    • Optional onClick: InterfaceClickCallback
    • Optional position: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "custom"
    • Optional options: Object

    Returns void

Static addItem

  • addItem(callback: string | InterfaceTextFunction, position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "custom", options?: Object): void
  • Parameters

    • callback: string | InterfaceTextFunction
    • Optional position: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "custom"
    • Optional options: Object

    Returns void

Static Private addStyle

  • addStyle(style: string): void

Static Private addToDom

  • addToDom(item: InterfaceItem, index: number): void

Static getItems

  • getItems(): InterfaceItem[]

Static init

  • init(): void

Static Private internalAddItem

  • internalAddItem(callback: string | InterfaceTextFunction, position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "custom", options?: Object, onClick?: InterfaceClickCallback): void
  • Parameters

    • callback: string | InterfaceTextFunction
    • Optional position: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "custom"
    • Optional options: Object
    • Optional onClick: InterfaceClickCallback

    Returns void

Static setUpdateInterval

  • setUpdateInterval(rate: number): void

Static statsShift

  • statsShift(height: number): void

Static update

  • update(): void

Legend

  • Constructor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Property
  • Static method

Generated using TypeDoc