Skip to content

Commit

Permalink
fix(badge, tooltip): Add A11yModule (#11586)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephperrott authored and andrewseguin committed Jun 7, 2018
1 parent 12ea6b3 commit 75d116d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/badge/badge-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@

import {NgModule} from '@angular/core';
import {MatCommonModule} from '@angular/material/core';
import {A11yModule} from '@angular/cdk/a11y';
import {MatBadge} from './badge';


@NgModule({
imports: [MatCommonModule],
imports: [
A11yModule,
MatCommonModule
],
exports: [MatBadge],
declarations: [MatBadge],
})
Expand Down
2 changes: 2 additions & 0 deletions src/lib/tooltip/tooltip-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

import {OverlayModule} from '@angular/cdk/overlay';
import {A11yModule} from '@angular/cdk/a11y';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatCommonModule} from '@angular/material/core';
Expand All @@ -18,6 +19,7 @@ import {

@NgModule({
imports: [
A11yModule,
CommonModule,
OverlayModule,
MatCommonModule,
Expand Down

0 comments on commit 75d116d

Please sign in to comment.