File tree 1 file changed +14
-0
lines changed
src/main/scala/org/scalajs/dom/raw
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4196,6 +4196,20 @@ abstract class HTMLElement extends Element {
4196
4196
*/
4197
4197
override def ownerDocument : HTMLDocument = js.native
4198
4198
4199
+ /**
4200
+ * The dataset property on the HTMLElement interface provides
4201
+ * read/write access to all the custom data attributes (data-*) set
4202
+ * on the element. This access is available both in HTML and within
4203
+ * the DOM. It is a map of DOMString, one entry for each custom
4204
+ * data attribute. Note that the dataset property itself can be
4205
+ * read, but not directly written. Instead, all writes must be to
4206
+ * the individual properties within the dataset, which in turn
4207
+ * represent the data attributes.
4208
+ *
4209
+ * MDN
4210
+ */
4211
+ def dataset : js.Dictionary [String ] = js.native
4212
+
4199
4213
/**
4200
4214
* fired when a pointing device is moved into an element's hit test boundaries.
4201
4215
*
You can’t perform that action at this time.
0 commit comments