MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / renderText

Method renderText

pkg/vdom/vdom_root.go:317–321  ·  view source on GitHub ↗
(text string, comp **ComponentImpl)

Source from the content-addressed store, hash-verified

315}
316
317func (r *RootElem) renderText(text string, comp **ComponentImpl) {
318 if (*comp).Text != text {
319 (*comp).Text = text
320 }
321}
322
323func (r *RootElem) renderChildren(elems []VDomElem, curChildren []*ComponentImpl) []*ComponentImpl {
324 newChildren := make([]*ComponentImpl, len(elems))

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected