@@ -1297,13 +1297,24 @@ DOMTokenList[JC] def remove(token: String): Unit
1297
1297
DOMTokenList[JC] def toggle(token: String): Boolean
1298
1298
DOMTokenList[JC] def toggle(token: String, force: Boolean): Boolean
1299
1299
DataTransfer[JT] def clearData(format: String?): Unit
1300
- DataTransfer[JT] var dropEffect: String
1301
- DataTransfer[JT] var effectAllowed: String
1300
+ DataTransfer[JT] var dropEffect: DropEffectValue
1301
+ DataTransfer[JT] var effectAllowed: EffectAllowedValue
1302
1302
DataTransfer[JT] def files: FileList
1303
1303
DataTransfer[JT] def getData(format: String): String
1304
+ DataTransfer[JT] def items: DataTransferItemList
1304
1305
DataTransfer[JT] def setData(format: String, data: String): Unit
1305
1306
DataTransfer[JT] def setDragImage(image: Element, x: Double, y: Double): Unit
1306
- DataTransfer[JT] def types: js.Array[String]
1307
+ DataTransfer[JT] def types: FrozenArray[String]
1308
+ DataTransferItem[JT] def getAsFile(): js.UndefOr[File]
1309
+ DataTransferItem[JT] def getAsString(callback: Function1[String, Unit]): Unit
1310
+ DataTransferItem[JT] def kind: DragDataItemKind
1311
+ DataTransferItem[JT] def `type`: String
1312
+ DataTransferItemList[JC] def add(data: File): Unit
1313
+ DataTransferItemList[JC] def add(data: String, `type`: String): Unit
1314
+ DataTransferItemList[JC] @js.annotation.JSBracketAccess def apply(index: Int): DataTransferItem
1315
+ DataTransferItemList[JC] def clear(): Unit
1316
+ DataTransferItemList[JC] def length: Int
1317
+ DataTransferItemList[JC] def remove(index: Int): Unit
1307
1318
DedicatedWorkerGlobalScope[JO] def self: DedicatedWorkerGlobalScope
1308
1319
DedicatedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1309
1320
DedicatedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -1625,6 +1636,9 @@ DocumentType[JC] def removeEventListener[T <: Event](`type`: String, listener: j
1625
1636
DocumentType[JC] def replaceChild(newChild: Node, oldChild: Node): Node
1626
1637
DocumentType[JC] def systemId: String
1627
1638
DocumentType[JC] var textContent: String
1639
+ DragDataItemKind[JT]
1640
+ DragDataItemKind[SO] val file: DragDataItemKind
1641
+ DragDataItemKind[SO] val string: DragDataItemKind
1628
1642
DragEffect[SO] final val All = "all"
1629
1643
DragEffect[SO] final val Copy = "copy"
1630
1644
DragEffect[SO] final val CopyLink = "copyLink"
@@ -1666,6 +1680,11 @@ DragEvent[JT] def target: EventTarget
1666
1680
DragEvent[JT] def timeStamp: Double
1667
1681
DragEvent[JT] def `type`: String
1668
1682
DragEvent[JT] def view: Window
1683
+ DropEffectValue[JT]
1684
+ DropEffectValue[SO] val copy: DropEffectValue
1685
+ DropEffectValue[SO] val link: DropEffectValue
1686
+ DropEffectValue[SO] val move: DropEffectValue
1687
+ DropEffectValue[SO] val none: DropEffectValue
1669
1688
DynamicsCompressorNode[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1670
1689
DynamicsCompressorNode[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1671
1690
DynamicsCompressorNode[JT] val attack: AudioParam
@@ -1711,6 +1730,16 @@ EcdsaParams[JT] val name: String
1711
1730
EcdsaParams[SO] def apply(name: String, hash: HashAlgorithmIdentifier): EcdsaParams (@deprecated in 2.0.0)
1712
1731
EcdsaParams[SO] val hash = hash0
1713
1732
EcdsaParams[SO] val name = name0
1733
+ EffectAllowedValue[JT]
1734
+ EffectAllowedValue[SO] val all: EffectAllowedValue
1735
+ EffectAllowedValue[SO] val copy: EffectAllowedValue
1736
+ EffectAllowedValue[SO] val copyLink: EffectAllowedValue
1737
+ EffectAllowedValue[SO] val copyMove: EffectAllowedValue
1738
+ EffectAllowedValue[SO] val link: EffectAllowedValue
1739
+ EffectAllowedValue[SO] val linkMove: EffectAllowedValue
1740
+ EffectAllowedValue[SO] val move: EffectAllowedValue
1741
+ EffectAllowedValue[SO] val none: EffectAllowedValue
1742
+ EffectAllowedValue[SO] val uninitialized: EffectAllowedValue
1714
1743
Element[JC] var accessKey: String
1715
1744
Element[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1716
1745
Element[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
0 commit comments