mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
572 B
572 B
BlockSuite API Documentation / @blocksuite/block-std / gfx / canSafeAddToContainer
Function: canSafeAddToContainer()
canSafeAddToContainer(
container,element):boolean
This checker is used to prevent circular reference, when adding a child element to a container.
Parameters
container
GfxGroupModel
element
Returns
boolean