Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > Gest > getCurrentDragger
Metoda Gesty.getCurrentDragger()
Zwraca bieżący element przeciągania, jeśli gest jest przeciągnięciem.
Podpis:
getCurrentDragger(): WorkspaceDragger | IDragger | null;
Zwroty:
WorkspaceDragger | IDragger | wartość null
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `Gesture.getCurrentDragger()` method retrieves the current dragger associated with a gesture if it's a drag operation. It returns either a `WorkspaceDragger`, an `IDragger`, or `null` if no dragger is currently active. This method is used to access the object responsible for handling the dragging action within a gesture-based interaction.\n"]]