mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
551 B
551 B
BlockSuite API Documentation / @blocksuite/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