14 lines
469 B
Plaintext
Executable file
14 lines
469 B
Plaintext
Executable file
export declare class DomController {
|
|
/**
|
|
* Schedules a task to run during the READ phase of the next frame.
|
|
* This task should only read the DOM, but never modify it.
|
|
*/
|
|
read(cb: RafCallback): void;
|
|
/**
|
|
* Schedules a task to run during the WRITE phase of the next frame.
|
|
* This task should write the DOM, but never READ it.
|
|
*/
|
|
write(cb: RafCallback): void;
|
|
}
|
|
export declare type RafCallback = (timeStamp?: number) => void;
|