차단 > FlyoutMetricsManager > getScrollMetrics

FlyoutMetricsManager.get ScrollMetrics() 메서드

서명:

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

매개변수

매개변수 유형 설명
opt_getWorkspaceCoordinates 부울 (선택사항)
opt_viewMetrics ContainerRegion (선택사항)
opt_contentMetrics ContainerRegion (선택사항)

반환:

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