angular/aio/src/app/custom-elements/live-example/live-example.module.ts
2018-03-16 12:39:07 -07:00

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;
}