getStyle

fun getStyle(el: HTMLElement, styleAttrib: String): String?(source)

Returns the value for a certain style attribute on an element, including computed values or values set through CSS.