x4js - v2.2.49
    Preparing search index...

    A content widget renders inline with the text and can be easily placed 'near' an editor position.

    interface IContentWidget {
        allowEditorOverflow?: boolean;
        suppressMouseDown?: boolean;
        afterRender?(
            position: ContentWidgetPositionPreference,
            coordinate: IContentWidgetRenderedCoordinate,
        ): void;
        beforeRender?(): IDimension;
        getDomNode(): HTMLElement;
        getId(): string;
        getPosition(): IContentWidgetPosition;
    }
    Index
    allowEditorOverflow?: boolean

    Render this content widget in a location where it could overflow the editor's view dom node.

    suppressMouseDown?: boolean

    Call preventDefault() on mousedown events that target the content widget.