Skip to content

Documentation / @finchart/core / frameScheduler

Function: frameScheduler()

frameScheduler(view?): SchedulerFactory

Defined in: packages/core/src/plot/scheduler.ts:30

다음 프레임에 한 번. 브라우저 기본값이다.

화면 갱신보다 자주 그리는 것은 낭비다 — 고주사율 트랙패드의 pointermove는 프레임보다 자주 온다.

Parameters

view?

테스트나 iframe이 자기 window를 넣을 수 있다. 진짜 Window가 그대로 대입되는 구조 타입이다.

cancelAnimationFrame?

(handle) => void

requestAnimationFrame?

(callback) => number

Returns

SchedulerFactory