MCPcopy Index your code
hub / github.com/angular/angular / Ng1HeroComponentWrapper

Class Ng1HeroComponentWrapper

packages/examples/upgrade/static/ts/full/module.ts:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 standalone: false,
99})
100export class Ng1HeroComponentWrapper extends UpgradeComponent {
101 // The names of the input and output properties here must match the names of the
102 // `<` and `&` bindings in the AngularJS component that is being wrapped
103 hero = input.required<Hero>();
104 onRemove = output<void>();
105
106 constructor(elementRef: ElementRef, injector: Injector) {
107 // We must pass the name of the directive as used by AngularJS to the super
108 super('ng1Hero', elementRef, injector);
109 }
110}
111// #enddocregion
112
113// #docregion ng2-module

Callers

nothing calls this directly

Calls 2

outputFunction · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…