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

    Interface ConstructorOptions<J>

    interface ConstructorOptions<J> {
        description?: string | null;
        getMovable?: () => IMovable | null;
        getStyles?: () => IStyleCollection | null;
        json?: J;
        name?: string | null;
        transactions?: IStore;
        type?: string;
        deleteFromContainer?(options?: ITransaction.OperationOptions): void;
        isReadOnly?(): boolean;
        setContainerReadOnlyCallback?(callback: ReadOnlyCallback): void;
    }

    Type Parameters

    • J

    Hierarchy (View Summary)

    Index
    description?: string | null

    The alternative text.

    getMovable?: () => IMovable | null

    Returns the movable that places the content. Not provided for content that has none.

    getStyles?: () => IStyleCollection | null

    Returns the styles the content's theme references resolve against. Not provided for content outside a workbook.

    json?: J

    JSON state to load.

    name?: string | null

    The name. Content that a movable places is given one when this is empty.

    transactions?: IStore

    A transaction store that can be used to undo/redo changes to the model.

    type?: string

    The type of the model.

    • If the item is readonly.

      Returns boolean

    • Notify if the readonly has been updated from the container.

      Parameters

      • callback: ReadOnlyCallback

      Returns void