API 參考

LifecycleStages

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

Global initialization stages reported by univerAPI.getCurrentLifecycleStage() and the LifeCycleChanged event.

Import

TypeScript
import { LifecycleStages } from '@univerjs/core'

Definition

TypeScript
enum LifecycleStages {  Starting = 0,  Ready = 1,  Rendered = 2,  Steady = 3,}

Values

  • Starting — Register plugins to Univer.
  • Ready — Univer business instances (UniverDoc / UniverSheet / UniverSlide) are created and services or controllers provided by plugins get initialized. The application is ready to do the first-time rendering.
  • Rendered — First-time rendering is completed.
  • Steady — All lazy tasks are completed. The application is fully ready to provide features to users.

Package: @univerjs/core · Type definitions

你覺得這篇文檔如何?

© 2026 DreamNum Co., Ltd.