Methods
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 a date string into an object, changes - into /
Name | Type | Description |
---|---|---|
dateStr |
string | Date string |
format |
string | Date parse format |