diff --git a/src/index.test.ts b/src/index.test.ts index 2cc2e66..00ff058 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -295,7 +295,8 @@ const eventManagerSelectModeConfig: Required true } // Set up a complete Chart Designer config - normal mode diff --git a/src/index.ts b/src/index.ts index 0bdc4db..dcb534e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -384,6 +384,7 @@ export interface EventManagerSelectModeConfigOptions extends BaseEventManagerCon mode: 'select' maxSelectedObjects?: SelectionLimiter numberOfPlacesToSelect?: number + isObjectSelectable?: (object: SelectableObject) => boolean selectedObjects?: (string | SelectedObject | SelectedGA)[] selectionBy?: 'places' | 'objects' ticketTypes?: TicketTypeJsonWithoutPrice[]