genKeyFilter() — vue Function Reference
Architecture documentation for the genKeyFilter() function in events.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 2e86aff9_9087_3007_3a13_5cc660e5f330["genKeyFilter()"] bca49f78_22f6_67df_05b8_fbb91a290777["genHandler()"] bca49f78_22f6_67df_05b8_fbb91a290777 -->|calls| 2e86aff9_9087_3007_3a13_5cc660e5f330 style 2e86aff9_9087_3007_3a13_5cc660e5f330 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