blockly > browserEvents > usuń powiązanie
Funkcja BrowserEvents.unbind()
Usuń powiązanie co najmniej jednego zdarzenia zdarzenia z wywołania funkcji.
Podpis:
export declare function unbind(bindData: Data): (e: Event) => void;
Parametry
Parametr |
Typ |
Opis |
bindData |
Dane |
Nieprzezroczyste dane ze zdarzenia bindEvent_. Ta lista jest opróżniana podczas wywoływania tej funkcji. |
Zwroty:
(e: Wydarzenie) => nieważne
Wywołanie funkcji.
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: 2024-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-21 UTC."],[[["The `browserEvents.unbind()` function is used to detach one or more events from their associated function calls."],["It takes a `bindData` object, which contains information about the events and functions to unbind, as input."],["Calling `unbind()` removes the specified events from the list, effectively stopping them from triggering their associated function."],["The function returns the original function call that was bound to the events."]]],[]]