Methods
createLinkReplacement(href, body, classNames) → {object}
Create link to replace the original element
Parameters:
Name | Type | Description |
---|---|---|
href |
string
|
value to apply to link |
body |
string
|
body to insert to link |
classNames |
string
|
values to add to the link |
Returns:
- Type:
-
object
link - DOM element