Skip to content

eventResizableFromStart

Lets a person resize an event from its start, not only its end.

Typeboolean
Defaultfalse
Live update (update())Yes
Declared inpackages/dom/src/settings.ts

Without this option an event — timed or all-day — resizes from its end only; with it, from its start too: an appointment begun earlier by pulling its top, a conference bar in a month stretched back a day. On the keyboard, Alt+Shift+arrows pull the start of a held event.

import { createCalendar } from '@dzcalendar/dom';
createCalendar(element, { timeZone: 'Europe/Paris', editable: true, eventResizableFromStart: true });

In Angular and Vue it goes in options; in React it is a prop.

Pull an event’s top or its bottom.