@ones-editor/editor 1.1.8-beta.1 → 1.1.8-beta.2

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.
@@ -8,6 +8,8 @@ export interface IUserOptions {
8
8
  minDuration?: number;
9
9
  speed?: number;
10
10
  verticalOffset?: number;
11
+ disableHorizontal?: boolean;
12
+ disableVertical?: boolean;
11
13
  }
12
14
  export interface IOptions {
13
15
  cancelOnUserAction: boolean;
@@ -18,6 +20,8 @@ export interface IOptions {
18
20
  minDuration: number;
19
21
  speed: number;
20
22
  verticalOffset: number;
23
+ disableHorizontal?: boolean;
24
+ disableVertical?: boolean;
21
25
  }
22
26
  declare function animateScrollTo(y: number, userOptions?: IUserOptions): Promise<boolean>;
23
27
  declare function animateScrollTo(coords: TCoords, userOptions?: IUserOptions): Promise<boolean>;
@@ -15,4 +15,3 @@ export declare function getParentTableBlock(block: BlockElement): BlockElement |
15
15
  export declare function getTableCol(table: HTMLTableElement, colIndex: number): HTMLTableColElement;
16
16
  export declare function isValid(tableBlock: BlockElement): boolean;
17
17
  export declare function resetBlockHelperPos(scrollContainer: ScrollContainer): void;
18
- export declare function includeBigTable(editor: OnesEditor): boolean;
@@ -6,5 +6,4 @@ export interface TableOptions {
6
6
  allowScrollBarFixed?: boolean;
7
7
  hideCellMenu?: boolean;
8
8
  hideToolbar?: boolean;
9
- bigTableBoundary?: number;
10
9
  }