SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface TextBoxProps

    interface TextBoxProps {
        contentStyle?: CSSProperties;
        disabled?: boolean;
        movable?: IMovable;
        onDragZone?: (
            isDragZone: (event: MouseEvent | TouchEvent) => boolean,
        ) => void;
        ref?: Ref<HTMLDivElement>;
    }

    Hierarchy

    • HTMLAttributes<HTMLDivElement>
      • TextBoxProps
    Index
    contentStyle?: CSSProperties

    Styles the text area inside the drag band: the text's own padding, alignment and overflow.

    disabled?: boolean

    If true, the text area shows no text cursor.

    false
    
    movable?: IMovable

    The movable this is the text of. With it, a request to edit the movable (requestMovableEdit) puts the caret at the end of the text.

    onDragZone?: (isDragZone: (event: MouseEvent | TouchEvent) => boolean) => void

    The movable's drag-zone registration, passed through from MovableElementProps.

    ref?: Ref<HTMLDivElement>