Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usuwa wywołania zwrotne.
Wykorzystanie
Zwroty
Checkbox.unlisten(idOrType)
Argument
Typ
Szczegóły
to: ui.widget
ui.Widget
Instancja ui.Widget.
idOrType
Ciąg znaków, opcjonalnie
Identyfikator zwrócony przez funkcję onEventType() podczas rejestracji wywołania zwrotnego, typ zdarzenia lub nic. Jeśli zostanie przekazany identyfikator, odpowiednie wywołanie zwrotne zostanie usunięte. Jeśli zostanie przekazany typ zdarzenia, wszystkie wywołania zwrotne tego typu zostaną usunięte. Jeśli nie przekażesz żadnych argumentów, wszystkie wywołania zwrotne zostaną usunięte.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["The `Checkbox.unlisten()` method removes registered callbacks associated with a checkbox widget."],["You can target specific callbacks for removal using their unique ID or remove all callbacks of a certain event type."],["Calling `unlisten()` without any arguments will remove all registered callbacks for the checkbox."]]],["The `Checkbox.unlisten()` function deletes callbacks associated with a UI widget. It accepts an optional `idOrType` argument. If an ID is provided, it removes the specific callback. If an event type is given, all callbacks for that type are removed. If no argument is passed, all registered callbacks for the widget are deleted. This method does not return any value.\n"]]