Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
key: 'useMesh',
flavors: ['svg'],
help: 'Use a voronoi mesh to detect mouse interactions, enableSlices must be disabled',
type: 'boolean',
required: false,
defaultValue: defaults.useMesh,
controlType: 'switch',
group: 'Interactivity',
},
{
key: 'debugMesh',
flavors: ['svg', 'canvas'],
help: 'Display mesh used to detect mouse interactions (voronoi cells).',
type: 'boolean',
required: false,
defaultValue: defaults.debugMesh,
controlType: 'switch',
group: 'Interactivity',
},
{
key: 'onMouseEnter',
flavors: ['svg'],
group: 'Interactivity',
help: `onMouseEnter handler, doesn't work with slice tooltip.`,
type: '(point, event) => void',
required: false,
},
{
key: 'onMouseMove',
flavors: ['svg'],
group: 'Interactivity',
help: `onMouseMove handler, doesn't work with slice tooltip.`,