UniverInstanceType
Cette page API est actuellement disponible en anglais. Les signatures et identifiants restent identiques dans toutes les langues.
Unit types used by univer.createUnit() and instance APIs. The Facade provides product-specific creation methods such as createWorkbook() and createDocument().
Import
TypeScript
import { UniverInstanceType } from '@univerjs/core'Definition
TypeScript
enum UniverInstanceType { UNIVER_UNKNOWN = 0, UNIVER_DOC = 1, UNIVER_SHEET = 2, UNIVER_SLIDE = 3, UNIVER_PROJECT = 4, UNIVER_BASE = 5, UNIVER_BOARD = 6, UNIVER_PDF = 7, UNRECOGNIZED = -1,}Package: @univerjs/core · Type definitions
Que pensez-vous de ce guide ?