Defined in src/game/ui/tooltip/TooltipManager.ts:23
Constructors
constructor
new default( ) : default
Defined in src/game/ui/tooltip/TooltipManager.ts:36
Properties
Readonly
main
Defined in src/game/ui/tooltip/TooltipManager.ts:29
Readonly
surface Wrapper
surface
Wrapper
: default < HTMLElement > = ...
Defined in src/game/ui/tooltip/TooltipManager.ts:25
Readonly
surfaces
Defined in src/game/ui/tooltip/TooltipManager.ts:32
Methods
create Surface
create Surface( ) : TooltipSurface
Defined in src/game/ui/tooltip/TooltipManager.ts:93
disable
disable( disabler: any ) : default
Defined in src/game/ui/tooltip/TooltipManager.ts:74
enable
enable( disabler: any ) : default
Defined in src/game/ui/tooltip/TooltipManager.ts:88
has
has( host?: HTMLElement ) : boolean
Parameters
Optional
host: HTMLElement
Returns boolean
Defined in src/game/ui/tooltip/TooltipManager.ts:44
hide
hide( host?: undefined | HTMLElement ) : boolean
Parameters
host: undefined | HTMLElement = ...
Returns boolean
Defined in src/game/ui/tooltip/TooltipManager.ts:60
Protected
on Interrupt
on Interrupt( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:101
Protected
on Interrupt Close
on Interrupt Close( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:107
Protected
on Move
on Move( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:119
Protected
on Screen Resize
on Screen Resize( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:112
Protected
on Toggle More Info
on Toggle More Info( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:126
show
show( host: HTMLElement , initialize?: ( ( tooltip: default ) => any ) ) : undefined | default
Parameters
host: HTMLElement
Optional
initialize: ( ( tooltip: default ) => any )
( tooltip: default ) : any
Returns any
Returns undefined | default
Defined in src/game/ui/tooltip/TooltipManager.ts:48
Disables tooltips. Note: Multiple things can cause tooltips to be disabled simultaneously; tooltips won't be re-enabled until every disabler has been removed via
enable(disabler)
.