insertEmbeddedView abstract method

EmbeddedViewRef insertEmbeddedView(
  1. TemplateRef templateRef, [
  2. int index = -1
])

Instantiates templateRef and inserts it into this container at index.

If index is not specified, the new view will be inserted as the last View in the container.

Returns the newly created view.

Implementation

EmbeddedViewRef insertEmbeddedView(TemplateRef templateRef, [int index = -1]);