genKeyFilter() — vue Function Reference
Architecture documentation for the genKeyFilter() function in events.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 9e88ae26_c3de_41d2_6817_dceb4c07b83e["genKeyFilter()"] 1eb92e3a_9784_90ee_bcf1_3c3fdc158d98["genHandler()"] 1eb92e3a_9784_90ee_bcf1_3c3fdc158d98 -->|calls| 9e88ae26_c3de_41d2_6817_dceb4c07b83e style 9e88ae26_c3de_41d2_6817_dceb4c07b83e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/codegen/events.ts lines 145–153
function genKeyFilter(keys: Array<string>): string {
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
`if(!$event.type.indexOf('key')&&` +
`${keys.map(genFilterCode).join('&&')})return null;`
)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does genKeyFilter() do?
genKeyFilter() is a function in the vue codebase.
What calls genKeyFilter()?
genKeyFilter() is called by 1 function(s): genHandler.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free