MediaQueryList

JS
1.1
abstract class MediaQueryList : EventTarget

Exposes the JavaScript MediaQueryList to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript MediaQueryList to Kotlin

MediaQueryList()

Properties

JS
1.1

matches

open val matches: Boolean
JS
1.1

media

open val media: String
JS
1.1

onchange

open var onchange: (Event) -> dynamic

Functions

JS
1.1

addListener

fun addListener(listener: EventListener?)
fun addListener(listener: (Event) -> Unit)
JS
1.1

removeListener

fun removeListener(listener: EventListener?)
fun removeListener(listener: (Event) -> Unit)