ngTemplateOutletValue property

  1. @Input()
void ngTemplateOutletValue=(Object? value)

Provides a value to be assigned in scope to the provided template.

Functionally a short-hand for passing a map of ${'\$implicit': value};

See ngTemplateOutletContext for details.

Implementation

@Input()
set ngTemplateOutletValue(Object? value) {
  _context = {'\$implicit': value};
}