LavaUI docs GitHub

struct EnvironmentModifiedView

Swift

struct EnvironmentModifiedView<Content> where Content : View

Wraps content with an environment override active for its own mount/reconcile call — i.e. for its whole subtree, not just its own node. Delegates entirely to content's node; this adds no Yoga node.

Sources/LavaUI/Environment.swift:73

Properties

var content: Content

The subtree the override applies to.

Sources/LavaUI/Environment.swift:75

Methods

func mountPrimitive() -> any AnyViewNode

Not documented.

Sources/LavaUI/Environment.swift:83

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

Not documented.

Sources/LavaUI/Environment.swift:89

func structureLines(indent: Int = 0) -> [String]

Not documented.

Sources/LavaUI/Environment.swift:79