EarthSDK Global

Methods

getTarget(node)Node

Get target DOM Node
Name Type Default Description
node Node | string | Boolean document.body optional DOM Node, CSS selector, or Boolean
Returns:
The target that the el will be appended to

parse(dateStr, format)Date|boolean

Parse a date string into an object, changes - into /
Name Type Description
dateStr string Date string
format string Date parse format
Returns: