Module: select

DOM element selection box tools.

License:
  • MIT
Source:

Classes

Selector
SelectorManager

Interfaces

SVGFactory

Methods

(static) getSelectorManager() → {module:select.SelectorManager}

Source:
Returns:

The SelectorManager instance.

Type
module:select.SelectorManager

(static) init(config, svgFactory) → {void}

Initializes this module.

Parameters:
Name Type Description
config module:select.Config

An object containing configurable parameters (imgPath)

svgFactory module:select.SVGFactory

An object implementing the SVGFactory interface.

Source:
Returns:
Type
void

Type Definitions

Config

Type:
Properties:
Name Type Description
imgPath string
dimensions module:select.Dimensions
Source:

Dimensions

Type:
Properties:
Name Type Description
length Integer

2

0 Float

Width

1 Float

Height

Source: