blockly > IDragTarget > onDrop

Metoda IDragTarget.onDrop()

Utrzymuje się po upuszczeniu bloków lub dymków na ten komponent. Nie powinno być tu obsługiwane usuwanie.

Podpis:

onDrop(dragElement: IDraggable): void;

Parametry

Parametr Typ Opis
dragElement IDraggable Przeciągany blok lub dymek.

Zwraca:

void