@univerjs-pro/sheets-history-ui
이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
Sheets ribbon, desktop/mobile viewer, and server integration for Web SDK version history.
TypeScript
import { UniverSheetsHistoryUIPlugin } from '@univerjs-pro/sheets-history-ui'import enUS from '@univerjs-pro/sheets-history-ui/locale/en-US'import '@univerjs-pro/sheets-history-ui/lib/index.css'univer.registerPlugin(UniverSheetsHistoryUIPlugin, { historyServerUrl: '/universer-api/history', univerContainerId: 'univer-container',})Use workerURL when history calculation needs a Web Worker. The package also exports ToggleEditHistoryOperation, SHEETS_HISTORY_UI_PLUGIN_CONFIG_KEY, and UniverSheetsHistoryMobileUIPlugin.
Entry Points
- Locale:
@univerjs-pro/sheets-history-ui/locale/* - Styles:
@univerjs-pro/sheets-history-ui/lib/index.css
이 가이드는 어떠셨나요?