tasks/init/enyo/root/enyo/source/dom/Control.js
function(inParentNode) {
		// clean up render flags and memoizations
		this.teardownRender();
		// inParentNode can be a string id or a node reference
		var pn = enyo.dom.byId(inParentNode);
		if (pn == document.body) {
			this.setupBodyFitting();
		} else if (this.fit) {
			this.addClass("enyo-fit enyo-clip");
		}
		// generate our HTML
		pn.innerHTML = this.generateHtml();
		// post-rendering tasks
		this.rendered();
		// support method chaining
		return this;
	}
function(inParentNode) {
		// clean up render flags and memoizations
		this.teardownRender();
		// inParentNode can be a string id or a node reference
		var pn = enyo.dom.byId(inParentNode);
		if (pn == document.body) {
			this.setupBodyFitting();
		} else if (this.fit) {
			this.addClass("enyo-fit enyo-clip");
		}
		// generate our HTML
		pn.innerHTML = this.generateHtml();
		// post-rendering tasks
		this.rendered();
		// support method chaining
		return this;
	}
function ( inParentNode ) { // clean up render flags and memoizations this . teardownRender ( ) ; // inParentNode can be a string id or a node reference var pn = enyo . dom . byId ( inParentNode ) ; if ( pn == document . body ) { this . setupBodyFitting ( ) ; } else if ( this . fit ) { this . addClass ( "enyo-fit enyo-clip" ) ; } // generate our HTML pn . innerHTML = this . generateHtml ( ) ; // post-rendering tasks this . rendered ( ) ; // support method chaining return this ; }
Renders this object into the DOM node referenced by _inParentNode_.
If rendering into the document body element, appropriate styles will
be used to have it expand to fill the whole window.
Renders this object into the DOM node referenced by _inParentNode_ . If rendering into the document body element appropriate styles will be used to have it expand to fill the whole window .