Valid key/value pair representing dataset attributes/properties (prior to stringifying).
The key should be a valid DatasetKey and the value must be a valid
DatasetValue. Some of the values may be null or undefined.
Note that the HTMLElement.dataset property is a
DOMStringMap.
Valid key/value pair representing dataset attributes/properties (prior to stringifying). The key should be a valid
DatasetKey
and the value must be a validDatasetValue
. Some of the values may benull
orundefined
.Note that the
HTMLElement.dataset
property is a DOMStringMap.