SwiftstructSearchToShareCore
SearchHeaderContainer
struct SearchToShareCore.SearchHeaderContainer
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 13
- field
var _viewModel: SwiftUI.Bindable<SearchToShareCore.SearchViewModel> - field
let bottomSuggestions: [SFSearchSuggestion] - field
var onCancelTapped: () -> () - field
var onCompletionRequested: (String) -> () - field
var onDownArrowKey: (() -> ())? - field
var onEscapeKey: (() -> ())? - field
var onSearchActivated: () -> () - field
var onSearchSubmitted: (String) -> () - field
var onSuggestionSelected: (Int) -> () - field
var onTextDeleted: () -> () - field
var onUpArrowKey: (() -> ())? - field
let topSuggestions: [SFSearchSuggestion] - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI.Group<SwiftUI._ConditionalContent<SearchToShareCore.ZKWBrowserHeaderView, SearchToShareCore.SearchBrowserHeaderView>>, SwiftUI._AnimationModifier<SearchToShareCore.SearchViewState>>
Header
struct SearchHeaderContainer { // synthesized from the backing storage `_viewModel`; the property's own accessors are stripped @SwiftUI.Bindable var viewModel: SearchToShareCore.SearchViewModel { get set } let topSuggestions: [__C.SFSearchSuggestion] let bottomSuggestions: [__C.SFSearchSuggestion] var onSearchActivated: () -> () var onSearchSubmitted: (_: Swift.String) -> () var onCancelTapped: () -> () var onSuggestionSelected: (_: Swift.Int) -> () var onCompletionRequested: (_: Swift.String) -> () var onTextDeleted: () -> () var onDownArrowKey: (() -> ())? var onUpArrowKey: (() -> ())? var onEscapeKey: (() -> ())? }