Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUiScreen<T>

Type parameters

  • T

Hierarchy

Implemented by

Index

Properties

Optional bindCatcher

bindCatcher: number

bindingManagerId

bindingManagerId: number

data

data: DOMStringMap

jsonData

jsonData: DOMStringMap & T

Methods

addClass

  • addClass(...classes: string[]): this
  • Parameters

    • Rest ...classes: string[]

    Returns this

append

  • append(elements: Array<HTMLElement | IUiElement>): this
  • Parameters

    Returns this

appendTo

  • appendTo(element: string | HTMLElement | IUiElement): this

bindElements

  • bindElements(): void
  • Returns void

cancel

  • cancel(event: string | number | Array<string | number>, callback: function): void
  • Parameters

    • event: string | number | Array<string | number>
    • callback: function
        • (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns void

contains

  • contains(what: string | HTMLElement | IUiElement): boolean

findDescendants

  • findDescendants(selector: string): NodeListOf<Element>
  • Parameters

    • selector: string

    Returns NodeListOf<Element>

getMenu

  • Returns IMenu | undefined

  • Parameters

    Returns IMenu | undefined

  • Parameters

    Returns IMenu | undefined

hide

  • hide(...args: any[]): Promise<void>
  • hide(): void
  • Parameters

    • Rest ...args: any[]

    Returns Promise<void>

  • Returns void

isVisible

  • isVisible(): boolean
  • isVisible(): void

on

  • on(event: string | number | Array<string | number>, callback: function): void
  • Parameters

    • event: string | number | Array<string | number>
    • callback: function
        • (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns void

Optional onBindLoop

onGameEnd

  • onGameEnd(showBlocker: boolean): void
  • Parameters

    • showBlocker: boolean

    Returns void

remove

  • remove(removeFromParent?: boolean): Promise<void>
  • Parameters

    • Optional removeFromParent: boolean

    Returns Promise<void>

removeChild

  • removeChild(child: IUiElement, removeChild?: boolean): void

removeClass

  • removeClass(...classes: string[]): this
  • Parameters

    • Rest ...classes: string[]

    Returns this

selector

  • selector(): string
  • Returns string

show

  • show(...args: any[]): Promise<void>
  • show(data?: any): void
  • Parameters

    • Rest ...args: any[]

    Returns Promise<void>

  • Parameters

    • Optional data: any

    Returns void

showTooltip

  • showTooltip(): void

toggle

  • toggle(visible: boolean, ...args: any[]): Promise<void>
  • Parameters

    • visible: boolean
    • Rest ...args: any[]

    Returns Promise<void>

trigger

unbindElements

  • unbindElements(): void
  • Returns void

Generated using TypeDoc