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
你觉得这篇文档如何?