MCPcopy Create free account
hub / github.com/breck7/scroll / _mount

Method _mount

external/.scrollLibs.js:24696–24703  ·  view source on GitHub ↗
(stumpParticleToMountOn, index)

Source from the content-addressed store, hash-verified

24694 id ${this.getParticleComponentId()}`
24695 }
24696 _mount(stumpParticleToMountOn, index) {
24697 this._setLastRenderedTime(this._getProcessTimeInMilliseconds())
24698 this.particleComponentWillMount()
24699 this._mountCss()
24700 this._mountHtml(stumpParticleToMountOn, this._toLoadedOrLoadingStumpCode(), index) // todo: add index back?
24701 this._lastTimeToRender = this._getProcessTimeInMilliseconds() - this._getLastRenderedTime()
24702 return this
24703 }
24704 // todo: we might be able to squeeze virtual dom in here on the mountCss and mountHtml methods.
24705 _mountCss() {
24706 const css = this._css

Callers 1

Calls 7

_setLastRenderedTimeMethod · 0.95
_mountCssMethod · 0.95
_mountHtmlMethod · 0.95
_getLastRenderedTimeMethod · 0.95

Tested by

no test coverage detected