Liferay.Loader.define('site-navigation-item-selector-web$dom-helpers@5.2.0/esm/toggleClass', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import addClass from './addClass';
    import hasClass from './hasClass';
    import removeClass from './removeClass';
    export default function toggleClass(element, className) {
      if (element.classList) element.classList.toggle(className);else if (hasClass(element, className)) removeClass(element, className);else addClass(element, className);
    }
  }
});
//# sourceMappingURL=toggleClass.js.map