Scroll controller
Take control over the scrolling in the week- and day view grids.
Install
npm i @schedule-x/scroll-controller
Usage
import { createScrollControllerPlugin } from '@schedule-x/scroll-controller'
const scrollController = createScrollControllerPlugin({
initialScroll: '07:50'
})
const calendar = createCalendar(
{ /* calendar options */ },
[scrollController]
)
calendar.render(document.getElementById('calendar'))
scrollController.scrollTo('04:00')