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

options within the onDragDropAllow event API have incorrect names #7336

Closed
RomanTsukanov opened this issue Nov 13, 2023 · 1 comment
Closed
Assignees
Labels
API change Issues that request changes in the API
Milestone

Comments

@RomanTsukanov
Copy link
Contributor

To disambiguate the onDragDropAllow API and unify it with the API of onDragStart and onDragEnd events, we need to make the following changes:

options.source -> options.draggedElement
options.target -> options.toElement

  • add options.fromElement
@dmitry-kurmanov
Copy link
Member

dmitry-kurmanov commented Nov 17, 2023

dmitry-kurmanov added a commit to surveyjs/survey-creator that referenced this issue Nov 17, 2023
dmitry-kurmanov added a commit that referenced this issue Nov 17, 2023
dmitry-kurmanov added a commit that referenced this issue Nov 17, 2023
dmitry-kurmanov added a commit that referenced this issue Nov 20, 2023
* work for the #7336

* work for the #7336

* Fix descriptions

---------

Co-authored-by: RomanTsukanov <[email protected]>
@dmitry-kurmanov dmitry-kurmanov added this to the v1.9.118 milestone Nov 20, 2023
@RomanTsukanov RomanTsukanov changed the title Change onDragDropAllow options Fix the onDragDropAllow event API Nov 21, 2023
@RomanTsukanov RomanTsukanov changed the title Fix the onDragDropAllow event API options within the onDragDropAllow event API have incorrect names Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API change Issues that request changes in the API
Projects
None yet
Development

No branches or pull requests

2 participants