Class EngineRanking

Hierarchy

Implements

Constructors

Properties

ranking: Ranking
EVENT_HIGHLIGHT_CHANGED: "highlightChanged" = RankingEvents.EVENT_HIGHLIGHT_CHANGED
EVENT_RECREATE: "recreate" = RankingEvents.EVENT_RECREATE
EVENT_UPDATE_DATA: "updateData" = RankingEvents.EVENT_UPDATE_DATA
EVENT_WIDTH_CHANGED: "widthChanged" = RankingEvents.EVENT_WIDTH_CHANGED

Accessors

  • get id(): string
  • Returns string

Methods

  • Parameters

    Returns HTMLElement | IAsyncUpdate<HTMLElement>

  • Parameters

    Returns HTMLElement | IAsyncUpdate<HTMLElement>

  • Parameters

    • node: HTMLElement
    • rowIndex: number

    Returns void

  • Returns void

  • Parameters

    • callback: ((row, rowIndex) => void)
        • (row, rowIndex): void
        • Parameters

          • row: HTMLElement
          • rowIndex: number

          Returns void

    • inplace: boolean = false

    Returns void

  • Parameters

    • type: "widthChanged"
    • listener: (() => void)
        • (): void
        • emitted when the width of the ranking changed

          Returns void

          As Member Of

          EngineRanking

          Group

          Events

    Returns this

  • Parameters

    • type: "updateData"
    • listener: (() => void)
        • (): void
        • emitted when the data of the ranking needs to be updated

          Returns void

          As Member Of

          EngineRanking

          Group

          Events

    Returns this

  • Parameters

    • type: "recreate"
    • listener: (() => void)
        • (): void
        • emitted when the table has be recreated

          Returns void

          As Member Of

          EngineRanking

          Group

          Events

    Returns this

  • Parameters

    • type: "highlightChanged"
    • listener: ((dataIndex) => void)
        • (dataIndex): void
        • emitted when the highlight changes

          Parameters

          • dataIndex: number

            the highlighted data index or -1 for none

          Returns void

          As Member Of

          EngineRanking

          Group

          Events

    Returns this

  • Parameters

    Returns this

  • Parameters

    • visible: boolean

    Returns void

  • Parameters

    • canvas: HTMLCanvasElement
    • node: HTMLElement
    • index: number
    • column: RenderColumn
    • x: number

    Returns void

  • Parameters

    Returns HTMLElement | IAsyncUpdate<HTMLElement>

  • Returns void

  • Parameters

    Returns HTMLElement | IAsyncUpdate<HTMLElement>

  • Parameters

    • node: HTMLElement
    • rowIndex: number
    • Optional hoverLod: "high" | "low"

    Returns void

  • Parameters

    • selectedDataIndices: {
          has(i): boolean;
      }

    Returns void

  • Parameters

    • top: number
    • left: number

    Returns void