Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
default: defaults.labelSkipRadius,
controlType: 'range',
controlGroup: 'Labels',
controlOptions: {
unit: 'px',
min: 0,
max: 32,
},
},
{
key: 'isInteractive',
scopes: ['Bubble', 'BubbleHtml'],
description: 'Enable/disable interactivity.',
type: '{boolean}',
required: false,
default: defaults.isInteractive,
controlType: 'switch',
controlGroup: 'Interactivity',
},
{
key: 'isZoomable',
scopes: ['Bubble', 'BubbleHtml'],
description: `Enable/disable zooming ('isInteractive' must also be 'true').`,
type: '{boolean}',
required: false,
default: defaults.isZoomable,
controlType: 'switch',
controlGroup: 'Interactivity',
},
{
key: 'onClick',
scopes: ['Bubble', 'BubbleHtml'],
defaultValue: defaults.labelSkipRadius,
controlType: 'range',
group: 'Labels',
controlOptions: {
unit: 'px',
min: 0,
max: 32,
},
},
{
key: 'isInteractive',
flavors: ['svg', 'html'],
help: 'Enable/disable interactivity.',
type: 'boolean',
required: false,
defaultValue: defaults.isInteractive,
controlType: 'switch',
group: 'Interactivity',
},
{
key: 'isZoomable',
flavors: ['svg', 'html'],
help: `Enable/disable zooming ('isInteractive' must also be 'true').`,
type: 'boolean',
required: false,
defaultValue: defaults.isZoomable,
controlType: 'switch',
group: 'Interactivity',
},
{
key: 'onClick',
group: 'Interactivity',