DayPilot.Scheduler.onKeyboardFocusChanged

The onKeyboardFocusChanged event handler is fired when the keyboard focus changes (when the user hits one of the arrow keys or when keyboard.move() is called).

The event is called after the focus change.

Available since version 2021.3.5075.

Declaration

DayPilot.Scheduler.onKeyboardFocusChanged(args);

Parameters

  • args.focus - the current focus target
  • args.previous - the previous focus target

The args.focus and args.previous properties hold a focus object with the same structure as the one returned by the keyboard.getFocus() method.