LavaUI docs GitHub

struct EmptyView

Swift

struct EmptyView

A view that shows nothing and takes no space.

What an empty @ViewBuilder block or an if with no else produces. It still occupies a slot in its parent, sized zero.

Sources/LavaUI/EmptyView.swift:5

Constructors

init()

Creates an empty view.

Sources/LavaUI/EmptyView.swift:7

Properties

var dumpDetail: String { get }

Not documented.

Sources/LavaUI/EmptyView.swift:9

Methods

func mountPrimitive() -> any AnyViewNode

Not documented.

Sources/LavaUI/EmptyView.swift:11

func reconcilePrimitive(_ node: any AnyViewNode) -> any AnyViewNode

Not documented.

Sources/LavaUI/EmptyView.swift:15