How to use @angular2-material/slide-toggle - 2 common examples

To help you get started, we’ve selected a few @angular2-material/slide-toggle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bulktrade / SMSC / modules / admin / src / app / md.module.ts View on Github external
MdProgressBarModule.forRoot(),
        MdProgressCircleModule.forRoot(),
        MdRippleModule.forRoot(),
        MdSidenavModule.forRoot(),
        MdTabsModule.forRoot(),
        MdToolbarModule.forRoot(),
        PortalModule.forRoot(),
        RtlModule.forRoot(),

        // These modules include providers.
        MdButtonToggleModule.forRoot(),
        MdIconModule.forRoot(),
        MdMenuModule.forRoot(),
        MdRadioModule.forRoot(),
        MdSliderModule.forRoot(),
        MdSlideToggleModule.forRoot(),
        MdTooltipModule.forRoot(),
        OverlayModule.forRoot(),
    ],
    exports: MATERIAL_MODULES,
    providers: [MdLiveAnnouncer]
})
export class MaterialRootModule {
}


@NgModule({
    imports: MATERIAL_MODULES,
    exports: MATERIAL_MODULES,
})
export class MdModule {
    static forRoot(): ModuleWithProviders {
github SSWConsulting / enterprise-musicstore-ui-angular2 / src / app / app.module.ts View on Github external
MdButtonModule.forRoot(),
    MdButtonToggleModule.forRoot(),
    MdCardModule.forRoot(),
    MdCheckboxModule.forRoot(),
    MdGridListModule.forRoot(),
    MdIconModule.forRoot(),
    MdInputModule.forRoot(),
    MdListModule.forRoot(),
    MdMenuModule.forRoot(),
    MdProgressBarModule.forRoot(),
    MdProgressCircleModule.forRoot(),
    MdRadioModule.forRoot(),
    MdRippleModule.forRoot(),
    MdSidenavModule.forRoot(),
    MdSliderModule.forRoot(),
    MdSlideToggleModule.forRoot(),
    MdTabsModule.forRoot(),
    MdToolbarModule.forRoot(),
    MdTooltipModule.forRoot(),
    OverlayModule.forRoot(),
    PortalModule.forRoot(),
    RtlModule.forRoot(),

    routing
  ],
  providers: [
    AlbumService, 
    GenreService, 
    AuthService,
    CartService,
    AUTH_PROVIDERS
  ],

@angular2-material/slide-toggle

Angular 2 Material Slide Toggle

MIT
Latest version published 7 years ago

Package Health Score

63 / 100
Full package analysis