Zum Hauptinhalt springen

onDblClick

Description

Wird ausgelöst, wenn der Benutzer ein Event doppelt anklickt

onDblClick: (id: string, e: Event) => boolean;

Parameters

  • id - (erforderlich) string - die Event-ID
  • e - (erforderlich) Event - ein natives Event-Objekt

Returns

  • result - (boolean) - definiert, ob die Standardaktion des Events ausgelöst wird (true) oder abgebrochen wird (false)

Example

scheduler.attachEvent("onDblClick", (id, e) => {
// any custom logic here
return true;
});

Details

Das Event ist blockierbar. Geben Sie false zurück, um das Standardverhalten zu verhindern.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.