tooltip-demo-module.ts (material2-7.3.5) | : | tooltip-demo-module.ts (material2-7.3.6) | ||
---|---|---|---|---|
/** | /** | |||
* @license | * @license | |||
* Copyright Google LLC All Rights Reserved. | * Copyright Google LLC All Rights Reserved. | |||
* | * | |||
* Use of this source code is governed by an MIT-style license that can be | * Use of this source code is governed by an MIT-style license that can be | |||
* found in the LICENSE file at https://angular.io/license | * found in the LICENSE file at https://angular.io/license | |||
*/ | */ | |||
import {NgModule} from '@angular/core'; | import {NgModule} from '@angular/core'; | |||
import {MatTooltipModule} from '@angular/material'; | import {MatTooltipModule} from '@angular/material'; | |||
import {RouterModule} from '@angular/router'; | ||||
import {ExampleModule} from '../example/example-module'; | import {ExampleModule} from '../example/example-module'; | |||
import {TooltipDemo} from './tooltip-demo'; | import {TooltipDemo} from './tooltip-demo'; | |||
@NgModule({ | @NgModule({ | |||
imports: [ | imports: [ | |||
ExampleModule, | ExampleModule, | |||
MatTooltipModule, | MatTooltipModule, | |||
RouterModule.forChild([{path: '', component: TooltipDemo}]), | ||||
], | ], | |||
declarations: [TooltipDemo], | declarations: [TooltipDemo], | |||
}) | }) | |||
export class TooltipDemoModule { | export class TooltipDemoModule { | |||
} | } | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |