Skip to content

Latest commit

 

History

History

sheets-drawing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@univerjs/sheets-drawing

npm version license downloads

@univerjs/sheets-drawing connects the shared drawing model to Univer Sheets so worksheets can host drawing objects.

Package Overview

Package UMD global CSS Locales Facade entry Worker entry
@univerjs/sheets-drawing UniverSheetsDrawing No No Yes No

Installation

pnpm add @univerjs/sheets-drawing
# or
npm install @univerjs/sheets-drawing

Usage

Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.

import { UniverSheetsDrawingPlugin } from '@univerjs/sheets-drawing';

univer.registerPlugin(UniverSheetsDrawingPlugin);

Integration Notes

Use this package with @univerjs/sheets-drawing-ui when users need drawing interactions in the sheet UI.

  • Import @univerjs/sheets-drawing/facade when using this package through Univer Facade APIs.

Resources