PopulateString
Type module
Sources
Items from PopulateString can be imported/included and used via following ways.
/** * Import via: PopulateString.ts * Access items like: $populatestring.myVariable */import * as $populatestring from "@amcharts/amcharts5/PopulateString";Variables
PopulateString does not have any variables.
Functions
getCustomDataValue(target:Sprite,
prop:string)Returns
anyReturns a value from target
Sprite'scustomData.getTagValue(target:Sprite,
tagName:string,
format?:undefined|string)Returns
stringReturns an abstract value from the target
Sprite's data item, settings, properties or parents.populateString(target:Sprite,
string:string)Returns
stringPopulates the curly-bracket placeholders with actual values from a
Sprite.