Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > Block > setHelpUrl
Metoda Block.setHelpUrl()
Ustaw adres URL strony pomocy dotyczącej tego bloku.
Podpis:
setHelpUrl(url: string | (() => string)): void;
Parametry
| Parametr |
Typ |
Opis |
| URL |
string | (() => string) |
ciąg znaków adresu URL pomocy lub funkcji zwracającej adres URL; Brak pomocy. |
Zwroty:
void
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 `Block.setHelpUrl()` method sets the help page URL for a block. It accepts a `url` parameter, which can be either a string representing the URL or a function that returns a URL. Passing `null` disables the help link. The method's return type is void, meaning it does not return any value. The primary action is assigning a help URL to a block for user guidance.\n"]]