feat(customization): enable custom onDropHandler for viewportGrid (#4641)
This commit is contained in:
1 parent
3dac0f9e73
commit
054b262e9c
4 files changed
+48
-4
No files matched your search
@@ -590,6 +590,26 @@ window.config = {
|
||||
};
|
||||
`,
|
||||
},
|
||||
{
|
||||
id: 'customOnDropHandler ',
|
||||
description:
|
||||
'CustomOnDropHandler in the viewport grid enables users to handle additional functionalities during the onDrop event in the viewport.',
|
||||
default: props => {
|
||||
return Promise.resolve({ handled: false });
|
||||
},
|
||||
configuration: `
|
||||
window.config = {
|
||||
// rest of window config
|
||||
customizationService: [
|
||||
{
|
||||
customOnDropHandler: {
|
||||
$set: customOnDropHandler
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
`,
|
||||
},
|
||||
];
|
||||
|
||||
export const segmentationCustomizations = [
|
||||
|
||||
Reference in new issue
Block a user