MCPcopy
hub / github.com/wavetermdev/waveterm / Key

Method Key

pkg/vdom/vdom.go:47–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func (e *VDomElem) Key() string {
48 keyVal, ok := e.Props[KeyPropKey]
49 if !ok {
50 return ""
51 }
52 keyStr, ok := keyVal.(string)
53 if ok {
54 return keyStr
55 }
56 return ""
57}
58
59func (e *VDomElem) WithKey(key string) *VDomElem {
60 if e == nil {

Callers 10

TypeToTSTypeFunction · 0.80
convertArgumentFunction · 0.80
baseValidateServiceArgFunction · 0.80
setFieldValueFunction · 0.80
validateCFuncFunction · 0.80
renderMethod · 0.80
renderChildrenMethod · 0.80
isStringMapTypeFunction · 0.80
validateCFuncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected