Self ng.Component.set () vs. 1.1.0 Full+Lite

Sets the ng.Component default values and prepare it's HTML structure. This method should be called for all components after the ID is created using the ng.Component.make_id and before setting any HTML content. If the object (HTML Element) is not set in the options, this function will create a new DIV and append it to the bottom of the body.

Return

Self Required vs. 1.1.0 Full+Lite
The original Component object.

Examples

Using ng.Component.set()
Demo: