@@ -1526,13 +1526,24 @@ DOMTokenList[JC] def remove(token: String): Unit
1526
1526
DOMTokenList[JC] def toggle(token: String): Boolean
1527
1527
DOMTokenList[JC] def toggle(token: String, force: Boolean): Boolean
1528
1528
DataTransfer[JT] def clearData(format: String?): Unit
1529
- DataTransfer[JT] var dropEffect: String
1530
- DataTransfer[JT] var effectAllowed: String
1529
+ DataTransfer[JT] var dropEffect: DropEffectValue
1530
+ DataTransfer[JT] var effectAllowed: EffectAllowedValue
1531
1531
DataTransfer[JT] def files: FileList
1532
1532
DataTransfer[JT] def getData(format: String): String
1533
+ DataTransfer[JT] def items: DataTransferItemList
1533
1534
DataTransfer[JT] def setData(format: String, data: String): Unit
1534
1535
DataTransfer[JT] def setDragImage(image: Element, x: Double, y: Double): Unit
1535
- DataTransfer[JT] def types: js.Array[String]
1536
+ DataTransfer[JT] def types: FrozenArray[String]
1537
+ DataTransferItem[JT] def getAsFile(): js.UndefOr[File]
1538
+ DataTransferItem[JT] def getAsString(callback: Function1[String, Unit]): Unit
1539
+ DataTransferItem[JT] def kind: DragDataItemKind
1540
+ DataTransferItem[JT] def `type`: String
1541
+ DataTransferItemList[JC] def add(data: File): Unit
1542
+ DataTransferItemList[JC] def add(data: String, `type`: String): Unit
1543
+ DataTransferItemList[JC] @js.annotation.JSBracketAccess def apply(index: Int): DataTransferItem
1544
+ DataTransferItemList[JC] def clear(): Unit
1545
+ DataTransferItemList[JC] def length: Int
1546
+ DataTransferItemList[JC] def remove(index: Int): Unit
1536
1547
DedicatedWorkerGlobalScope[JO] def self: DedicatedWorkerGlobalScope
1537
1548
DedicatedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1538
1549
DedicatedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -1854,6 +1865,9 @@ DocumentType[JC] def removeEventListener[T <: Event](`type`: String, listener: j
1854
1865
DocumentType[JC] def replaceChild(newChild: Node, oldChild: Node): Node
1855
1866
DocumentType[JC] def systemId: String
1856
1867
DocumentType[JC] var textContent: String
1868
+ DragDataItemKind[JT]
1869
+ DragDataItemKind[SO] val file: DragDataItemKind
1870
+ DragDataItemKind[SO] val string: DragDataItemKind
1857
1871
DragEffect[SO] final val All = "all"
1858
1872
DragEffect[SO] final val Copy = "copy"
1859
1873
DragEffect[SO] final val CopyLink = "copyLink"
@@ -1895,6 +1909,11 @@ DragEvent[JT] def target: EventTarget
1895
1909
DragEvent[JT] def timeStamp: Double
1896
1910
DragEvent[JT] def `type`: String
1897
1911
DragEvent[JT] def view: Window
1912
+ DropEffectValue[JT]
1913
+ DropEffectValue[SO] val copy: DropEffectValue
1914
+ DropEffectValue[SO] val link: DropEffectValue
1915
+ DropEffectValue[SO] val move: DropEffectValue
1916
+ DropEffectValue[SO] val none: DropEffectValue
1898
1917
DynamicsCompressorNode[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1899
1918
DynamicsCompressorNode[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1900
1919
DynamicsCompressorNode[JT] val attack: AudioParam
@@ -1940,6 +1959,16 @@ EcdsaParams[JT] val name: String
1940
1959
EcdsaParams[SO] def apply(name: String, hash: HashAlgorithmIdentifier): EcdsaParams (@deprecated in 2.0.0)
1941
1960
EcdsaParams[SO] val hash = hash0
1942
1961
EcdsaParams[SO] val name = name0
1962
+ EffectAllowedValue[JT]
1963
+ EffectAllowedValue[SO] val all: EffectAllowedValue
1964
+ EffectAllowedValue[SO] val copy: EffectAllowedValue
1965
+ EffectAllowedValue[SO] val copyLink: EffectAllowedValue
1966
+ EffectAllowedValue[SO] val copyMove: EffectAllowedValue
1967
+ EffectAllowedValue[SO] val link: EffectAllowedValue
1968
+ EffectAllowedValue[SO] val linkMove: EffectAllowedValue
1969
+ EffectAllowedValue[SO] val move: EffectAllowedValue
1970
+ EffectAllowedValue[SO] val none: EffectAllowedValue
1971
+ EffectAllowedValue[SO] val uninitialized: EffectAllowedValue
1943
1972
Element[JC] var accessKey: String
1944
1973
Element[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1945
1974
Element[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
0 commit comments