disable( )
Disables the element and sets its enabled
property to false
.
The disable()
function returns a Promise that is resolved when the
element's enabled
property has been set to false
.
To learn about the behavior of a disabled element,
see the enabled
property.
Method Declaration
Copy
Request
This method does not take any parameters
Was this helpful?
Yes
No