docs: function xToValue(x) {
      const
          rect = this.$.getBoundingClientRect(),
          percent = x / rect.width,
          range = this.max - this.min,
          value = Math.floor(percent * range + 0.5);
      return this.min + this.step * Math.floor(value / this.step);
  }