BlockSuite API Documentation / @blocksuite/affine-block-surface / ConnectorUtils
Variable: ConnectorUtils
const
ConnectorUtils:object
Type declaration
isConnectorAndBindingsAllSelected()
isConnectorAndBindingsAllSelected: (
connector
,selected
) =>boolean
Parameters
connector
ConnectorElementModel
| LocalConnectorElementModel
selected
GfxModel
[]
Returns
boolean
isConnectorWithLabel()
isConnectorWithLabel: (
model
) =>boolean
Parameters
model
GfxModel
| SurfaceLocalModel
Returns
boolean
Defined in
packages/affine/block-surface/src/index.ts:102