Referencia de API

@univerjs-pro/boards

Esta página de API está disponible actualmente en inglés. Las firmas y los identificadores no cambian con el idioma.

Board data model, element schema, commands, mutations, adapter services, and Facade APIs for Univer Boards.

TypeScript
import { UniverBoardsPlugin } from '@univerjs-pro/boards'import '@univerjs-pro/boards/facade'univer.registerPlugin(UniverBoardsPlugin)

Entry Points

  • Facade: @univerjs-pro/boards/facade

The Facade can read, set, and clear the active page background with getBackground(), setImageBackground(options), and clearBackground(). See the Boards Facade reference for an image example.

The same entry provides insertInk(options) and getInks(), plus IBoardInkFacadeInsertOptions and the BoardInkTool, BoardInkPointType, and BoardInkHandleKind enums. Ink coordinates use Board coordinates; insertion derives element bounds and uses the normal command path. getInks() returns Ink elements in z-order, including hidden or locked elements. See the Ink insertion example.

¿Cómo es esta guía?

© 2026 DreamNum Co., Ltd.