@cesdk/cesdk-js 1.65.0-nightly.20251120 → 1.65.0-nightly.20251121

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/index.d.ts CHANGED
@@ -4716,6 +4716,8 @@ export declare interface RegisteredActions {
4716
4716
  */
4717
4717
  /** Action for scrolling to a specific page */
4718
4718
  'scroll.toPage': ScrollToPageAction;
4719
+ /** Action for scrolling to a specific block */
4720
+ 'scroll.toBlock': ScrollToBlockAction;
4719
4721
  /**
4720
4722
  * Video timeline zoom actions
4721
4723
  */
@@ -4806,6 +4808,15 @@ export { SceneMode }
4806
4808
 
4807
4809
  export { Scope }
4808
4810
 
4811
+ /**
4812
+ * Action function for scrolling to a specific block
4813
+ * @public
4814
+ */
4815
+ export declare type ScrollToBlockAction = (blockId: number, options?: {
4816
+ /** Whether to animate the scroll (default: false) */
4817
+ animate?: boolean;
4818
+ }) => Promise<void>;
4819
+
4809
4820
  /**
4810
4821
  * Action function for scrolling to a specific page
4811
4822
  * @public