blockly > utils > style > getViewportPageOffset
Hàm utils.style.getViewportPageOffset()
Tính toán toạ độ khung nhìn so với tài liệu. Tương tự như google.style.getViewportPageOffset của close
Chữ ký:
export declare function getViewportPageOffset(): Coordinate;
Trả về:
Độ lệch trang của khung nhìn.