@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
24 lines (23 loc) • 727 B
TypeScript
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
export declare class TableStickyScrollbar {
private wrapper;
private view;
private editorScrollableElement?;
private intersectionObserver?;
private stickyScrollbarContainerElement?;
private sentinels;
private topSentinelState?;
private bottomSentinelState?;
constructor(wrapper: HTMLDivElement, view: EditorView);
dispose(): void;
scrollLeft(left: number): void;
private init;
private createIntersectionObserver;
private deleteIntersectionObserver;
private sentinelBottomCallback;
private sentinelTopCallback;
private toggle;
private hide;
private show;
private handleScroll;
}