Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > Row > getFirstSpacer
blockRendering.Row.getFirstSpacer() method
Convenience method to get the first spacer element on this row.
Signature:
getFirstSpacer(): InRowSpacer | null;
Returns:
InRowSpacer | null
The first spacer element on this row.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `getFirstSpacer()` method provides a convenient way to access the first spacer element within a `blockRendering.Row` object."],["This method returns an `InRowSpacer` object representing the first spacer, or `null` if none exists."]]],["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"]]