GaugeFavoriteToggle

struct GaugeFavoriteToggle : View

A button that toggles the favorite status of a gauge

  • gaugeID: The ID of the gauge to toggle

Lifecycle

  • Undocumented

    Declaration

    Swift

    init(gaugeID: PersistentIdentifier)

Internal

  • Undocumented

    Declaration

    Swift

    @Environment
    var modelContext: ModelContext { get }
  • Undocumented

    Declaration

    Swift

    var gauges: [Gauge] { get }
  • Undocumented

    Declaration

    Swift

    var gauge: Gauge? { get }
  • Declaration

    Swift

    var body: some View { get }