void ng.Element.replace (Mixed elm) vs. 1.1.0 Full+Lite

Replace the current HTML Element with the given elm HTML Element.


Mixed elm Required vs. 1.1.0 Full+Lite
The HTML Element to replace the current HTML Element. This can be one of the following:
  • String: the replacement HTML Element ID
  • HTML Element


Using ng.Element.replace(elm)
Main Div will be replaced.
This div will take over.

API Menu