Function getData

Returns the value of the given data attribute. The name of the attribute must not start with data. It can be in either camelCase or kebab-case, it is converted as needed.