repeat

open fun repeat(count: Int, consumer: ComponentBuilder.(Int) -> Unit): ComponentBuilder

Repeats the given action specified number of times.

Return

this component builder for chaining

Parameters

count

the number of times to repeat

consumer

the action to repeat