API Reference > imodeljs-backend > Elements > Element > onDeleted onDeleted MethodProtectedStatic Beta Called after an Element was deleted. onDeleted(_props: ElementProps, _iModel: IModelDb): void throws IModelError if there is a problem note Any class that overrides this method must call super. Parameter Type Description _props ElementProps _iModel IModelDb Returns - void Defined in core/backend/src/Element.ts Line 145 Last Updated: 13 June, 2024