OPEN_GRID API - v1.6.1
    Preparing search index...

    Interface ScrollEvent

    본문 스크롤 이벤트(scroll). 스크롤하는 동안 화면이 그려질 때마다 한 번(초당 60회 안팎)까지 온다. 서버 요청처럼 무거운 일은 직접 모아서(throttle) 한다.

    Body scroll event (scroll). Arrives at most once per rendered frame while scrolling (around 60 times a second). Batch heavy work such as server requests yourself (throttle).

    本文のスクロールイベント(scroll)。スクロール中、画面が描かれるたびに最大 1 回(毎秒 60 回前後)届きます。サーバー要求のような重い処理は自分でまとめて(throttle)行います。

    正文滚动事件(scroll)。滚动期间每次画面绘制最多触发一次(每秒约 60 次)。服务器请求这类繁重的工作请自行合并(throttle)后再做。

    interface ScrollEvent {
        isAtBottom: boolean;
        isAtTop: boolean;
        scrollLeft: number;
        scrollTop: number;
    }
    Index

    Properties

    isAtBottom: boolean

    맨 아래에 닿았으면 true(1px 여유를 둔다 — 소수점 스크롤 값 때문). 끝까지 내리면 다음 쪽을 불러오는 데 쓴다.

    true once the bottom is reached (with 1px of slack for fractional scroll values). Use it to load the next page when the user reaches the end.

    いちばん下に届いたら true(小数のスクロール値のため 1px の余裕を持たせます)。最後まで下げたら次のページを読み込むのに使います。

    到达最底部时为 true(因滚动值可能带小数,留 1px 余量)。可用于滚到底时加载下一页。

    isAtTop: boolean

    맨 위에 있으면 true.

    true at the very top.

    いちばん上にあれば true

    位于最顶部时为 true

    scrollLeft: number

    가로 스크롤 위치(px).

    Horizontal scroll position (px).

    横スクロールの位置(px)。

    横向滚动位置(px)。

    scrollTop: number

    세로 스크롤 위치(px). 0 이 맨 위.

    Vertical scroll position (px); 0 is the top.

    縦スクロールの位置(px)。0 がいちばん上。

    纵向滚动位置(px)。0 为最顶部。