Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: The onDragStart and onDragEnd events do not have parameter descriptions in the docs #5528

Merged
merged 4 commits into from
Jun 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/survey-creator-core/src/creator-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1754,14 +1754,14 @@ export class SurveyCreatorModel extends Base
* @see onDragEnd
* @see onDragDropAllow
*/
public onDragStart: EventBase<any, DragStartEndEvent> = new EventBase<any, DragStartEndEvent>();
public onDragStart: EventBase<any, DragStartEndEvent> = this.addCreatorEvent<any, DragStartEndEvent>();
public onBeforeDrop: EventBase<any, DragStartEndEvent> = this.onDragStart;
/**
* An event that is raised when users finish dragging a survey element within the design surface.
* @see onDragStart
* @see onDragDropAllow
*/
public onDragEnd: EventBase<any, DragStartEndEvent> = new EventBase<any, DragStartEndEvent>();
public onDragEnd: EventBase<any, DragStartEndEvent> = this.addCreatorEvent<any, DragStartEndEvent>();
public onAfterDrop: EventBase<any, DragStartEndEvent> = this.onDragEnd;
private initDragDropSurveyElements() {
DragDropSurveyElements.restrictDragQuestionBetweenPages =
Expand Down
Loading