DayPilot.Scheduler.getScrollY

The getScrollY() method returns the current vertical scrollbar position in pixels.

Declaration

DayPilot.Scheduler.getScrollY()

Return Value

Returns the vertical (Y axis) scrollbar position in pixels as a number.

Example

const scrollY = dp.getScrollY();

See Also

DayPilot.Scheduler.setScrollY()

DayPilot.Scheduler.getScrollX()

DayPilot.Scheduler.setScroll()

DayPilot.Scheduler Class

Scrollbar Position [doc.daypilot.org]

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript