Hiyve Components - v1.0.0
    Preparing search index...

    Interface UseWhiteboardCanvasOptions

    Options for the useWhiteboardCanvas hook

    interface UseWhiteboardCanvasOptions {
        backgroundColor?: string;
        height?: number;
        initialZoom?: number;
        onCanvasReady?: (canvas: Canvas) => void;
        readOnly?: boolean;
        styles?: Partial<WhiteboardStyles>;
        width?: number;
    }
    Index

    Properties

    backgroundColor?: string

    Background color

    height?: number

    Canvas height

    initialZoom?: number

    Initial zoom level

    onCanvasReady?: (canvas: Canvas) => void

    Called when canvas is initialized

    readOnly?: boolean

    Whether the canvas is read-only

    styles?: Partial<WhiteboardStyles>

    Custom styles

    width?: number

    Canvas width