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.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.