Enables the element and sets its enabled
property to true
.
The enable()
function returns a Promise that is resolved when the
element's enabled
property has been set to true
.
To learn about the behavior of an enabled element,
see the enabled
property.