Stay organized with collections
Save and categorize content based on your preferences.
blockly > MetricsManager > UiMetrics > viewMetrics
MetricsManager.UiMetrics.viewMetrics property
Signature:
viewMetrics: ContainerRegion;
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 `top` property represents the top edge of a workspace or other UI element, measured in pixels."],["It is an optional property of the `FixedEdges` interface within Blockly's MetricsManager namespace."],["When set, it specifies the fixed vertical position of the top edge, regardless of workspace scrolling or other dynamic changes."],["This property's value is a number that indicates the top position's coordinate and may be undefined."]]],["The `viewMetrics` property, part of the `UiMetrics` interface within the `MetricsManager` namespace, is defined. It's typed as `ContainerRegion`. This property likely stores or represents the metrics related to the visible area or viewport within a user interface. It appears to define region metrics of a container.\n"]]