# Selector

# Properties

# toString

Get selector as a string.

# Examples

// Given such selector: { name: 'my-selector', type: 2 }
console.log(selector.toString());
// -> `#my-selector`

Returns String (opens new window)

# getName

Get selector name.

# Examples

// Given such selector: { name: 'my-selector', label: 'My selector' }
console.log(selector.getName());
// -> `my-selector`

Returns String (opens new window)

# getLabel

Get selector label.

# Examples

// Given such selector: { name: 'my-selector', label: 'My selector' }
console.log(selector.getLabel());
// -> `My selector`

Returns String (opens new window)

# setLabel

Update selector label.

# Parameters

# Examples

// Given such selector: { name: 'my-selector', label: 'My selector' }
selector.setLabel('New Label')
console.log(selector.getLabel());
// -> `New Label`

# getActive

Get selector active state.

Returns Boolean (opens new window)

# setActive

Update selector active state.

# Parameters