Home  >  Q&A  >  body text

javascript - Is it possible to calculate the scrolling distance of the scroll bar using the event object in the scroll event?

Does not apply to the defined scrolltop attribute

三叔三叔2643 days ago774

reply all(1)I'll reply

  • 阿神

    阿神2017-06-30 10:00:09

    You need to convert proportionally to get the distance of the scroll bar

    reply
    0
  • Cancelreply