MCPcopy
hub / github.com/angular/angular / insert

Method insert

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

Source from the content-addressed store, hash-verified

308 minutes = 10;
309
310 insert() {
311 const beforeView = this.beforeTpl.createEmbeddedView({});
312 // change-detect the "before view" to create all child views
313 beforeView.detectChanges();
314 this.viewInsertingDir.insert(beforeView, this.insertTpl);
315 }
316 }
317
318 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