ngTemplateOutletValue property

  1. @Input()
set 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};
}