CssProperty

class CssProperty<T>(val name: String, val inherited: Boolean, val initial: T, val parse: (String) -> T?)(source)

A property of CSS: its name, whether it is inherited by default, its initial value, and how a value is parsed from text, null when the text is not a valid value

Constructors

Link copied to clipboard
constructor(name: String, inherited: Boolean, initial: T, parse: (String) -> T?)

Properties

Link copied to clipboard
Link copied to clipboard
val initial: T
Link copied to clipboard
Link copied to clipboard
val parse: (String) -> T?