getNewValue (event) {
      if (this.trackNode) {
        const { left, width } = this.trackNode.getBoundingClientRect()
        const { clientX } = event.touches ? event.touches[0] : event

        const diffX = clientX - left
        const percent = diffX / width
        let newValue = percentToValue(percent, this.min, this.max)

        if (this.step) {
          newValue = roundValueToStep(newValue, this.step)
        }
        newValue = clampValue(newValue, this.min, this.max)
        return newValue
      }
    }
Parses new value returned from slider change event
@param {Event} event