Get Custom Attribute
element.getCustomAttribute(name)
Get custom HTML attributes for an element by name.
Syntax
Parameters
name
: String - The name of the custom attribute.
Returns
Promise<String>
A Promise that resolves to the value of the named custom attribute.
Example
Designer Ability
Checks for authorization only