struct Divider
Swift
struct Divider
A hairline rule separating content.
Orientation is inferred from the container: horizontal inside a VStack,
vertical inside an HStack. That inference has to happen late — a view is
built before it is inserted anywhere, so at construction time there is
nothing to ask. The node reads its Yoga owner instead, which is set by the
time layout and emit run. Pass an axis explicitly to override it.
Sources/LavaUI/Divider.swift:10
Constructors
init(_ axis: DividerAxis? = nil, style: DividerStyle = DividerStyle())
Not documented.
Sources/LavaUI/Divider.swift:14
Properties
var axis: DividerAxis?
Not documented.
Sources/LavaUI/Divider.swift:11
var dumpDetail: String { get }
Not documented.
Sources/LavaUI/Divider.swift:19
var style: DividerStyle
Not documented.
Sources/LavaUI/Divider.swift:12
Methods
func mountPrimitive() -> any AnyViewNode
Not documented.
Sources/LavaUI/Divider.swift:21
func reconcilePrimitive(_ node: any AnyViewNode) -> any AnyViewNode
Not documented.
Sources/LavaUI/Divider.swift:28