Skip to content

Commit

Permalink
docs(sidenav): fix sidenav module not being imported for examples (#5177
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jelbourn authored and kara committed Jun 16, 2017
1 parent 279983b commit fdd5375
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/material-examples/example-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ import {
MdAutocompleteModule, MdButtonModule, MdButtonToggleModule, MdCardModule, MdCheckboxModule,
MdChipsModule, MdDatepickerModule, MdDialogModule, MdGridListModule, MdIconModule, MdInputModule,
MdListModule, MdMenuModule, MdProgressBarModule, MdProgressSpinnerModule, MdRadioModule,
MdSelectModule, MdSliderModule, MdSlideToggleModule, MdSnackBarModule, MdTabsModule,
MdSelectModule, MdSidenavModule, MdSliderModule, MdSlideToggleModule, MdSnackBarModule,
MdTabsModule,
MdToolbarModule, MdTooltipModule
} from '@angular/material';

Expand Down Expand Up @@ -199,6 +200,7 @@ export const EXAMPLE_COMPONENTS = {
MdSelectModule,
MdSlideToggleModule,
MdSliderModule,
MdSidenavModule,
MdSnackBarModule,
MdTabsModule,
MdToolbarModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</md-sidenav>

<div class="example-sidenav-content">
<button md-button (click)="sidenav.open()">
<button type="button" md-button (click)="sidenav.open()">
Open sidenav
</button>
</div>
Expand Down

0 comments on commit fdd5375

Please sign in to comment.