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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
@univerjs/sheets-crosshair-highlight
@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/facadewhen using this package through Univer Facade APIs.