@angular/material/input#MatInputModule TypeScript Examples
The following examples show how to use
@angular/material/input#MatInputModule.
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 gnosis.1inch.exchange with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
SlippageSettingsComponent,
GasSettingsComponent
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule,
BrowserAnimationsModule,
MatButtonModule,
MatSelectModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatFormFieldModule,
MatTooltipModule,
MatIconModule,
MatRadioModule,
NgxWebstorageModule.forRoot(),
MatAutocompleteModule,
NgxMatSelectSearchModule,
MatExpansionModule,
FontAwesomeModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #2
Source File: app.module.ts From bdc-walkthrough with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
Example1Component,
Example2Component,
Example3Component,
Example4Component,
Example5Component,
Example6Component,
Example7Component
],
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
AppRoutingModule,
MatIconModule,
MatButtonModule,
MatCheckboxModule,
MatFormFieldModule,
MatInputModule,
MatDialogModule,
BdcWalkModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #3
Source File: app.module.ts From ngx-colors with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
CustomTriggerExampleComponent,
DocumentViewerComponent,
HideElementsExampleComponent,
CustomPaletteExampleComponent,
ChangeAcceptLabelExampleComponent
],
imports: [
HighlightModule,
BrowserModule,
ReactiveFormsModule,
BrowserAnimationsModule,
AppRoutingModule,
NgxColorsModule,
MatTabsModule,
FormsModule,
HttpClientModule,
MatInputModule,
MatSlideToggleModule,
MatButtonModule
],
providers: [
{
provide: HIGHLIGHT_OPTIONS,
useValue: {
languages: getHighlightLanguages()
}
}
],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #4
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 #5
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 #6
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 #7
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 #8
Source File: material.module.ts From App with MIT License | 6 votes |
modules = [ MatToolbarModule, MatRippleModule, MatIconModule, MatTooltipModule, MatButtonModule, MatDividerModule, MatFormFieldModule, MatInputModule, MatCheckboxModule, MatProgressSpinnerModule, MatProgressBarModule, MatPaginatorModule, MatDialogModule, MatMenuModule, MatRadioModule, MatDatepickerModule, MatNativeDateModule, MatExpansionModule, MatSelectModule, MatBadgeModule, MatChipsModule ]
Example #9
Source File: credits-dialog.module.ts From colo-calc with Do What The F*ck You Want To Public License | 6 votes |
@NgModule({
imports: [
CommonModule,
MatDialogModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
PipesModule,
],
declarations: [CreditsDialogComponent],
exports: [CreditsDialogComponent],
providers: [CreditsDialogComponent],
})
export class CreditsDialogModule { }
Example #10
Source File: alert-list.module.ts From VIR with MIT License | 6 votes |
@NgModule({
declarations: [AlertListComponent],
imports: [
CommonModule,
MatTreeModule,
MatIconModule,
MatButtonModule,
MatDialogModule,
ItemDetailsModule,
ItemModule,
MatTooltipModule,
MatInputModule,
MatSlideToggleModule,
MatDividerModule,
FormsModule,
DragDropModule,
ScrollingModule,
MatButtonToggleModule,
QuotaRuleModule,
QuotaRuleDetailsModule,
MatMenuModule,
],
exports: [
AlertListComponent,
],
})
export class AlertListModule {
}
Example #11
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 #12
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 #13
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 #14
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 #15
Source File: autocomplete.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatDividerModule,
MatTooltipModule,
MatRadioModule,
MatIconModule,
MatAutocompleteModule,
AswConfirmDialogModule,
],
declarations: [
AswAutocomplete,
AswAutocompleteDialog
],
exports: [
AswAutocomplete,
AswAutocompleteDialog
]
})
export class AswAutocompleteModule { }
Example #16
Source File: auth.module.ts From budget-angular with GNU General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
LoginComponent,
SignupComponent,
ConfirmComponent,
ForRolesDirective,
PasswordComponent,
RecoverComponent,
OAuthComponent,
OtpComponent,
],
exports: [ForRolesDirective],
imports: [
CommonModule,
RouterModule,
AuthRoutingModule,
FormsModule,
ReactiveFormsModule,
MatButtonModule,
MatFormFieldModule,
MatInputModule,
MatDialogModule,
],
providers: [
{
provide: HTTP_INTERCEPTORS,
useClass: AuthInterceptor,
multi: true,
},
authStrategyProvider,
],
})
export class AuthModule {}
Example #17
Source File: app.module.ts From RoboScan with GNU General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
AlertDialogComponent,
DockerDialogComponent,
SambaDialogComponent,
RsyncDialogComponent,
CaptureOneDialogComponent
],
imports: [
HttpClientModule,
BrowserModule,
BrowserAnimationsModule,
FormsModule,
ReactiveFormsModule,
MatToolbarModule,
MatStepperModule,
MatButtonModule,
MatIconModule,
MatFormFieldModule,
MatDialogModule,
MatMenuModule,
MatDividerModule,
MatAutocompleteModule,
MatInputModule,
MatSelectModule,
MatButtonToggleModule,
MatExpansionModule,
MatSlideToggleModule,
SocketIoModule.forRoot(config),
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #18
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 #19
Source File: material.module.ts From bitcoin-s-ts with MIT License | 6 votes |
materialModules = [
MatBottomSheetModule,
MatButtonModule,
MatCheckboxModule,
MatDatepickerModule,
MatDialogModule, // For focus
MatFormFieldModule,
MatIconModule,
MatInputModule,
MatMenuModule,
MatNativeDateModule,
MatOptionModule,
MatProgressSpinnerModule,
MatSelectModule,
MatSidenavModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
MatProgressSpinnerModule,
MatRadioModule,
MatTableModule,
MatTooltipModule,
]
Example #20
Source File: _module.stories.ts From angular-component-library with BSD 3-Clause "New" or "Revised" License | 6 votes |
storiesOf(`${COMPONENT_SECTION_NAME}/App Bar`, module)
.addDecorator(
moduleMetadata({
imports: [
AppBarModule,
ThreeLinerModule,
BrowserAnimationsModule,
ChannelValueModule,
MatIconModule,
MatFormFieldModule,
UtilModule,
MatButtonModule,
MatSelectModule,
MatInputModule,
MatMenuModule,
MatListModule,
],
})
)
.addDecorator(withKnobs)
// @accessibility
.addDecorator(withA11y)
.addDecorator(appBarWrapper())
.addDecorator(storyWrapper())
.addParameters({
...STORY_PARAMS,
notes: { markdown: getReadMe('AppBar.md') },
})
.add(README_STORY_NAME, getReadMeStory)
.add(WITH_MIN_PROPS_STORY_NAME, withBasicConfig)
.add('with variants', withVariants)
.add('with dynamic content', withDynamicContent)
.add('with ng-content', withNgContent)
.add('with full config', withFullConfig);
Example #21
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 #22
Source File: coveo.components.module.ts From cli with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [
ErrorComponent,
FacetComponent,
FacetListComponent,
PagerComponent,
QuerySummaryComponent,
ResultListComponent,
ResultLinkComponent,
SearchBoxComponent,
SearchPageComponent,
SortComponent,
HeroComponent,
HomeComponent,
],
imports: [
BrowserModule,
MatAutocompleteModule,
MatFormFieldModule,
ReactiveFormsModule,
MatInputModule,
MatListModule,
MatPaginatorModule,
MatSelectModule,
MatButtonModule,
],
providers: [InitProvider],
})
export class CoveoComponentsModule {}
Example #23
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 #24
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 #25
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 #26
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 #27
Source File: app.module.ts From material-reusable-table with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
OrdersComponent,
TableComponent,
DataPropertyGetterPipe,
CustomersComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatTableModule,
MatFormFieldModule,
MatInputModule,
MatPaginatorModule,
MatSortModule,
MatIconModule,
MatButtonModule,
MatTabsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #28
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 #29
Source File: dxc-input-text.module.ts From halstack-angular with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [DxcInputTextComponent, DxcInputPrefixIconComponent, DxcInputSuffixIconComponent],
imports: [
CommonModule,
ReactiveFormsModule,
MatInputModule,
MatFormFieldModule,
FormsModule,
MatAutocompleteModule,
],
exports: [DxcInputTextComponent, DxcInputPrefixIconComponent, DxcInputSuffixIconComponent],
})
export class DxcInputTextModule {}