@univerjs/engine-render 0.10.11 → 0.10.12-nightly.202510251119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +3440 -3027
- package/lib/index.js +3440 -3027
- package/lib/types/viewport.d.ts +4 -0
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
- package/LICENSE +0 -176
package/lib/types/viewport.d.ts
CHANGED
|
@@ -177,6 +177,10 @@ export declare class Viewport {
|
|
|
177
177
|
*/
|
|
178
178
|
bufferEdgeX: number;
|
|
179
179
|
bufferEdgeY: number;
|
|
180
|
+
/**
|
|
181
|
+
* Used to store the requestAnimationFrame ID for scroll animation.
|
|
182
|
+
*/
|
|
183
|
+
scrollAnimationFrameId: number | null;
|
|
180
184
|
constructor(viewportKey: string, scene: Scene, props?: IViewProps);
|
|
181
185
|
initCacheCanvas(props: IViewProps | undefined, scene: Scene): void;
|
|
182
186
|
get scene(): Scene;
|