Remove Custom Attribute
element.removeCustomAttribute(name)
Remove a custom HTML attribute from an element.
Syntax
Parameters
name
: String - The name of the custom attribute.
Returns
Promise<null
>
A Promise that resolves to null