Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'enablePoints',
help: 'Enable/disable points.',
type: 'boolean',
required: false,
defaultValue: defaults.enablePoints,
controlType: 'switch',
group: 'Points',
},
{
key: 'pointSize',
help: 'Size of points.',
type: 'number',
required: false,
defaultValue: defaults.siteSize,
controlType: 'range',
group: 'Points',
controlOptions: {
unit: 'px',
min: 0,
max: 12,
step: 1,
},
},
{
key: 'pointColor',
help: 'Points color.',
type: 'string',
required: false,
defaultValue: defaults.pointColor,
controlType: 'colorPicker',
{
key: 'enablePoints',
scopes: '*',
description: 'Enable/disable points.',
type: '{boolean}',
required: false,
default: defaults.enablePoints,
controlType: 'switch',
controlGroup: 'Points',
},
{
key: 'pointSize',
description: 'Size of points (px).',
type: '{number}',
required: false,
default: defaults.siteSize,
controlType: 'range',
controlGroup: 'Points',
controlOptions: {
unit: 'px',
min: 0,
max: 12,
step: 1,
},
},
{
key: 'pointColor',
description: 'Points color.',
type: '{string}',
required: false,
default: defaults.pointColor,
controlType: 'colorPicker',