toggle menu
kilua-project
0.0.15
common
switch theme
search in API
kilua-dom
/
web.dom
/
MediaQueryList
Media
Query
List
abstract
class
MediaQueryList
:
EventTarget
,
JsAny
Exposes the JavaScript
MediaQueryList
to Kotlin
Members
Constructors
Media
Query
List
Link copied to clipboard
constructor
(
)
Properties
matches
Link copied to clipboard
open
val
matches
:
Boolean
media
Link copied to clipboard
open
val
media
:
String
onchange
Link copied to clipboard
open
var
onchange
:
(
Event
)
->
Unit
?
Functions
add
Event
Listener
Link copied to clipboard
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
)
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
Boolean
)
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
AddEventListenerOptions
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
Boolean
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
AddEventListenerOptions
)
add
Listener
Link copied to clipboard
fun
addListener
(
listener
:
(
Event
)
->
Unit
?
)
fun
addListener
(
listener
:
EventListener
?
)
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
remove
Event
Listener
Link copied to clipboard
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
)
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
Boolean
)
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
EventListenerOptions
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
Boolean
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
EventListenerOptions
)
remove
Listener
Link copied to clipboard
fun
removeListener
(
listener
:
(
Event
)
->
Unit
?
)
fun
removeListener
(
listener
:
EventListener
?
)