import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { RouterModule , Routes } from '@angular/router' ; import { NglTooltipsModule , NglButtonsModule } from 'ng-lightning' ; import { NglDemoExampleModule } from 'src/app/example/example.module' ; import { DemoTooltipsComponent } from './tooltips.component' ; import { DemoTooltipsBasic } from './examples/basic' ; import { DemoTooltipsConfig } from './examples/config' ; import { DemoTooltipsDelay } from './examples/delay' ; import { DemoTooltipsInteractive } from './examples/interactive' ; import { DemoTooltipsPlacement } from './examples/placement' ; const routes = [ { path : '' , component : DemoTooltipsComponent } , ] ; @ NgModule ( { imports : [ CommonModule , RouterModule . forChild ( routes ) , NglTooltipsModule , NglButtonsModule , NglDemoExampleModule , ] , declarations : [ DemoTooltipsComponent , DemoTooltipsBasic , DemoTooltipsConfig , DemoTooltipsDelay , DemoTooltipsInteractive , DemoTooltipsPlacement , ] , } ) export class NglDemoTooltipsModule { }