Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > blockRendering > Wiersz > getFirstSpacer
Metoda blockRendering.Row.getFirstSpacer()
Wygodna metoda pobierania pierwszego elementu odstępu w tym wierszu.
Podpis:
getFirstSpacer(): InRowSpacer | null;
Zwroty:
InRowSpacer | wartość null
Pierwszy element odstępu w tym wierszu.
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.
[[["Ł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-25 UTC."],[],["The `getFirstSpacer()` method, part of the `Row` class within the `blockRendering` namespace, retrieves the first spacer element present on a specific row. It returns either an `InRowSpacer` object, representing the found spacer, or `null` if no spacer exists. This method's signature indicates it takes no parameters. It is a helper method to access the initial spacer on a given row.\n"]]