isNotInFocusAndDirty() — vue Function Reference
Architecture documentation for the isNotInFocusAndDirty() function in dom-props.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 6bbe7b59_ddbc_568a_d119_4c19d707ec3a["isNotInFocusAndDirty()"] 499981ef_61ac_579c_c134_3ae2dc9cdf2c["dom-props.ts"] 6bbe7b59_ddbc_568a_d119_4c19d707ec3a -->|defined in| 499981ef_61ac_579c_c134_3ae2dc9cdf2c ba11f329_5ed3_3b31_8065_b8457a568973["shouldUpdateValue()"] ba11f329_5ed3_3b31_8065_b8457a568973 -->|calls| 6bbe7b59_ddbc_568a_d119_4c19d707ec3a style 6bbe7b59_ddbc_568a_d119_4c19d707ec3a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/runtime/modules/dom-props.ts lines 94–104
function isNotInFocusAndDirty(elm: acceptValueElm, checkVal: string): boolean {
// return true when textbox (.number and .trim) loses focus and its value is
// not equal to the updated value
let notInFocus = true
// #6157
// work around IE bug when accessing document.activeElement in an iframe
try {
notInFocus = document.activeElement !== elm
} catch (e: any) {}
return notInFocus && elm.value !== checkVal
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isNotInFocusAndDirty() do?
isNotInFocusAndDirty() is a function in the vue codebase, defined in src/platforms/web/runtime/modules/dom-props.ts.
Where is isNotInFocusAndDirty() defined?
isNotInFocusAndDirty() is defined in src/platforms/web/runtime/modules/dom-props.ts at line 94.
What calls isNotInFocusAndDirty()?
isNotInFocusAndDirty() is called by 1 function(s): shouldUpdateValue.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free