API Reference > imodeljs-backend > ElementAspects > ElementAspect > onDeleted onDeleted MethodProtectedStatic Beta Called after an ElementAspect was deleted. onDeleted(_props: ElementAspectProps, _iModel: IModelDb): void throws IModelError if there is a problem Parameter Type Description _props ElementAspectProps _iModel IModelDb Returns - void Defined in core/backend/src/ElementAspect.ts Line 65 Last Updated: 13 June, 2024