addClass(classNames) {
      if (!classNames || !self._spans) {
        return;
      }
      const classList = [].concat(classNames); // convert any input to array

      self._spans.forEach((span) => span.classList.add(...classList));
    }
Add classes to all spans
@param {string[]} classNames