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.