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{}

  1. 0_
  2. 1phases:
  3. 2action:
    function(SwiftUI.KeyPress) -> SwiftUI.KeyPress.Resultescaping

result{}

opaquesome SwiftUI.View