An InputEvent represents a mouse or keyboard event. The principal properties hold information about a particular input event. These properties include the #documentPoint at which a mouse event occurred in document coordinates, the corresponding point in view/element coordinates, #viewPoint, the #key for keyboard events, and the #modifiers and #button at the time. Additional descriptive properties include #clickCount, #delta,
The InputEvent class constructor produces an empty InputEvent.
Gets whether the alt key is being held down.
Gets or sets whether the underlying #event is prevented from bubbling up the hierarchy of HTML elements outside of the Diagram and whether any default action is canceled.
Gets or sets the button that caused this event.
Gets or sets whether this event represents a click or a double-click.
Gets whether the control key is being held down.
Gets or sets the amount of change associated with a mouse-wheel rotation.
Gets the source diagram associated with the event.
Gets or sets the point at which this input event occurred, in document coordinates.
Gets or sets whether the InputEvent represents a mouse-down or a key-down event.
Gets or sets the platform's user-agent-supplied event for this event.
Gets or sets whether an InputEvent that applies to a GraphObject and bubbles up the chain of containing Panels is stopped from continuing up the chain.
Gets or sets the key pressed or released as this event.
Gets whether the logical left mouse button is being held down.
Gets whether the meta key is being held down.
Gets whether the logical middle mouse button is being held down.
Gets or sets the modifier keys that were used with the mouse or keyboard event.
Gets whether the logical right mouse button is being held down.
Gets whether the shift key is being held down.
Gets or sets the diagram associated with the canvas that the event is currently targeting.
Gets or sets the GraphObject that is at the current mouse point, if any.
Gets or sets the time at which the event occurred, in milliseconds.
Gets or sets whether the InputEvent represents a mouse-up or a key-up event.
Gets or sets the point at which this input event occurred.
Make a copy of this InputEvent.