LiTemplateOutletDirective class
Renders a TemplateRef with optional local variables.
Use [liTemplateOutlet] to provide the template, then pass local values
with [liTemplateOutletContext] or the shorthand [liTemplateOutletValue].
The context map keys are exposed to let- bindings in the rendered
template. Use the '$implicit' key to provide the default let-value.
- Annotations
-
- @Directive.new(selector: '[liTemplateOutlet]')
Constructors
- LiTemplateOutletDirective(ViewContainerRef _viewContainerRef)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- liTemplateOutlet ← TemplateRef?
-
Template rendered at the directive location.
no getter
-
liTemplateOutletContext
← Map<
String, Object?> ? -
Local variables exposed to the rendered template.
no getter
- liTemplateOutletValue ← Object?
-
Shorthand for setting the template
'$implicit'local value.no getter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ngDoCheck(
) → void -
ngOnDestroy(
) → void - Executed before the directive is removed from the DOM and destroyed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited