LifecycleStages
Cette page API est actuellement disponible en anglais. Les signatures et identifiants restent identiques dans toutes les langues.
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
Que pensez-vous de ce guide ?