Child

public struct Child
extension Overlay.Child: ElementBuilderChild

The child of an Overlay.

  • The child element

    Declaration

    Swift

    public var element: Element
  • key

    An optional key to disambiguate between view updates

    Declaration

    Swift

    public var key: AnyHashable?
  • Create a new child.

    Declaration

    Swift

    public init(element: Element, key: AnyHashable? = nil)
  • Declaration

    Swift

    public init(_ element: Element)