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:89
disable
disable( disabler: any ) : default
Defined in src/game/ui/tooltip/TooltipManager.ts:70
enable
enable( disabler: any ) : default
Defined in src/game/ui/tooltip/TooltipManager.ts:84
hide
hide( host?: undefined | HTMLElement ) : boolean
Parameters
host: undefined | HTMLElement = ...
Returns boolean
Defined in src/game/ui/tooltip/TooltipManager.ts:56
Protected
on Interrupt
on Interrupt( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:97
Protected
on Interrupt Close
on Interrupt Close( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:103
Protected
on Move
on Move( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:115
Protected
on Screen Resize
on Screen Resize( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:108
Protected
on Toggle More Info
on Toggle More Info( ) : void
Returns void
Defined in src/game/ui/tooltip/TooltipManager.ts:122
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:44
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)
.