Service for instantiating a Component and attaching it to a View at a specified location.

Constructors

DynamicComponentLoader()

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

loadAsRoot(Type type, Injector injector, { String overrideSelector, OnDestroyCallback onDestroy, List<List> projectableNodes }) → Future<ComponentRef>

Creates an instance of a Component type and attaches it to the first element in the platform-specific global view that matches the component's selector.

loadAsRootIntoNode(Type type, Injector injector, { Node overrideNode, OnDestroyCallback onDestroy, List<List> projectableNodes }) → Future<ComponentRef>

loadNextToLocation(Type type, ViewContainerRef location, [ Injector injector, List<List> projectableNodes ]) → Future<ComponentRef>

Creates an instance of a Component and attaches it to the View Container found at the location specified as ViewContainerRef.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited