File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
src/main/scala/org/scalajs/dom/raw Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3817,12 +3817,17 @@ trait DataTransfer extends js.Object {
3817
3817
def getData (format : String ): String = js.native
3818
3818
3819
3819
/**
3820
- * Holds a list of the format types of the data that is stored for the first item, in the
3821
- * same order the data was added. An empty list will be returned if no data was added.
3820
+ * An array of the drag data formats (as strings) that were set in the dragstart event.
3821
+ *
3822
+ * The order of the formats is the same order as the data included in the drag operation.
3823
+ *
3824
+ * The formats are Unicode strings giving the type or format of the data, generally given by a
3825
+ * MIME type. Some values that are not MIME types are special-cased for legacy reasons
3826
+ * (for example "text").
3822
3827
*
3823
3828
* MDN
3824
3829
*/
3825
- def types : DOMStringList = js.native
3830
+ def types : js. Array [ String ] = js.native
3826
3831
3827
3832
def files : FileList = js.native
3828
3833
}
You can’t perform that action at this time.
0 commit comments