(elem *vdom.VDomElem)
| 26 | } |
| 27 | |
| 28 | func getElemKey(elem *vdom.VDomElem) string { |
| 29 | if elem == nil { |
| 30 | return "" |
| 31 | } |
| 32 | keyVal, ok := elem.Props[vdom.KeyPropKey] |
| 33 | if !ok { |
| 34 | return "" |
| 35 | } |
| 36 | return fmt.Sprint(keyVal) |
| 37 | } |
| 38 | |
| 39 | func (r *RootElem) render(elem *vdom.VDomElem, comp **ComponentImpl, containingComp string, opts *RenderOpts) { |
| 40 | if elem == nil || elem.Tag == "" { |
no outgoing calls
no test coverage detected