clone,_.clone

Function Description
Clones selected element or UPJSObject and returns it.
Function prototype
_.clone(element). Clones the @element and returns it. Clones the UPJSObject and returns it.
Function parameters
@element - dom element
Sample HTML DIV element is given to try UPJS function.
Orange DIV
Apple DIV
  • apple 1
  • apple 2
Code area to try out clone,_.clone function.