ngTemplateOutletContext property

  1. @Input()
set ngTemplateOutletContext (Map<String, Object?> context)

An optional map of local variables to define in the embedded view.

Theses variables can be assigned to template input variables declared using 'let-' bindings. The variable '$implicit' can be used to set the default value of any 'let-' binding without an explicit assignment.

Implementation

@Input()
set ngTemplateOutletContext(Map<String, Object?> context) {
  _context = context;
}