disable( )


Disables the mobile element and sets its enabled property to false.

The disable() function returns a Promise that is resolved when the mobile 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
Did this help?