dataset property

DOMStringMap get dataset

The dataset read-only property of the SVGElement interface provides read/write access to custom data attributes (data-*) on elements. It exposes a map of strings (DOMStringMap) with an entry for each data-* attribute.

For more information on the behavior of dataset, see HTMLElement.dataset.

Implementation

external DOMStringMap get dataset;