jQuery UI API Category - Method Overrides
jQuery UI overrides several built-in jQuery methods to provide additional functionality. When using these overrides, it is important to ensure that jQuery UI is loaded. If jQuery UI is not loaded, the methods still exist, but the expected functionality will be unavailable, leading to hard-to-track errors.
| API | Description | that also belong to the |
|---|---|---|
| .addClass() | Adds the specified class to each element in the matched set as the animation style changes. | Effects | Effects Core |
| .focus() | Focuses an element asynchronously. | Methods | UI Core |
| .hide() | Hide the matched elements using a custom effect. | Effects | Effects Core | Methods |
| .position() | Positions an element relative to another element. | Methods | Utilities |
| .removeClass() | Remove the specified class from each element in the matched set when the style changes with animation. | Effects | Effects Core |
| .show() | Display the matched elements using a custom effect. | Effects | Effects Core | Methods |
| .toggle() | Show or hide the matched elements using a custom effect. | Effects | Effects Core | Methods |
| .toggleClass() | Add or remove one or more classes from each element in the matched set when the style changes with animation, depending on whether the class exists and the value of the switch parameter. | Effects | Effects Core |