documentationfor yFiles for HTML 3.0.0.3

MarqueeSelectionInputMode

An IInputMode implementation that provides support for marquee selections through mouse or touch gestures.

Inheritance Hierarchy
MarqueeSelectionInputMode
Implemented Interfaces

Remarks

This implementation will request the mutex as soon as it recognizes a mouse drag.

Per default the visualization of the marquee rectangle uses the secondary color of the set theme of the CanvasComponent and uses the yfiles-marquee-rect-template CSS class.

This mode is exclusive by default.

Examples

Typically the MarqueeSelectionInputMode is installed as child mode of a GraphEditorInputMode or GraphViewerInputMode and can be retrieved from the marqueeSelectionInputMode property.
Getting the MarqueeSelectionInputMode from its parent input mode
const marqueeSelectionInputMode = mode.marqueeSelectionInputMode

Related Reading in the Developer's Guide

An example of how to style the marquee rectangle with CSS is given in CSS Styling of Marquee Rectangle .

Type Details

yFiles module
view

Constructors

Properties

Methods

Events