Crosshair Highlight
📊 Univer Sheet
Crosshair highlight highlights the row and column of the selected cell to make it easier for users to identify the currently selected cell.
Installation
pnpm add @univerjs/sheets-crosshair-highlight
Import
import '@univerjs/sheets-crosshair-highlight/lib/index.css';
import { UniverSheetsCrosshairHighlightPlugin } from '@univerjs/sheets-crosshair-highlight';
Internationalization
import { LocaleType, Tools } from '@univerjs/core';
import SheetsCrosshairHighlightEnUS from '@univerjs/sheets-crosshair-highlight/locale/en-US';
const univer = new Univer({
theme: defaultTheme,
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: Tools.deepMerge(
SheetsCrosshairHighlightEnUS
),
},
});
Register
univer.registerPlugin(UniverSheetsCrosshairHighlightPlugin);