Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(SnapDropZone): add getter method for drop zone object
Two new methods have been added to get the current hovered objects and the current snapped object from within a snap drop zone. Previously, the only way of knowing what was in a snap drop zone was to register for the event when an item was hovered or snapped into the zone. Now these two new methods provide a way of directly accessing the info on the snap drop zone without needing to use the event.
- Loading branch information
1 parent
a3c793e
commit 3079a08
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters