@angular/material/card#MatCardModule TypeScript Examples
The following examples show how to use
@angular/material/card#MatCardModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: app.module.ts From transformers-for-lawyers with Apache License 2.0 | 6 votes |
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
DataViewModule,
PanelModule,
MatGridListModule,
ScrollPanelModule,
DialogModule,
DropdownModule,
InputTextModule,
ButtonModule,
HttpClientModule,
FormsModule,
MatCardModule,
MatNativeDateModule,
TabViewModule,
TabMenuModule,
AccordionModule,
BreadcrumbModule,
CardModule,
AppRoutingModule,
ProgressBarModule
],
declarations: [AppComponent, DocumentViewerComponent,
SearchComponent, ReaderComponent,
TaberComponent, SafeHtmlPipe, MenuComponent, FaqComponent, HomeComponent, AboutComponent, ProgressBarComponent],
bootstrap: [AppComponent],
providers: [DocumentViewService, DocumentViewerComponent]
})
export class AppModule { }
Example #2
Source File: app.module.ts From Collab-Blog with GNU General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
BlogListComponent,
AddBlogComponent,
NavbarComponent,
WelcomePageComponent,
ViewBlogComponent,
UpdateBlogComponent,
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule,
ReactiveFormsModule,
MatButtonModule,
MatCardModule,
MatInputModule,
MatListModule,
MatToolbarModule,
MatSliderModule,
MatMenuModule,
MatFormFieldModule,
BrowserAnimationsModule,
FormsModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #3
Source File: app.module.ts From league-profile-tool with MIT License | 6 votes |
@NgModule({
declarations: [AppComponent, HomeComponent, StatusComponent, DialogComponent, ChibiComponent, BackgroundComponent, ChampionsPipe, ChatrankComponent, ChampionPurchaseDateComponent, CustomapiComponent, FaqComponent, CustomiconComponent, IconsPipe, PracticetoolComponent],
imports: [
BrowserModule,
FormsModule,
CoreModule,
AppRoutingModule,
MatTabsModule,
BrowserAnimationsModule,
MatCardModule,
MatButtonModule,
MatInputModule,
MatDialogModule,
MatSelectModule,
MatSortModule,
HttpClientModule,
],
providers: [ElectronService],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #4
Source File: app.module.ts From TheHungryRecipesApp with GNU General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
NavbarComponent,
LoginComponent,
RegistrationComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
HttpClientModule,
MaterialModule,
MatCardModule,
MatTabsModule,
MatGridListModule,
FormsModule,
MatInputModule,
MatFormFieldModule,
MatButtonModule,
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #5
Source File: app-material.module.ts From barista with Apache License 2.0 | 6 votes |
expose = [ BrowserAnimationsModule, MatButtonModule, MatButtonToggleModule, MatCardModule, MatDialogModule, MatGridListModule, MatIconModule, MatListModule, MatMenuModule, MatSidenavModule, MatSnackBarModule, MatTabsModule, MatToolbarModule, MatButtonModule, MatCardModule, MatGridListModule, MatIconModule, MatMenuModule, MatTreeModule, MatFormFieldModule, MatInputModule, MatSelectModule, MatOptionModule, MatProgressSpinnerModule, MatExpansionModule, MatTooltipModule, ]
Example #6
Source File: app.module.ts From travel-list with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
TravelListComponent,
TravelTabsComponent,
NewComponent,
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
HttpClientModule,
LayoutModule,
MatToolbarModule,
MatButtonModule,
MatSidenavModule,
MatIconModule,
MatListModule,
MatCardModule,
MatTabsModule,
MatDialogModule,
MatFormFieldModule,
MatInputModule,
FormsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #7
Source File: overflow-carousel-consumer.module.ts From nghacks with MIT License | 6 votes |
@NgModule({
declarations: [OverflowCarouselConsumerComponent],
imports: [
CommonModule,
OverflowCarouselConsumerRoutingModule,
ConsumerCommonModule,
OverflowCarouselModule,
MatCardModule,
MatFormFieldModule,
MatInputModule
]
})
export class OverflowCarouselConsumerModule { }
Example #8
Source File: material.module.ts From router with MIT License | 6 votes |
@NgModule({
imports: [
MatInputModule,
MatCardModule,
MatButtonModule,
MatSidenavModule,
MatListModule,
MatIconModule,
MatToolbarModule,
MatProgressSpinnerModule,
MatDialogModule,
],
exports: [
MatInputModule,
MatCardModule,
MatButtonModule,
MatSidenavModule,
MatListModule,
MatIconModule,
MatToolbarModule,
MatProgressSpinnerModule,
MatDialogModule,
],
})
export class MaterialModule {}
Example #9
Source File: app.module.ts From fab-menu with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule.withServerTransition({appId: 'serverApp'}),
BrowserAnimationsModule,
HttpClientModule,
FormsModule,
FlexLayoutModule,
Angulartics2Module.forRoot(),
MarkdownModule.forRoot(),
MatFabMenuModule,
MatCardModule,
MatRadioModule,
MatSlideToggleModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #10
Source File: app.module.ts From testube with GNU General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
DashComponent,
AboutComponent,
ToolbarComponent,
FooterComponent,
LogoComponent,
CardComponent,
DonateComponent,
DebugComponent,
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
MatToolbarModule,
MatButtonModule,
MatCardModule,
MatSnackBarModule,
MatFormFieldModule,
MatInputModule,
MatSliderModule,
FormsModule,
MatTooltipModule,
MatIconModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #11
Source File: admin.module.ts From budget-angular with GNU General Public License v3.0 | 6 votes |
@NgModule({
imports: [
CommonModule,
AdminRoutingModule,
MatToolbarModule,
MatTableModule,
MatCardModule,
MatButtonModule,
],
declarations: [AdminComponent],
providers: [AdminService],
})
export class AdminModule {}
Example #12
Source File: app.module.ts From qbit-matUI with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
LoginPageComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot(appRoutes, { relativeLinkResolution: 'legacy' }),
AppRoutingModule,
HttpClientModule,
MatCardModule,
MatFormFieldModule,
MatInputModule,
FormsModule,
ReactiveFormsModule,
MatButtonModule,
MatSlideToggleModule,
MatIconModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #13
Source File: user-menu.module.ts From angular-component-library with BSD 3-Clause "New" or "Revised" License | 6 votes |
@NgModule({
declarations: [UserMenuComponent, UserMenuAvatarComponent, UserMenuHeaderComponent],
imports: [
CommonModule,
DrawerHeaderModule,
InfoListItemModule,
OverlayModule,
MatBottomSheetModule,
MatCardModule,
MatToolbarModule,
],
exports: [UserMenuComponent, UserMenuAvatarComponent, UserMenuHeaderComponent],
})
export class UserMenuModule {}
Example #14
Source File: accounts.module.ts From careydevelopmentcrm with MIT License | 6 votes |
@NgModule({
declarations: [
AddAccountComponent,
AccountFormComponent,
ViewAccountsComponent,
EditAccountComponent,
ViewAccountComponent,
NoValueDisplayPipe
],
imports: [
CommonModule,
FlexLayoutModule,
DirectivesModule,
MatIconModule,
MatInputModule,
MatButtonModule,
MatProgressSpinnerModule,
MatSelectModule,
MatRadioModule,
MatExpansionModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatCardModule,
MatListModule,
MatAutocompleteModule,
ReactiveFormsModule,
AlertModule,
NgxFlagPickerModule,
RouterModule.forChild(routes)
]
})
export class AccountsModule { }
Example #15
Source File: json-schema-form.module.ts From json-schema-form with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [JsonSchemaFormComponent, EditElementDialogComponent, WidgetDirective],
imports: [
MatCardModule,
FlexLayoutModule,
MatIconModule,
MatTooltipModule,
MatTableModule,
MatTabsModule,
MatFormFieldModule,
MatSelectModule,
MatDatepickerModule,
MatCheckboxModule,
MatAutocompleteModule,
HttpClientModule,
CommonModule,
MatInputModule,
MatNativeDateModule,
MatButtonModule,
MatExpansionModule,
MatMenuModule,
ReactiveFormsModule,
MatDialogModule,
MatChipsModule,
DragDropModule
],
exports: [JsonSchemaFormComponent],
providers: [
// turn off tooltip gestures on mobile: https://github.com/angular/components/issues/4892
{ provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: { touchGestures: 'off' } },
{ provide: EDIT_DIALOG_TOKEN, useValue: EditElementDialogComponent }
]
})
export class JsonSchemaFormModule { }
Example #16
Source File: app.module.ts From angular-9-coronavirus-cases-app with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
CasesComponent,
CasesDetailsComponent,
AddCasesComponent,
EditCasesComponent,
CasesStatComponent
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AppRoutingModule,
BrowserAnimationsModule,
MatInputModule,
MatPaginatorModule,
MatProgressSpinnerModule,
MatSortModule,
MatTableModule,
MatIconModule,
MatButtonModule,
MatCardModule,
MatFormFieldModule,
MatSliderModule,
MatSlideToggleModule,
MatButtonToggleModule,
MatSelectModule,
ChartsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #17
Source File: app.module.ts From angular-9-firebase-chat-example with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
LoginComponent,
RoomlistComponent,
AddroomComponent,
ChatroomComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatIconModule,
MatCardModule,
MatFormFieldModule,
MatTableModule,
MatProgressSpinnerModule,
MatSortModule,
MatSnackBarModule,
MatSidenavModule
],
providers: [DatePipe],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #18
Source File: app.module.ts From mean-stack-angular-9-realtime-crud with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
SalesComponent,
SalesDetailsComponent,
AddSalesComponent,
EditSalesComponent
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AppRoutingModule,
BrowserAnimationsModule,
MatInputModule,
MatPaginatorModule,
MatProgressSpinnerModule,
MatSortModule,
MatTableModule,
MatIconModule,
MatButtonModule,
MatCardModule,
MatFormFieldModule,
ChartsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #19
Source File: visualizations.module.ts From oss-github-benchmark with GNU General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
BubbleComponent,
VisualizationsComponent,
SunburstComponent,
LineComponent,
],
imports: [CommonModule, MatCardModule],
exports: [BubbleComponent, VisualizationsComponent],
})
export class VisualizationsModule {}
Example #20
Source File: material.module.ts From mysql_node_angular with MIT License | 6 votes |
myModules = [ MatToolbarModule, MatSidenavModule, MatButtonModule, MatMenuModule, MatListModule, MatIconModule, MatInputModule, MatCardModule, MatTableModule, MatSortModule, MatDialogModule, MatOptionModule, MatSelectModule, ]
Example #21
Source File: app.module.ts From angular-material-admin with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
NotFoundComponent
],
imports: [
BrowserModule,
SharedModule,
AuthModule,
DashboardModule,
BrowserAnimationsModule,
RouterModule,
AppRoutingModule,
ToastrModule.forRoot(),
MatCardModule,
MatButtonModule,
NgxEchartsModule.forRoot({
echarts: () => import('echarts')
})
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #22
Source File: color-picker.module.ts From angular-material-components with MIT License | 6 votes |
@NgModule({
declarations: [
NgxMatColorPaletteComponent,
NgxMatColorCanvasComponent,
NgxMatColorCollectionComponent,
NgxMatColorSliderComponent,
NumericColorInputDirective,
NgxMatColorPickerContentComponent,
NgxMatColorPickerComponent,
NgxMatColorToggleComponent,
NgxMatColorPickerInput
],
imports: [
CommonModule,
MatInputModule,
MatButtonModule,
MatCardModule,
MatRadioModule,
FormsModule,
ReactiveFormsModule,
MatDialogModule,
PortalModule,
MatIconModule
],
exports: [
NgxMatColorToggleComponent,
NgxMatColorPickerInput,
NgxMatColorPickerComponent
],
entryComponents: [
NgxMatColorPickerContentComponent
],
providers: [
ColorAdapter,
NGX_MAT_COLOR_PICKER_SCROLL_STRATEGY_FACTORY_PROVIDER
]
})
export class NgxMatColorPickerModule { }
Example #23
Source File: app.module.ts From ngx-mat-datetime-picker with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
HomeComponent
],
imports: [
BrowserModule,
HttpClientModule,
BrowserAnimationsModule,
AppRoutingModule,
MatButtonModule,
MatSidenavModule,
MatToolbarModule,
MatIconModule,
MatListModule,
MatCardModule
],
bootstrap: [
AppComponent
]
})
export class AppModule { }
Example #24
Source File: md-menu.module.ts From ngx-ui-tour with MIT License | 6 votes |
@NgModule({
declarations: [
TourAnchorMatMenuDirective,
TourStepTemplateComponent,
TourAnchorOpenerComponent
],
exports: [
TourAnchorMatMenuDirective,
TourStepTemplateComponent,
TourModule
],
imports: [
CommonModule,
TourModule,
MatMenuModule,
MatCardModule,
MatButtonModule,
MatIconModule
]
})
export class TourMatMenuModule {
public static forRoot(): ModuleWithProviders<TourMatMenuModule> {
return {
ngModule: TourMatMenuModule,
providers: [
TourStepTemplateService,
TourBackdropService,
TourService,
NgxmTourService
]
};
}
}
Example #25
Source File: features.module.ts From coronatest with GNU Affero General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
FormComponent,
LandingComponent,
ChipComponent,
ResultsComponent,
LoadingEllipsisComponent,
InfoComponent
],
imports: [
DashboardModule,
CommonModule,
MatRadioModule,
MatFormFieldModule,
ReactiveFormsModule,
FormsModule,
MatInputModule,
BrowserAnimationsModule,
MatCheckboxModule,
MatButtonToggleModule,
MatStepperModule,
HttpClientModule,
TranslateModule.forChild({
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps: [HttpClient]
}
}),
MatButtonModule,
MatCardModule,
MatSelectModule,
RouterModule,
MatProgressSpinnerModule
]
})
export class FeaturesModule {}
Example #26
Source File: array.component.spec.ts From open-source with MIT License | 6 votes |
describe('DynMatArrayComponent', () => {
let component: DynMatArrayComponent;
let fixture: ComponentFixture<DynMatArrayComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [
DynFormsModule.forFeature(),
MatCardModule,
],
declarations: [DynMatArrayComponent],
providers: [
MockProvider(DynLogger),
MockProvider(DynFormTreeNode),
{
provide: DYN_CONTROLS_TOKEN,
useValue: {},
multi: true,
},
],
}).compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(DynMatArrayComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
Example #27
Source File: material.module.ts From capture-lite with GNU General Public License v3.0 | 6 votes |
modules = [ MatCheckboxModule, MatButtonModule, MatInputModule, MatAutocompleteModule, MatDatepickerModule, MatFormFieldModule, MatRadioModule, MatSelectModule, MatSliderModule, MatSlideToggleModule, MatMenuModule, MatSidenavModule, MatToolbarModule, MatListModule, MatGridListModule, MatCardModule, MatStepperModule, MatTabsModule, MatExpansionModule, MatButtonToggleModule, MatChipsModule, MatIconModule, MatProgressSpinnerModule, MatProgressBarModule, MatDialogModule, MatTooltipModule, MatSnackBarModule, MatTableModule, MatSortModule, MatPaginatorModule, MatBadgeModule, MatBottomSheetModule, ]
Example #28
Source File: gene.module.ts From open-genes-frontend with Mozilla Public License 2.0 | 6 votes |
@NgModule({
declarations: [
GeneComponent,
ResearchesComponent,
GeneOntologyComponent,
HumanProteinAtlasComponent,
ExpressionComponent,
DynamicContentAnchorsDirective,
GeneLocationComponent
],
imports: [
CommonModule,
RouterModule.forChild(GENE_ROUTES),
TranslateModule,
MatProgressBarModule,
MatCardModule,
MatListModule,
MatExpansionModule,
PipesModule,
MaterialModule,
NgToArrayPipeModule,
UiComponentsModule,
SidebarModule,
DirectivesModule,
NoContentModule,
IconModule,
GeneReferenceModule,
PublicationInfoModule,
AssociatedDiseasesModule,
AssociatedDiseaseCategoriesModule,
NgSplitPipeModule,
ResearchTablesModule,
],
})
export class GeneModule {}
Example #29
Source File: custom-material.module.ts From ledge with Mozilla Public License 2.0 | 6 votes |
modules = [ MatToolbarModule, MatButtonModule, MatMenuModule, MatProgressSpinnerModule, MatSliderModule, MatSidenavModule, MatIconModule, MatDialogModule, MatCardModule, MatInputModule, MatTooltipModule, MatTabsModule, MatSelectModule, MatFormFieldModule, ScrollingModule, ]