DayPilot.Menu.onHide

The onHide event handler fires after the context menu is hidden.

Declaration

DayPilot.Menu.onHide(args)

Parameters

  • args - empty object

Example

const menu = new DayPilot.Menu({
  onHide: (args) => {
    console.log("Menu hidden");
  },
  items: [
    // ...
  ],
  // ...
});

menu.show({name: "Object name"});
menu.hide();

See Also

DayPilot.Menu.onShow

DayPilot.Menu.hide()

DayPilot.Menu Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript