(
injector: Injector,
public popup: PopupService,
)
| 15 | }) |
| 16 | export class App { |
| 17 | constructor( |
| 18 | injector: Injector, |
| 19 | public popup: PopupService, |
| 20 | ) { |
| 21 | // Convert `PopupComponent` to a custom element. |
| 22 | const PopupElement = createCustomElement(Popup, {injector}); |
| 23 | // Register the custom element with the browser. |
| 24 | customElements.define('popup-element', PopupElement); |
| 25 | } |
| 26 | } |
nothing calls this directly
no test coverage detected