맥스그리드 API 레퍼런스
    Preparing search index...

    Interface BarNavigator

    Keyboard model of the chart: focus movement over visible rows and date-change helpers.

    interface BarNavigator {
        focusId: string | null;
        move(dir: BarMove, pageSize: number): string | null;
        moveDays(taskId: string, delta: number, scale?: Bounds): DayRange | null;
        resizeDays(
            taskId: string,
            edge: "end" | "start",
            delta: number,
            scale?: Bounds,
        ): DayRange | null;
    }
    Index
    focusId: string | null

    Task that has the keyboard focus, or null.

    • 보이는 행 사이로 포커스를 옮기고 새 포커스 id(행이 없으면 null)를 돌려준다. 끝에서는 멈춘다.

      Parameters

      Returns string | null

    • 날짜 이동(길이 유지, 달력일 단위). 요약·일정 없음·모르는 과제·변화 없음은 null. scale을 주면 그 범위 안으로 막는다.

      Parameters

      • taskId: string
      • delta: number
      • Optionalscale: Bounds

      Returns DayRange | null

    • 한쪽 가장자리만 이동(마일스톤·요약·일정 없음은 null). 시작이 끝을 넘지 않게 막는다.

      Parameters

      • taskId: string
      • edge: "end" | "start"
      • delta: number
      • Optionalscale: Bounds

      Returns DayRange | null