kvision / pl.treksoft.kvision.html / Image / image

image

fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image

DSL builder extension function.

It takes the same parameters as the constructor of the built component.