Stay organized with collections
Save and categorize content based on your preferences.
blockly > IFlyout > getWidth
IFlyout.getWidth() method
Get the width of the flyout.
Signature:
getWidth(): number;
Returns:
number
The width of the flyout.
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 `getWidth()` method is part of the `IFlyout` interface in Blockly."],["This method returns the width of the flyout as a numerical value."],["Its primary function is to retrieve the current width of the flyout element."]]],["The `getWidth` method, part of the `IFlyout` interface, retrieves the flyout's width. It is a function that takes no arguments and returns a numerical value representing the flyout's width. The method's signature is `getWidth(): number;`, indicating it's a function that returns a number. The return value is specifically defined as the width of the flyout.\n"]]