Stay organized with collections
Save and categorize content based on your preferences.
blockly > ToolboxCategory > addColourBorder_
Add the strip of colour to the toolbox category.
Signature:
protected addColourBorder_(colour: string): void;
Parameters
Parameter |
Type |
Description |
colour |
string |
The category colour. |
Returns:
void
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 `addColourBorder_` method is used to visually distinguish toolbox categories by adding a colored strip."],["This method is protected and takes a single string parameter, `colour`, representing the desired color of the border."],["Calling `addColourBorder_` with a specified color modifies the category's appearance without returning any value."]]],[]]