@angular/material/slide-toggle#MatSlideToggleModule TypeScript Examples
The following examples show how to use
@angular/material/slide-toggle#MatSlideToggleModule.
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: material.module.ts From bitcoin-s-ts with MIT License | 6 votes |
materialModules = [
MatBadgeModule,
MatBottomSheetModule,
MatButtonModule,
MatButtonToggleModule,
MatCheckboxModule,
MatExpansionModule,
MatDatepickerModule,
MatDialogModule, // For focus
MatFormFieldModule,
MatIconModule,
MatInputModule,
MatMenuModule,
MatNativeDateModule,
MatOptionModule,
MatProgressSpinnerModule,
MatSelectModule,
MatSidenavModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
MatProgressSpinnerModule,
MatRadioModule,
MatTableModule,
MatToolbarModule,
MatTooltipModule,
]
Example #2
Source File: radio-button.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatDividerModule,
MatRadioModule,
MatIconModule,
MatTooltipModule,
AswConfirmDialogModule
],
declarations: [
AswRadioButton,
AswRadioButtonDialog
],
exports: [
AswRadioButton,
AswRadioButtonDialog
]
})
export class AswRadioButtonModule { }
Example #3
Source File: select.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatDividerModule,
MatTooltipModule,
MatIconModule,
MatRadioModule,
AswConfirmDialogModule
],
declarations: [
AswSelect,
AswSelectDialog
],
exports: [
AswSelect,
AswSelectDialog
]
})
export class AswSelectModule { }
Example #4
Source File: signature.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatDividerModule,
MatIconModule,
MatTooltipModule,
AswImageDrawingModule,
AswConfirmDialogModule
],
declarations: [
AswSignature,
AswSignatureDialog
],
exports: [
AswSignature,
AswSignatureDialog
]
})
export class AswSignatureModule { }
Example #5
Source File: slide-toggle.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatDividerModule,
MatIconModule,
MatTooltipModule,
AswConfirmDialogModule
],
declarations: [
AswSlideToggle,
AswSlideToggleDialog
],
exports: [
AswSlideToggle,
AswSlideToggleDialog
]
})
export class AswSlideToggleModule { }
Example #6
Source File: textarea.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatTooltipModule,
MatDividerModule,
MatIconModule,
AswConfirmDialogModule
],
declarations: [
AswTextarea,
AswTextareaDialog
],
exports: [
AswTextarea,
AswTextareaDialog
]
})
export class AswTextareaModule { }
Example #7
Source File: textbox.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatTooltipModule,
MatDividerModule,
MatIconModule,
AswConfirmDialogModule
],
declarations: [
AswTextbox,
AswTextboxDialog
],
exports: [
AswTextbox,
AswTextboxDialog
]
})
export class AswTextboxModule { }
Example #8
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 #9
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 #10
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 #11
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 #12
Source File: app.module.ts From json-schema-form with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
MainComponent,
CustomComponent,
SchemaEditComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
JsonSchemaFormModule,
MatExpansionModule,
MatToolbarModule,
AppRoutingModule,
MatCardModule,
MatTooltipModule,
MatSlideToggleModule,
FormsModule,
MatButtonModule,
NgxEditorModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #13
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 #14
Source File: dxc-switch.module.ts From halstack-angular with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [DxcSwitchComponent],
imports: [
CommonModule,
MatSlideToggleModule,
FormsModule,
],
exports: [DxcSwitchComponent],
})
export class DxcSwitchModule {}
Example #15
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 #16
Source File: op_profile_module.ts From profiler with Apache License 2.0 | 6 votes |
/** An op profile module. */
@NgModule({
declarations: [OpProfile],
imports: [
MatFormFieldModule,
MatInputModule,
MatSliderModule,
MatSlideToggleModule,
OpTableModule,
MatIconModule,
MatTooltipModule,
],
exports: [OpProfile]
})
export class OpProfileModule {
}
Example #17
Source File: material-module.ts From 6PG-Dashboard with MIT License | 6 votes |
@NgModule({
exports: [
ColorPickerModule,
CdkTableModule,
MatButtonModule,
MatButtonToggleModule,
MatChipsModule,
MatCheckboxModule,
MatInputModule,
MatIconModule,
MatTableModule,
MatPaginatorModule,
MatRippleModule,
MatSortModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSelectModule,
MatSnackBarModule,
MatTooltipModule
]
})
export class MaterialModule {}
Example #18
Source File: app.module.ts From angular-dark-mode with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
SampleDialogComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatToolbarModule,
MatSlideToggleModule,
ReactiveFormsModule,
MatButtonModule,
MatCardModule,
MatIconModule,
MatDialogModule,
FlexLayoutModule,
MatFormFieldModule,
MatInputModule,
MatCheckboxModule,
MatExpansionModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #19
Source File: material.module.ts From WiLearning with GNU Affero General Public License v3.0 | 6 votes |
@NgModule({
exports: [
MatSelectModule,
MatAutocompleteModule,
MatCardModule,
MatCheckboxModule,
MatDatepickerModule,
MatDialogModule,
MatGridListModule,
MatIconModule,
MatListModule,
MatMenuModule,
MatProgressBarModule,
MatProgressSpinnerModule,
MatButtonModule,
MatButtonToggleModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSnackBarModule,
MatTabsModule,
MatToolbarModule,
MatTooltipModule,
MatRadioModule,
MatInputModule,
MatRippleModule,
MatDividerModule,
MatExpansionModule,
MatTableModule,
MatPaginatorModule,
MatSortModule,
MatBadgeModule
]
})
export class MaterialComponentsModule {}
Example #20
Source File: gps.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatFormFieldModule,
MatSelectModule,
MatInputModule,
MatDialogModule,
MatIconModule,
MatTooltipModule,
AswConfirmDialogModule,
MatAutocompleteModule,
MatDividerModule,
MatSlideToggleModule
],
declarations: [
AswGps,
AswGpsDialog
],
exports: [
AswGps,
AswGpsDialog
]
})
export class AswGpsModule { }
Example #21
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 #22
Source File: home.module.ts From VIR with MIT License | 6 votes |
@NgModule({
declarations: [HomeComponent],
imports: [
CommonModule, SharedModule, HomeRoutingModule, MatButtonModule,
MatToolbarModule, MatIconModule, MatSlideToggleModule, MatSidenavModule,
MatTabsModule, ItemsModule,
MatTooltipModule, TimelineModule, DayViewModule, MatFormFieldModule,
MatDatepickerModule, MatInputModule, QueueModule, QuotaListModule,
MatDividerModule, SettingsDialogModule, StartDialogModule, AlertListModule,
TimerModule,
],
})
export class HomeModule {
}
Example #23
Source File: items.module.ts From VIR with MIT License | 6 votes |
@NgModule({
declarations: [ItemsComponent],
imports: [
CommonModule,
MatTreeModule,
MatIconModule,
MatButtonModule,
MatDialogModule,
ItemDetailsModule,
ItemModule,
MatTooltipModule,
MatInputModule,
GotoItemModule,
MatSlideToggleModule,
MatDividerModule,
FormsModule,
DragDropModule,
ScrollingModule,
MatButtonToggleModule,
MatCheckboxModule,
],
exports: [
ItemsComponent,
],
})
export class ItemsModule {
}
Example #24
Source File: queue.module.ts From VIR with MIT License | 6 votes |
@NgModule({
declarations: [QueueComponent],
imports: [
CommonModule,
MatTreeModule,
MatIconModule,
MatButtonModule,
MatDialogModule,
ItemDetailsModule,
ItemModule,
MatTooltipModule,
MatInputModule,
MatSlideToggleModule,
MatDividerModule,
FormsModule,
DragDropModule,
ScrollingModule,
MatButtonToggleModule,
MatCheckboxModule,
],
exports: [
QueueComponent,
],
})
export class QueueModule {
}
Example #25
Source File: quota-list.module.ts From VIR with MIT License | 6 votes |
@NgModule({
declarations: [QuotaListComponent],
imports: [
CommonModule,
MatTreeModule,
MatIconModule,
MatButtonModule,
MatDialogModule,
ItemDetailsModule,
ItemModule,
MatTooltipModule,
MatInputModule,
MatSlideToggleModule,
MatDividerModule,
FormsModule,
DragDropModule,
ScrollingModule,
MatButtonToggleModule,
QuotaRuleModule,
QuotaRuleDetailsModule,
],
exports: [
QuotaListComponent,
],
})
export class QuotaListModule {
}
Example #26
Source File: settings-dialog.module.ts From VIR with MIT License | 6 votes |
@NgModule({
declarations: [SettingsDialogComponent],
imports: [
CommonModule,
MatIconModule,
MatButtonModule,
MatSlideToggleModule,
MatFormFieldModule,
FormsModule,
MatInputModule,
],
})
export class SettingsDialogModule {
}
Example #27
Source File: timeline.module.ts From VIR with MIT License | 6 votes |
@NgModule({
declarations: [TimelineComponent],
imports: [
CommonModule,
MatDividerModule,
FormsModule,
MatButtonToggleModule,
MatButtonModule,
MatTooltipModule,
MonthDayViewModule,
MatIconModule,
MatDatepickerModule,
MatFormFieldModule,
MatInputModule,
MatNativeDateModule,
MatSlideToggleModule,
SessionChipModule,
],
exports: [TimelineComponent],
})
export class TimelineModule {
}
Example #28
Source File: multi-select.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatDividerModule,
MatIconModule,
MatCheckboxModule,
MatTooltipModule,
AswConfirmDialogModule
],
declarations: [
AswMultiSelect,
AswMultiSelectDialog
],
exports: [
AswMultiSelect,
AswMultiSelectDialog
]
})
export class AswMultiSelectModule { }
Example #29
Source File: datepicker.module.ts From ASW-Form-Builder with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatDialogModule,
MatSlideToggleModule,
MatDividerModule,
MatDatepickerModule,
MatNativeDateModule,
MatIconModule,
MatTooltipModule,
AswConfirmDialogModule
],
declarations: [
AswDatepicker,
AswDatepickerDialog
],
exports: [
AswDatepicker,
AswDatepickerDialog
]
})
export class AswDatepickerModule { }