mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
13 lines
549 B
TypeScript
13 lines
549 B
TypeScript
import { NgModule, Type } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { EmbeddedStackblitzComponent, LiveExampleComponent } from './live-example.component';
|
|
import { WithCustomElementComponent } from '../element-registry';
|
|
|
|
@NgModule({
|
|
imports: [ CommonModule ],
|
|
declarations: [ LiveExampleComponent, EmbeddedStackblitzComponent ],
|
|
entryComponents: [ LiveExampleComponent ]
|
|
})
|
|
export class LiveExampleModule implements WithCustomElementComponent {
|
|
customElementComponent: Type<any> = LiveExampleComponent;
|
|
}
|