isNotInFocusAndDirty() — vue Function Reference
Architecture documentation for the isNotInFocusAndDirty() function in dom-props.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 60858876_2917_f73e_3ad7_f5fe60a740e2["isNotInFocusAndDirty()"] d7bc95ed_392e_2e43_43b1_8fd956c82f6a["shouldUpdateValue()"] d7bc95ed_392e_2e43_43b1_8fd956c82f6a -->|calls| 60858876_2917_f73e_3ad7_f5fe60a740e2 style 60858876_2917_f73e_3ad7_f5fe60a740e2 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.
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