Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/Webapi/Dom/Webapi__Dom__MediaQueryList.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type t

include Webapi__Dom__EventTarget.Impl({
type t = t
})

@get external matches: t => bool = "matches"
@get external media: t => string = "media"
2 changes: 1 addition & 1 deletion src/Webapi/Dom/Webapi__Dom__Window.res
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type scrollbars /* "bar object" */
type speechSynthesis
type statusbar /* "bar object" */
type toolbar /* "bar object" */
type mediaQueryList /* CSSOM View module */
type mediaQueryList = Webapi__Dom__MediaQueryList.t /* CSSOM View module */
type transferable

type idleCallbackId /* used by requestIdleCallback and cancelIdleCallback */
Expand Down
1 change: 1 addition & 0 deletions src/Webapi/Webapi__Dom.res
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module Image = Webapi__Dom__Image
module InputEvent = Webapi__Dom__InputEvent
module KeyboardEvent = Webapi__Dom__KeyboardEvent
module Location = Webapi__Dom__Location
module MediaQueryList = Webapi__Dom__MediaQueryList
module MouseEvent = Webapi__Dom__MouseEvent
module MutationObserver = Webapi__Dom__MutationObserver
module MutationRecord = Webapi__Dom__MutationRecord
Expand Down
Loading