blockly > FlyoutMetricsManager > getScrollMetrics
Methode FlyoutMetricsManager.getScrollMetrics()
Unterschrift:
getScrollMetrics(opt_getWorkspaceCoordinates?: boolean, opt_viewMetrics?: ContainerRegion, opt_contentMetrics?: ContainerRegion): {
height: number;
width: number;
top: number;
left: number;
};
Parameter
Parameter | Typ | Beschreibung |
---|---|---|
opt_getWorkspaceCoordinates | boolean | (Optional) |
opt_viewMetrics | ContainerRegion | (Optional) |
opt_contentMetrics | ContainerRegion | (Optional) |
Gibt zurück:
{ height: number; width: number; top: number; left: number; }