DayPilot.Scheduler.keyboard.move

The keyboard.move() method moves the keyboard focus in the specified direction.

The target is resolved using the internal rules. It behaves the same way as if the user pressed an arrow key.

Available since 2021.3.5070.

Declaration

DayPilot.Scheduler.keyboard.move(direction[, options]);

Parameters

Example

const dp = new DayPilot.Scheduler("dp", {
  // ...
});
dp.init();

dp.keyboard.move("right");

See Also

Keyboard [doc.daypilot.org]

DayPilot.Scheduler.keyboard.resetFocus()

DayPilot.Scheduler.keyboard.getFocus()

DayPilot.Scheduler.onKeyboardFocusChange

DayPilot.Scheduler.onKeyboardFocusChanged

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript