@amcharts/amcharts5
Version:
amCharts 5
33 lines • 1.09 kB
TypeScript
/** @ignore */ /** */
import { Sprite } from "../render/Sprite";
/**
* Populates the curly-bracket placeholders with actual values from a [[Sprite]].
*
* @param target Target Sprite
* @param string Target text
* @returns Populated text
*/
export declare function populateString(target: Sprite, string: string): string;
/**
* Returns an abstract value from the target [[Sprite]]'s data item, settings,
* properties or parents.
*
* @param target Target Sprite
* @param tagName Tage to extract value for
* @param format Format for the value
* @returns Value
*/
export declare function getTagValue(target: Sprite, tagName: string, format?: string): string;
/**
* Returns a value from target [[Sprite]]'s `customData`.
*
* @param target Target Sprite
* @param prop Key
* @returns Value
*/
export declare function getCustomDataValue(target: Sprite, prop: string): any;
/**
* @ignore
*/
export declare function getTagValueFromObject(target: Sprite, parts: any[], object: any, format?: string): any;
//# sourceMappingURL=PopulateString.d.ts.map