RikuloRikulo

The data-* Attribute

data-name="value"

The data-* attribute assigns a value to a data attribute. The data attributes, View.dataAttributes, are application-specific attributes. You can store anything you like.

Unlike Element.dataAttributes, view's data attributes can be any type, not limited to strings.