Type module
Sources
Items from Object can be imported/included and used via following ways.
/** * -------------------------------------------------------- * Import via main package: core.ts * Access items like: am5.object.myVariable * am5.object.myFunction() * -------------------------------------------------------- */ import * as am5 from "@amcharts/amcharts5"; /** * -------------------------------------------------------- * Import via: Object.ts * Access items like: $object.myVariable * $object.myFunction() * -------------------------------------------------------- */ import * as $object from "@amcharts/amcharts5/Object";
/** * -------------------------------------------------------- * Include via "index.js" * E.g.: "https://cdn.amcharts.com/lib/5/index.js" * Access items like: am5.object.myVariable * am5.object.myFunction() * -------------------------------------------------------- */
Variables
Object does not have any variables.
Functions
copy( array: ) |
Returns Returns a copy of the |
---|---|
each( array: ) |
Returns Iterates through all items in array and calls |
eachContinue( array: ) |
Returns Iterates through all properties of the object calling If return value of the function evaluates to |
eachOrdered( object: ) |
Returns Orders object properties using custom |
hasKey( object: ) |
Returns Checks if |
keys( object: ) |
Returns |
keysOrdered( object: ) |
Returns Returns an array of object's property names ordered using specific ordering function. |
softCopyProperties( source: ) |
Returns Copies all properties of one object to the other, omitting undefined, but only if property in target object doesn't have a value set. @todo Maybe consolidate with utils.copy? |