SwiftfuncSwiftUISwiftUI.View
onKeyPress
SwiftUI.View.onKeyPress(_: SwiftUI.KeyEquivalent, phases: SwiftUI.KeyPress.Phases, action: (SwiftUI.KeyPress) -> SwiftUI.KeyPress.Result) -> some SwiftUI.View
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0_structSwiftUI.KeyEquivalent
- 1phases:structSwiftUI.KeyPress.Phases
- 2action:function
(SwiftUI.KeyPress) -> SwiftUI.KeyPress.Resultescaping
result{}
opaque
some SwiftUI.View