API Reference > imodeljs-backend > ElementAspects > ElementAspect > onUpdate onUpdate MethodProtectedStatic Beta Called before an ElementAspect is updated. onUpdate(_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 45 Last Updated: 13 June, 2024