Each key in the object is an attribute name. The on value is set when the
action is done and the off value is set when the action is undone. To set
the attribute to an empty value, use an empty string. To delete the
attribute, use null as the value or simply omit the relevant on or off
key.
IMPORTANT: Attribute names in camelCase are converted to kebab-case.
E.g. dataFooBar will translate to data-foo-bar.
Each key in the object is an attribute name. The
on
value is set when the action is done and theoff
value is set when the action is undone. To set the attribute to an empty value, use an empty string. To delete the attribute, usenull
as the value or simply omit the relevanton
oroff
key.IMPORTANT: Attribute names in camelCase are converted to kebab-case. E.g.
dataFooBar
will translate todata-foo-bar
.