@myrmidon/gve-snapshot-rendition 2.0.10 → 2.0.11
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/dist/core/gve-snapshot-rendition.d.ts +13 -0
- package/dist/index.cjs.min.js +3 -3
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.js +461 -384
- package/dist/index.js.map +1 -1
- package/dist/rendering/hint-renderer.d.ts +4 -1
- package/dist/rendering/text-renderer.d.ts +4 -1
- package/dist/ui/toolbar.d.ts +14 -0
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ export declare class GveSnapshotRendition extends HTMLElement {
|
|
|
48
48
|
private _currentVersionIndex;
|
|
49
49
|
private _autoForwardEnabled;
|
|
50
50
|
private _autoForwardTimerId;
|
|
51
|
+
private _compressedTimeMode;
|
|
51
52
|
private _renderScheduled;
|
|
52
53
|
private _isNavigating;
|
|
53
54
|
constructor();
|
|
@@ -316,6 +317,18 @@ export declare class GveSnapshotRendition extends HTMLElement {
|
|
|
316
317
|
* Get current auto-forward enabled state.
|
|
317
318
|
*/
|
|
318
319
|
getAutoForwardEnabled(): boolean;
|
|
320
|
+
/**
|
|
321
|
+
* Toggle compressed time mode. When enabled, navigating to any version
|
|
322
|
+
* skips hint/text entrance animations, prolog panning animation, and the
|
|
323
|
+
* backward fade-out, so the target version's final state is shown right
|
|
324
|
+
* away instead of playing every intervening operation's animations.
|
|
325
|
+
* @param enabled - Whether to enable compressed time mode
|
|
326
|
+
*/
|
|
327
|
+
setCompressedTimeModeEnabled(enabled: boolean): void;
|
|
328
|
+
/**
|
|
329
|
+
* Get current compressed time mode state.
|
|
330
|
+
*/
|
|
331
|
+
getCompressedTimeModeEnabled(): boolean;
|
|
319
332
|
/**
|
|
320
333
|
* Setup keyboard shortcuts for navigation and zoom.
|
|
321
334
|
* Shortcuts:
|