()
| 944 | |
| 945 | // Public |
| 946 | toggle() { |
| 947 | // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method |
| 948 | this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE$3)); |
| 949 | } |
| 950 | |
| 951 | // Static |
| 952 | static jQueryInterface(config) { |