js-draw
Version:
Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.
19 lines (18 loc) • 581 B
TypeScript
import Editor from '../Editor';
import BaseTool from './BaseTool';
/**
* This tool, when enabled, renders scrollbars reflecting the current position
* of the view relative to the import/export area of the image.
*
* **Note**: These scrollbars are currently not draggable. This may change in
* a future release.
*/
export default class ScrollbarTool extends BaseTool {
private editor;
private scrollbarOverlay;
private verticalScrollbar;
private horizontalScrollbar;
constructor(editor: Editor);
private fadeOutTimeout;
private updateScrollbars;
}