SwiftstructSwiftUI
ButtonActionModifier
struct SwiftUI.ButtonActionModifier
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.GestureViewModifier
- protocolSwiftUI.MultiViewModifier
- protocolSwiftUI.PrimitiveViewModifier
- protocolSwiftUI.ViewModifier
Members 5
Header
struct ButtonActionModifier<A> where A: SwiftUI.Gesture { struct PlatformSelectionBehavior { // synthesized from the backing storage `_modifier`; the property's own accessors are stripped @AttributeGraph.Attribute var modifier: SwiftUI.ButtonActionModifier<A> { get set } // synthesized from the backing storage `_isEnabled`; the property's own accessors are stripped @AttributeGraph.Attribute var isEnabled: Swift.Bool { get set } // synthesized from the backing storage `_springLoadingBehavior`; the property's own accessors are stripped @AttributeGraph.Attribute var springLoadingBehavior: SwiftUI.SpringLoadingBehavior { get set } } struct PlatformAction { // synthesized from the backing storage `_modifier`; the property's own accessors are stripped @AttributeGraph.Attribute var modifier: SwiftUI.ButtonActionModifier<A> { get set } } var gesture: A var action: () -> () }