API Reference
@univerjs
@univerjs/docs-ui
functions
Getcommandskeleton

@univerjs/docs-ui v0.4.2Docs


Function: getCommandSkeleton()

function getCommandSkeleton(accessor, unitId): undefined | DocSkeletonManagerService

Get the skeleton of the command's target.

Parameters

ParameterTypeDescription
accessorIAccessorThe injection accessor.
unitIdstringUnit ID.

Returns

undefined | DocSkeletonManagerService

Defined in

packages/docs-ui/src/commands/util.ts:26 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.