PlaceDetailsCompactView
@MainActor
struct PlaceDetailsCompactView
extension PlaceDetailsCompactView : Sendable, View
-
Declaration
Swift
@MainActor var $query: Binding<PlaceDetailsQuery> { get }
-
The type of view representing the body of this view.
When you create a custom view, Swift infers this type from your implementation of the required
View/body-swift.property
property.Declaration
Swift
@available(watchOS, introduced: 6.0) @available(macOS, introduced: 10.15) @available(iOS, introduced: 13.0) @available(tvOS, introduced: 13.0) typealias Body = some View
-
All
PlaceDetailsCompactContent
types for the place details compact view.Declaration
Swift
@MainActor static let allContent: Set<PlaceDetailsCompactContent>
-
The body of the place details compact view.
Declaration
Swift
@MainActor @preconcurrency var body: some View { get }
-
The configuration of the place details compact view.
Declaration
Swift
@MainActor var configuration: PlaceDetailsCompactConfiguration
-
Initializer for the place details compact view.
Declaration
Swift
@MainActor init(orientation: PlaceDetailsViewOrientation = .vertical, query: Binding<PlaceDetailsQuery>, configuration: PlaceDetailsCompactConfiguration, placeDetailsCallback: @escaping (PlaceDetailsResult) -> Void)
Parameters
orientation
The orientation of the place details view.
query
The place details component query.
-
The orientation of the place details view.
Declaration
Swift
@MainActor var orientation: PlaceDetailsViewOrientation
-
The place details component query.
Declaration
Swift
@Binding @MainActor var query: PlaceDetailsQuery { get nonmutating set }
-
The standard
PlaceDetailsCompactContent
types for the place details compact view.Declaration
Swift
@MainActor static let standardContent: Set<PlaceDetailsCompactContent>