BackgroundConfig

enum BackgroundConfig
extension BackgroundConfig : Comparable, Equatable

Custom Background Configuration for first party consumers.

  • Compare .all cases as always preceeding any .page cases this helps with z-stack insertion

    Declaration

    Swift

    static func < (lhs: BackgroundConfig, rhs: BackgroundConfig) -> Bool
  • Apply backgrounds to all pages.

    Declaration

    Swift

    case all(backgrounds: [Background])
  • Apply backgrounds to a specific page with a specific id

    Declaration

    Swift

    case page(id: StaticIdentifier, backgrounds: [Background])