AbstractAbstractanchorAbstractlengthReports how many views are currently attached to this container.
The number of views.
AbstractclearAbstractcreatecreate component by tag name selector.
the tag name for the aurora custom-element
Optionaloptions: IndexOptionscreate component by the aurora custom-element View Class
the generated aurora view class
Optionaloptions: IndexOptionsInstantiates a single component and inserts its host view into this container.
Component Type to use.
Optionaloptions: ViewContainerComponentOptionsAn object that contains extra parameters:
The new HTMLComponent which contains the component instance and the host view.
Abstractcreatecreate an HTMLElement by tag name selector.
the tag name for the aurora custom-element
Optionaloptions: HTMLElementOptionscreate an HTMLElement by tag name selector.
the tag name for the aurora custom-element
Optionaloptions: HTMLElementOptionscreate HTMLElement by View Class reference
Optionaloptions: HTMLElementOptionsAbstractcreateInstantiates an embedded view and inserts it into this container.
The HTML template that defines the view.
Optionaloptions: ViewContainerOptions<C>The ViewRef instance for the newly created view.
AbstractcreateAbstractdetachDetaches a view from this container without destroying it.
Use along with insert() to move a view within the current container.
Optionalindex: numberThe 0-based index of the view to detach. If not specified, the last view in the container is detached.
AbstractgetAbstractindexAbstractinsertInserts a view into this container.
The view to insert.
Optionalindex: numberThe 0-based index at which to insert the view. If not specified, appends the new view as the last entry.
The inserted ViewRef instance.
AbstractmoveAbstractremoveAbstractupdate
Anchor element that specifies the location of this container in the containing view. Each view container can have only one anchor element, and each anchor element can have only a single view container.
Root elements of views attached to this container become siblings of the anchor element in the rendered view.
Access the
ViewContainerRefof an element by placing aDirectiveinjected withViewContainerRefon the element, or use aViewChildquery.