kvision / pl.treksoft.kvision.core / UNIT

UNIT

enum class UNIT

Definitions of CSS units.

Enum Values

px

pt

em

cm

mm

in

pc

ch

rem

vw

vh

vmin

vmax

perc

auto

normal

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.