Initializersliemeobn.elementary 0.5.0Elementary
init(_:content:)
Creates a new ForEach
element with the given sequence and content builder closure.
init(_ sequence: Data, @HTMLBuilder content contentBuilder: @escaping (Data.Element) -> Content)
sequence: A sequence of data to render.
contentBuilder: A closure that builds the HTML content for each element in the sequence.