Stay organized with collections Save and categorize content based on your preferences.

blockly > FlyoutMetricsManager > getScrollMetrics

FlyoutMetricsManager.getScrollMetrics() method

Signature:

getScrollMetrics(opt_getWorkspaceCoordinates?: boolean, opt_viewMetrics?: ContainerRegion, opt_contentMetrics?: ContainerRegion): {
        height: number;
        width: number;
        top: number;
        left: number;
    };

Parameters

Parameter Type Description
opt_getWorkspaceCoordinates boolean (Optional)
opt_viewMetrics ContainerRegion (Optional)
opt_contentMetrics ContainerRegion (Optional)

Returns:

{ height: number; width: number; top: number; left: number; }