MCPcopy Create free account
hub / github.com/angular/angular / insert

Method insert

packages/core/test/acceptance/view_insertion_spec.ts:280–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278 minutes = 10;
279
280 insert() {
281 const beforeView = this.beforeTpl.createEmbeddedView({});
282 // change-detect the "before view" to create all child views
283 beforeView.detectChanges();
284 this.viewInsertingDir.insert(beforeView, this.insertTpl);
285 }
286 }
287
288 beforeEach(() => {

Callers 13

ngOnInitMethod · 0.45
ngOnInitMethod · 0.45
createMethod · 0.45
createAndInsertMethod · 0.45
createMethod · 0.45
insertMethod · 0.45
createAndInsertViewsFunction · 0.45
insertMethod · 0.45

Calls 3

createEmbeddedViewMethod · 0.65
createComponentMethod · 0.65
detectChangesMethod · 0.45

Tested by

no test coverage detected