doc: Add doc to Ticker.raf
This commit is contained in:
parent
a48155f8dc
commit
415e493834
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ let rafTicker: undefined | Ticker
|
||||||
* external scheduling strategy, e.g. a raf.
|
* external scheduling strategy, e.g. a raf.
|
||||||
*/
|
*/
|
||||||
export default class Ticker {
|
export default class Ticker {
|
||||||
|
/** Get a shared `requestAnimationFrame` ticker. */
|
||||||
static get raf(): Ticker {
|
static get raf(): Ticker {
|
||||||
if (!rafTicker) {
|
if (!rafTicker) {
|
||||||
rafTicker = createRafTicker()
|
rafTicker = createRafTicker()
|
||||||
|
|
Loading…
Reference in a new issue