doWaitAfter method

void doWaitAfter(
  1. InputEvent event
)

Implement the standard behavior for when the mouse has not moved for a period of time. This is due to an expired timer started by calling Tool#standardWaitAfter.

This calls #doMouseHover and, if not mouse-down, #doToolTip. Afterwards, if the event that called Tool#standardWaitAfter was a touch event, this simulates a right click, enabling context menu functionality and other actions on touch devices.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {InputEvent} event The event that caused #standardWaitAfter. In this override, if it is a touch event and the Diagram#lastInput event is not handled (InputEvent#handled set to false), then this method will simulate a right click.

Implementation

void doWaitAfter(_i3.InputEvent event) {
  _i4.callMethod(
    this,
    'doWaitAfter',
    [event],
  );
}