ktor-html-builder / io.ktor.html / PlaceholderItem

PlaceholderItem

class PlaceholderItem<TOuter> : Placeholder<TOuter>

Item of a placeholder list when it is expanded

Constructors

<init>

PlaceholderItem(index: Int, collection: List<PlaceholderItem<TOuter>>)

Item of a placeholder list when it is expanded

Properties

collection

val collection: List<PlaceholderItem<TOuter>>

first

val first: Boolean

index

val index: Int

last

val last: Boolean

Inherited Properties

meta

var meta: String

Inherited Functions

apply

fun apply(destination: TOuter): Unit

invoke

operator fun invoke(meta: String = "", content: TOuter.(Placeholder<TOuter>) -> Unit): Unit