Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

1.9 KB
Raw Blame

@univerjs/sheets-crosshair-highlight

npm version license downloads

@univerjs/sheets-crosshair-highlight adds crosshair highlighting for the active row and column in Univer Sheets.

Package Overview

Package UMD global CSS Locales Facade entry Worker entry
@univerjs/sheets-crosshair-highlight UniverSheetsCrosshairHighlight Yes Yes Yes No

Installation

pnpm add @univerjs/sheets-crosshair-highlight
# or
npm install @univerjs/sheets-crosshair-highlight

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 '@univerjs/sheets-crosshair-highlight/lib/index.css';
import EnUS from '@univerjs/sheets-crosshair-highlight/locale/en-US';
import { UniverSheetsCrosshairHighlightPlugin } from '@univerjs/sheets-crosshair-highlight';

univer.registerPlugin(UniverSheetsCrosshairHighlightPlugin);

// Merge EnUS into your Univer locale map when this package contributes UI text.

Integration Notes

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

Resources