Trevixal API
    Preparing search index...

    Interface ImageResizeHandlesOptions

    interface ImageResizeHandlesOptions {
        container: HTMLElement;
        minWidth?: number;
        onResize?: (size: { height: number; width: number }) => void;
    }
    Index
    container: HTMLElement

    Where the handles are appended. Must be a positioned ancestor of the editor surface. They are placed absolutely within it, and its content box is also the widest an image may be dragged.

    minWidth?: number

    Narrowest an image may be dragged, in px. Defaults to 40.

    onResize?: (size: { height: number; width: number }) => void

    Live size during a drag, for a size readout.