Liferay.Loader.define('site-navigation-item-selector-web$dom-helpers@5.2.0/esm/addClass', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import hasClass from './hasClass';
    export default function addClass(element, className) {
      if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
    }
  }
});
//# sourceMappingURL=addClass.js.map