Skip to content

Root

Type module

Sources

Items from Root can be imported/included and used via following ways.

/**
* Import via: Root.ts
* Access items like: $root.myVariable
*/
import * as $root from "@amcharts/amcharts5/Root";

Variables

brandings

Type WeakMapDefault new WeakMap()

forcedColorsQuery

Type MediaQueryList | null | undefined

systemColors

Type object | undefined

Functions

brandingAt(value: any,
end: boolean
)

Returns boolean

brandingCorner(root: Root)

Returns string

brandingGone(root: Root,
state: IBranding
)

Returns boolean

brandingKeys()

Returns number

brandingOf(root: Root)

Returns IBranding

brandingOff(root: Root,
state: IBranding
)

Returns boolean

brandingPartOff(sprite: Sprite,
parent?: Container
)

Returns boolean

brandingRight(state: IBranding)

Returns boolean

brandingSize(root: Root)

Returns void

brandingTop(state: IBranding)

Returns boolean

buildBranding(root: Root,
state: IBranding,
again?: undefined | false | true
)

Returns void

checkBranding(root: Root,
state: IBranding
)

Returns void

endBranding(root: Root)

Returns void

getForcedColorsQuery()

Returns MediaQueryList | null

getSystemColors()

Returns object

placeBranding(mark: Container,
state: IBranding
)

Returns void

rAF(fps: number | undefined,
callback: (currentTime: number) => void
)

Returns void

setAttr(element: Element,
name: string,
value: string | null
)

Returns void

showBranding(root: Root)

Returns void