dataCollectionItem

fun <CI : HTMLElement> RenderContext.dataCollectionItem(item: T, classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<CI>>, initialize: DataCollection.DataCollectionItems.DataCollectionItem<CI, CI, T, C>.() -> Unit): Tag<CI>

Factory function to create a dataCollectionItem.

For more information refer to the official documentation


fun RenderContext.dataCollectionItem(item: T, classes: String? = null, id: String? = null, internalScope: ScopeContext.() -> Unit = {}, initialize: DataCollection.DataCollectionItems.DataCollectionItem<HTMLDivElement, CI, T, C>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a dataCollectionItem with a HTMLDivElement as default Tag.

For more information refer to the official documentation