Current time indicator
This plugin adds a current time indicator to the calendar. It will automatically update every minute.
Install
npm i @schedule-x/current-time
Usage
import { createCurrentTimePlugin } from '@schedule-x/current-time'
const calendar = createCalendar({
// ...other configuration
plugins: [createCurrentTimePlugin()],
})
Configuration
createCurrentTimePlugin({
// Whether the indicator should be displayed in the full width of the week. Defaults to false
fullWeekWidth: true
})