API 參考

Univer

此 API 頁面目前提供英文內容。程式碼簽名與識別符不隨介面語言變更。

Univer owns the dependency container, plugins, and document units.

TypeScript
import { Univer } from '@univerjs/core'const univer = new Univer({ undoRedoHistoryLimit: 100 })

Constructor parameters

The optional configuration is IUniverConfig: theme, dark mode, language packs, region, layout direction, logging, undo history limit, and dependency overrides.

Unit and plugin access

Use registerPlugin() to register plugins and the Facade API to create or access units. Call univer.dispose() when the application is removed to release its plugins and services.

你覺得這篇文檔如何?

© 2026 DreamNum Co., Ltd.