onDeleteElements MethodProtected

Adds roots required by code-scope dependencies, then deletes the target element trees in one native operation.

onDeleteElements(elementIds: ReadonlySet<string>): Promise<void>

@note An override must call super.onDeleteElements once to perform the deletion.

Parameter Type Description
elementIds ReadonlySet<string>  

Returns - Promise

Defined in

Last Updated: 25 August, 2026