-
-
Save anandadake/be32bd13e7455c36563f7edce681b9c7 to your computer and use it in GitHub Desktop.
Material Module utilizado en el articulo 007-introduccion-a-los-modulos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { NgModule } from '@angular/core'; | |
| // Form Controls | |
| import { MatAutocompleteModule } from '@angular/material/autocomplete'; | |
| import { MatCheckboxModule } from '@angular/material/checkbox'; | |
| import { MatDatepickerModule } from '@angular/material/datepicker'; | |
| import { MatNativeDateModule } from '@angular/material/core'; | |
| import { MatFormFieldModule } from '@angular/material/form-field'; | |
| import { MatInputModule } from '@angular/material/input'; | |
| import { MatRadioModule } from '@angular/material/radio'; | |
| import { MatSelectModule } from '@angular/material/select'; | |
| import { MatSliderModule } from '@angular/material/slider'; | |
| import { MatSlideToggleModule } from '@angular/material/slide-toggle'; | |
| // Navigation | |
| import { MatMenuModule } from '@angular/material/menu'; | |
| import { MatSidenavModule } from '@angular/material/sidenav'; | |
| import { MatToolbarModule } from '@angular/material/toolbar'; | |
| // Layout | |
| import { MatCardModule } from '@angular/material/card'; | |
| import { MatDividerModule } from '@angular/material/divider'; | |
| import { MatExpansionModule } from '@angular/material/expansion'; | |
| import { MatGridListModule } from '@angular/material/grid-list'; | |
| import { MatListModule } from '@angular/material/list'; | |
| import { MatStepperModule } from '@angular/material/stepper'; | |
| import { MatTabsModule } from '@angular/material/tabs'; | |
| import { MatTreeModule } from '@angular/material/tree'; | |
| // Buttons & Indicators | |
| import { MatButtonModule } from '@angular/material/button'; | |
| import { MatButtonToggleModule } from '@angular/material/button-toggle'; | |
| import { MatBadgeModule } from '@angular/material/badge'; | |
| import { MatChipsModule } from '@angular/material/chips'; | |
| import { MatIconModule } from '@angular/material/icon'; | |
| import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; | |
| import { MatProgressBarModule } from '@angular/material/progress-bar'; | |
| import { MatRippleModule } from '@angular/material/core'; | |
| // Popups & Modals | |
| import { MatBottomSheetModule } from '@angular/material/bottom-sheet'; | |
| import { MatDialogModule } from '@angular/material/dialog'; | |
| import { MatSnackBarModule } from '@angular/material/snack-bar'; | |
| import { MatTooltipModule } from '@angular/material/tooltip'; | |
| // Data table | |
| import { MatPaginatorModule } from '@angular/material/paginator'; | |
| import { MatSortModule } from '@angular/material/sort'; | |
| import { MatTableModule } from '@angular/material/table'; | |
| @NgModule({ | |
| exports: [ | |
| // Form Controls | |
| MatAutocompleteModule, | |
| MatCheckboxModule, | |
| MatDatepickerModule, | |
| MatNativeDateModule, | |
| MatFormFieldModule, | |
| MatInputModule, | |
| MatRadioModule, | |
| MatSelectModule, | |
| MatSliderModule, | |
| MatSlideToggleModule, | |
| // Navigation | |
| MatMenuModule, | |
| MatSidenavModule, | |
| MatToolbarModule, | |
| // Layout | |
| MatCardModule, | |
| MatDividerModule, | |
| MatExpansionModule, | |
| MatGridListModule, | |
| MatListModule, | |
| MatStepperModule, | |
| MatTabsModule, | |
| MatTreeModule, | |
| // Buttons & Indicators | |
| MatButtonModule, | |
| MatButtonToggleModule, | |
| MatBadgeModule, | |
| MatChipsModule, | |
| MatIconModule, | |
| MatProgressSpinnerModule, | |
| MatProgressBarModule, | |
| MatRippleModule, | |
| // Popups & Modals | |
| MatBottomSheetModule, | |
| MatDialogModule, | |
| MatSnackBarModule, | |
| MatTooltipModule, | |
| // Data table | |
| MatPaginatorModule, | |
| MatSortModule, | |
| MatTableModule | |
| ], | |
| providers: [MatDatepickerModule] | |
| }) | |
| export class MaterialModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment