convertEnumeratedValue() — vue Function Reference
Architecture documentation for the convertEnumeratedValue() function in attrs.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD e81b4a7f_3bfb_cc01_6190_082e049a819f["convertEnumeratedValue()"] 5a73be1a_07f5_5a0a_d729_edcdc84b830c["renderAttr()"] 5a73be1a_07f5_5a0a_d729_edcdc84b830c -->|calls| e81b4a7f_3bfb_cc01_6190_082e049a819f be84ae86_7e3e_7fb3_974f_c30a863dbaf5["isFalsyAttrValue()"] e81b4a7f_3bfb_cc01_6190_082e049a819f -->|calls| be84ae86_7e3e_7fb3_974f_c30a863dbaf5 style e81b4a7f_3bfb_cc01_6190_082e049a819f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/util/attrs.ts lines 28–35
export const convertEnumeratedValue = (key: string, value: any) => {
return isFalsyAttrValue(value) || value === 'false'
? 'false'
: // allow arbitrary string value for contenteditable
key === 'contenteditable' && isValidContentEditableValue(value)
? value
: 'true'
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does convertEnumeratedValue() do?
convertEnumeratedValue() is a function in the vue codebase.
What does convertEnumeratedValue() call?
convertEnumeratedValue() calls 1 function(s): isFalsyAttrValue.
What calls convertEnumeratedValue()?
convertEnumeratedValue() is called by 1 function(s): renderAttr.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free