jodit-pro
Version:
PRO Version of Jodit Editor
25 lines (24 loc) • 832 B
TypeScript
/*!
* Jodit Editor PRO (https://xdsoft.net/jodit/)
* See LICENSE.md in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
*/
import type { IUIElement } from "jodit/esm/types/index";
export type IDirection = 'right' | 'left' | 'top' | 'bottom';
interface ResizeCallback {
(params: {
newSize: number;
}): void | true;
}
export declare abstract class UIResize {
static remove(element: UIResize & IUIElement): void;
static install(element: UIResize & IUIElement, direction: IDirection, options?: {
handleClassName?: string;
onResize?: ResizeCallback;
}): void;
private static onStartResize;
private static onResize;
private static onEndResize;
abstract addResize(): void;
}
export {};