FunctionsElementSetDataAttributeElementSetDataAttribute CallableElementSetDataAttribute(ID: string, Name: string, Value: string): voidSets a custom data-attribute to a specified value on a specified elementParametersID: stringThe id of the element to create/set the data attribute of.Name: stringName of the data attribute. ("data-" will be automatically appended to it.)Value: stringValue to give to the attribute.Returns voidNothing
Sets a custom data-attribute to a specified value on a specified element