canStart method

bool canStart()

Return true if it's a single mouse right click that hasn't moved Tool#isBeyondDragSize and that is on a GraphObject with a GraphObject#contextMenu. This is also true if the mouse right click is in the diagram background and the diagram's Diagram#contextMenu is non-null.

On touch devices, a special default context menu will appear even if no object with a context menu is found.

This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @return {boolean}

Implementation

_i2.bool canStart() => _i4.callMethod(
      this,
      'canStart',
      [],
    );