MCPcopy Create free account
hub / github.com/codecombat/codecombat / afterRender

Method afterRender

app/views/core/VueComponentView.js:33–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 }
32
33 afterRender() {
34 if (this.vueComponent) {
35 this.$el.find('#site-content-area').replaceWith(this.vueComponent.$el)
36 }
37 else{
38 this.vueComponent = this.buildVueComponent()
39 window.rootComponent = this.vueComponent
40 }
41
42 super.afterRender()
43 }
44
45 destroy() {
46 this.vueComponent.$destroy()

Callers

nothing calls this directly

Calls 1

buildVueComponentMethod · 0.95

Tested by

no test coverage detected