Skip to content

Commit

Permalink
onDragDropAllow: Describe the allowDropNextToAnother parameter (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTsukanov authored Jul 5, 2024
1 parent 7699755 commit 7fde95e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/survey-creator-core/src/creator-events-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,10 @@ export interface DragDropAllowEvent {
* A survey within which the drag and drop operation occured.
*/
survey?: SurveyModel;
/**
* A Boolean property that you can set to `false` if you want to disallow placing `draggedElement` on the same line with any other survey element.
*/
allowDropNextToAnother: boolean;
/**
* A Boolean property that you can set to `false` if you want to cancel the drag and drop operation.
*/
Expand Down

0 comments on commit 7fde95e

Please sign in to comment.