Stay organized with collections
Save and categorize content based on your preferences.
blockly > ToolboxCategory > CssConfig > contents
ToolboxCategory.CssConfig.contents property
Signature:
contents?: string;
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."],[[["`contents` is an optional property of the `CssConfig` interface within the `ToolboxCategory` namespace in Blockly."],["It defines custom CSS content as a string, allowing you to style the toolbox category."],["When provided, this custom CSS will be injected into the webpage to alter the appearance of the category."]]],["The `contents` property, part of the `ToolboxCategory.CssConfig` interface, is defined as an optional string. This property is likely used to specify or customize the content within a `ToolboxCategory` element, offering control over the category's visual or structural content via a string value. Its optional nature suggests that a default or no content is possible.\n"]]