API Reference > imodeljs-backend > Elements > Element > onChildInsert onChildInsert MethodProtectedStatic Beta Called when a new element with an instance of this class as its parent is about to be inserted. onChildInsert(_arg: OnChildElementPropsArg): void note throw an exception if the element should not be inserted note this is the class of the prospective parent Element. Parameter Type Description _arg OnChildElementPropsArg Returns - void Defined in core/backend/src/Element.ts Line 275 Last Updated: 12 June, 2024