@@ -993,11 +993,11 @@ Clients[JT] def openWindow(url: String): js.Promise[WindowClient]
993
993
Clipboard[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
994
994
Clipboard[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
995
995
Clipboard[JT] def dispatchEvent(evt: Event): Boolean
996
- Clipboard[JT] def read(): js.Promise[DataTransfer ]
996
+ Clipboard[JT] def read(): js.Promise[js.Array[ClipboardItem] ]
997
997
Clipboard[JT] def readText(): js.Promise[String]
998
998
Clipboard[JT] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
999
999
Clipboard[JT] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1000
- Clipboard[JT] def write(data: DataTransfer ): js.Promise[Unit]
1000
+ Clipboard[JT] def write(data: js.Array[ClipboardItem] ): js.Promise[Unit]
1001
1001
Clipboard[JT] def writeText(newClipText: String): js.Promise[Unit]
1002
1002
ClipboardEvent[JC] def bubbles: Boolean
1003
1003
ClipboardEvent[JC] def cancelBubble: Boolean
@@ -1019,6 +1019,10 @@ ClipboardEventInit[JT] var composed: js.UndefOr[Boolean]
1019
1019
ClipboardEventInit[JT] var data: js.UndefOr[String]
1020
1020
ClipboardEventInit[JT] var dataType: js.UndefOr[String]
1021
1021
ClipboardEventInit[JT] var scoped: js.UndefOr[Boolean]
1022
+ ClipboardItem[JC] def getType(`type`: String): js.Promise[Blob]
1023
+ ClipboardItem[JC] def presentationStyle: PresentationStyle
1024
+ ClipboardItem[JC] def types: FrozenArray[String]
1025
+ ClipboardItemOptions[JT] def presentationStyle: js.UndefOr[PresentationStyle]
1022
1026
CloseEvent[JT] def bubbles: Boolean
1023
1027
CloseEvent[JT] def cancelBubble: Boolean
1024
1028
CloseEvent[JT] def cancelable: Boolean
@@ -2017,6 +2021,8 @@ FrameType[SO] val auxiliary: FrameType
2017
2021
FrameType[SO] val nested: FrameType
2018
2022
FrameType[SO] val none: FrameType
2019
2023
FrameType[SO] val `top-level` = "top-level".asInstanceOf[FrameType]
2024
+ FrozenArray[JT] @js.annotation.JSBracketAccess def apply(index: Int): T
2025
+ FrozenArray[JT] val length: Int
2020
2026
FullscreenOptions[JT] var navigationUI: js.UndefOr[String]
2021
2027
GainNode[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
2022
2028
GainNode[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -16226,6 +16232,10 @@ PositionError[JT] def message: String
16226
16232
PositionOptions[JC] var enableHighAccuracy: Boolean
16227
16233
PositionOptions[JC] var maximumAge: Int
16228
16234
PositionOptions[JC] var timeout: Int
16235
+ PresentationStyle[JT]
16236
+ PresentationStyle[SO] val attachment: PresentationStyle
16237
+ PresentationStyle[SO] val inline: PresentationStyle
16238
+ PresentationStyle[SO] val unspecified: PresentationStyle
16229
16239
ProcessingInstruction[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
16230
16240
ProcessingInstruction[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
16231
16241
ProcessingInstruction[JC] def appendChild(newChild: Node): Node
@@ -26946,6 +26956,7 @@ package[SO] type BufferSource = ArrayBufferView | ArrayBuffer
26946
26956
package[SO] type ByteString = String
26947
26957
package[SO] type ClientRect = DOMRect (@deprecated in 2.0.0)
26948
26958
package[SO] type ClientRectList = DOMRectList (@deprecated in 2.0.0)
26959
+ package[SO] type ClipboardItemData = js.Promise[String | Blob]
26949
26960
package[SO] type HashAlgorithmIdentifier = HashAlgorithm | String
26950
26961
package[SO] type HeadersInit = Headers | Sequence[Sequence[ByteString]] | OpenEndedDictionary[ByteString]
26951
26962
package[SO] type IDBKey = Any
0 commit comments