blockly > FlyoutMetricsManager > getScrollMetrics

Metode FlyoutMetricsManager.getScrollMetrics()

Tanda Tangan:

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

Parameter

Parameter Jenis Deskripsi
opt_getWorkspaceCoordinates boolean (Opsional)
opt_viewMetrics ContainerRegion (Opsional)
opt_contentMetrics ContainerRegion (Opsional)

Hasil:

{ height: number; width: number; top: number; kiri: angka; }