mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit introduces a new process for generating data for the AIO [events page](https://angular.io/events), which streamlines the process and minimizes duplication and manual work. For more details, see `aio/scripts/generate-events/README.md`. PR Close #45588
14 lines
503 B
TypeScript
14 lines
503 B
TypeScript
import { NgModule, Type } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { EventsComponent } from './events.component';
|
|
import { EventsService } from './events.service';
|
|
import { WithCustomElementComponent } from '../element-registry';
|
|
|
|
@NgModule({
|
|
imports: [ CommonModule ],
|
|
declarations: [ EventsComponent ],
|
|
providers: [ EventsService ],
|
|
})
|
|
export class EventsModule implements WithCustomElementComponent {
|
|
customElementComponent: Type<any> = EventsComponent;
|
|
}
|