Can be used to update stuff like buttons which depend on how many crystals
you have
Returns void
helperInitDiv
helperInitDiv(className: any): void
Helper method to create the tooltip div
Parameters
className: any
Returns void
initialize
initialize(): void
Should initialize the part
Returns void
onCleanup
onCleanup(): void
Cleanup callback, override to perform additional cleanupĆ¼ work
Returns void
onStructureEnhanced
onStructureEnhanced(): void
Override if this tooltip part depends on the structures enhancements
Returns void
onTooltipClosed
onTooltipClosed(): void
On close handler. Parts are not directly destroyed, only when the tooltip
is finally hidden (after 500ms or so). However, this gets called when the tooltip
was closed
Returns void
parentTo
parentTo(parent: any): void
Appends the part to a given parent
Parameters
parent: any
Returns void
removeWholeContent
removeWholeContent(): void
Cleans up the whole div contents, also clears up keybindings
Base implementation of every tooltip part