Stay organized with collections
Save and categorize content based on your preferences.
blockly > FlyoutButton > createDom
Signature:
createDom(): SVGElement;
Returns:
SVGElement
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 2025-05-16 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 2025-05-16 UTC."],[[["`FlyoutButton.createDom()` is a method that generates the visual elements of a button within a Blockly workspace."],["This method returns an SVG element which represents the button's visual group within the workspace."],["The primary function of this method is to construct the button elements for interaction within the Blockly environment."]]],["The `FlyoutButton.createDom()` method generates the visual elements for a button. This method's core action is to construct the necessary SVG elements that compose the button's appearance within the user interface. Upon execution, `createDom()` returns an `SVGElement`, which represents the entire SVG group that forms the button. The returned SVG group is what is used to display the button in the interface.\n"]]