Skip to content

Commit

Permalink
Up customSpots JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Aug 29, 2023
1 parent ad78077 commit 69bc951
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/canvas/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ export interface CanvasConfig {
*/
allowExternalDrop?: boolean;

/**
* Disable the rendering of built-in canvas spots.
* @example
* // Disable only the hover type spot
* customSpots: { hover: true },
*
* // Disable all built-in spots
* customSpots: true,
*/
customSpots?: boolean | Partial<Record<CanvasSpotBuiltInTypes, boolean>>;

/**
Expand Down

0 comments on commit 69bc951

Please sign in to comment.