Skip to content

bio-tooltips


Functions ​

getMyChemNestedTooltipDefinitions() ​

getMyChemNestedTooltipDefinitions(data, config, uniqueId): NestedTooltipDefinition[]

Defined in: providers/mychem/renderer.ts:707

Parameters ​

data ​

MyChemInfoResult

config ​

MyChemTooltipConfig

uniqueId ​

string

Returns ​

NestedTooltipDefinition[]


installChemicalStructureImageFallback() ​

installChemicalStructureImageFallback(root): void

Defined in: providers/mychem/renderer.ts:311

Replace an unavailable remote structure image with an explicit fallback.

Parameters ​

root ​

ParentNode

Returns ​

void


renderMyChemTooltipFromConfig() ​

renderMyChemTooltipFromConfig(data, uniqueId, config): string

Defined in: providers/mychem/renderer.ts:152

Parameters ​

data ​

MyChemInfoResult | null | undefined

uniqueId ​

string

config ​

MyChemTooltipConfig

Returns ​

string


renderTooltipHTML() ​

renderTooltipHTML(data, options?): string

Defined in: providers/mychem/renderer.ts:70

Parameters ​

data ​

MyChemInfoResult | null | undefined

options? ​

RenderOptions = {}

Returns ​

string