blockly > FlyoutMetricsManager > getScrollMetrics
Méthode FlyoutMetricsManager.getScrollMetrics()
Signature :
getScrollMetrics(opt_getWorkspaceCoordinates?: boolean, opt_viewMetrics?: ContainerRegion, opt_contentMetrics?: ContainerRegion): {
height: number;
width: number;
top: number;
left: number;
};
Paramètres
Paramètre | Type | Description |
---|---|---|
opt_getWorkspaceCoordinates | booléen | (Facultatif) |
opt_viewMetrics | ContainerRegion | (Facultatif) |
opt_contentMetrics | ContainerRegion | (Facultatif) |
Renvoie :
{ height: number; width: number; top: number; left: number; }