@apollo-office/sheets-ui
v1.0.1
Published
Spreadsheet UI layer for Univer Sheets.
Maintainers
Readme
@apollo-office/sheets-ui
@apollo-office/sheets-ui provides the main spreadsheet UI layer for Univer Sheets, including selection, menus, clipboard, formula bar integration, and rendering interaction services.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @apollo-office/sheets-ui | UniverSheetsUi | Yes | Yes | Yes |
Installation
pnpm add @apollo-office/sheets-ui
# or
npm install @apollo-office/sheets-uiKeep all @univerjs/* packages on the same version.
Usage
import '@apollo-office/sheets-ui/lib/index.css';
import EnUS from '@apollo-office/sheets-ui/locale/en-US';
import { UniverSheetsUIPlugin } from '@apollo-office/sheets-ui';
univer.registerPlugin(UniverSheetsUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Exported plugin classes:
UniverSheetsUIPluginUniverSheetsMobileUIPlugin
