Files
angular__angular/tools/example-module/example-module.template
T
Paul Gschwendtner c64503e0bf build: build material-examples with bazel (#13932)
This includes a `genrule` to create the generated `ExampleModule`
2018-11-02 14:38:34 -07:00

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