mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c64503e0bf
This includes a `genrule` to create the generated `ExampleModule`
37 lines
958 B
Plaintext
37 lines
958 B
Plaintext
/* tslint:disable */
|
|
|
|
/**
|
|
******************************************************************************
|
|
* DO NOT MANUALLY EDIT THIS FILE. THIS FILE IS AUTOMATICALLY GENERATED.
|
|
******************************************************************************
|
|
*/
|
|
|
|
import {NgModule} from '@angular/core';
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
import {CommonModule} from '@angular/common';
|
|
import {ExampleMaterialModule} from './material-module';
|
|
|
|
${exampleImports}
|
|
|
|
export interface LiveExample {
|
|
title: string;
|
|
component: any;
|
|
additionalFiles?: string[];
|
|
selectorName?: string;
|
|
}
|
|
|
|
export const EXAMPLE_COMPONENTS: {[key: string]: LiveExample} = ${exampleComponents};
|
|
export const EXAMPLE_LIST = ${exampleList}
|
|
|
|
@NgModule({
|
|
declarations: EXAMPLE_LIST,
|
|
entryComponents: EXAMPLE_LIST,
|
|
imports: [
|
|
ExampleMaterialModule,
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
CommonModule
|
|
]
|
|
})
|
|
export class ExampleModule { }
|