struct AgentIdentifiedView
Swift
struct AgentIdentifiedView<Content> where Content : View
Attaches a stable agent id to the content's root layout box.
Sources/LavaUI/AgentId.swift:13
Constructors
init(agentId: String, content: Content)
Not documented.
Sources/LavaUI/AgentId.swift:17
Properties
var agentId: String
Not documented.
Sources/LavaUI/AgentId.swift:14
var content: Content
Not documented.
Sources/LavaUI/AgentId.swift:15
var dumpDetail: String { get }
Not documented.
Sources/LavaUI/AgentId.swift:22
Methods
func agentId(_ id: String) -> AgentIdentifiedView<Content>
Collapse .agentId("a").agentId("b") → outer id wins (last in chain).
Sources/LavaUI/AgentId.swift:87
func mountPrimitive() -> any AnyViewNode
Not documented.
Sources/LavaUI/AgentId.swift:32
func reconcilePrimitive(_ node: any AnyViewNode) -> any AnyViewNode
Not documented.
Sources/LavaUI/AgentId.swift:36
func structureLines(indent: Int = 0) -> [String]
Not documented.
Sources/LavaUI/AgentId.swift:24