How to use @angular2-material/input - 7 common examples

To help you get started, we’ve selected a few @angular2-material/input 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
MdSlideToggleModule,
    MdTabsModule,
    MdToolbarModule,
    MdTooltipModule,
    OverlayModule,
    PortalModule,
    RtlModule,
];

@NgModule({
    imports: [
        MdButtonModule.forRoot(),
        MdCardModule.forRoot(),
        MdCheckboxModule.forRoot(),
        MdGridListModule.forRoot(),
        MdInputModule.forRoot(),
        MdListModule.forRoot(),
        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(),
github JacekKosciesza / InvestSystemsOrg / client / web / app / +contact / contact.component.js View on Github external
this.submitted = true;
        this.messages.push(this.message);
    };
    Object.defineProperty(ContactComponent.prototype, "diagnostic", {
        // TODO: Remove this when we're done
        get: function () { return JSON.stringify(this.message); },
        enumerable: true,
        configurable: true
    });
    ContactComponent = __decorate([
        core_1.Component({
            moduleId: module.id,
            selector: 'contact-us',
            templateUrl: 'contact.component.html',
            styleUrls: ['contact.component.css'],
            directives: [button_1.MD_BUTTON_DIRECTIVES, card_1.MD_CARD_DIRECTIVES, icon_1.MD_ICON_DIRECTIVES, input_1.MD_INPUT_DIRECTIVES]
        }), 
        __metadata('design:paramtypes', [angularfire2_1.AngularFire])
    ], ContactComponent);
    return ContactComponent;
}());
exports.ContactComponent = ContactComponent;
github Teradata / covalent / src / platform / chips / index.ts View on Github external
import { NgModule } from '@angular/core';

import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';

import { MdInputModule } from '@angular2-material/input';
import { MdIconModule } from '@angular2-material/icon';

@NgModule({
  imports: [
    BrowserModule,
    FormsModule,
    CommonModule,
    MdInputModule.forRoot(),
    MdIconModule.forRoot(),
  ],
  declarations: [
    TdChipsComponent,
    TdChipComponent,
    TdAutoCompleteComponent,
  ],
  exports: [
    TdChipsComponent,
    TdChipComponent,
    TdAutoCompleteComponent,
  ],
})
export class CovalentChipsModule {
}
github robisim74 / angular-l10n / app / shared / material.module.ts View on Github external
MdCardModule,
    MdRadioModule,
    MdInputModule,
    MdButtonModule,
    MdIconModule
];

@NgModule({
    imports: [
        MdCoreModule.forRoot(),
        MdSidenavModule.forRoot(),
        MdListModule.forRoot(),
        MdToolbarModule.forRoot(),
        MdCardModule.forRoot(),
        MdRadioModule.forRoot(),
        MdInputModule.forRoot(),
        MdButtonModule.forRoot(),
        MdIconModule.forRoot()
    ],
    exports: MATERIAL_MODULES
})

export class MaterialModule { }
github JacekKosciesza / InvestSystemsOrg / client / web / app / +stocks / stock-edit.component.js View on Github external
});
            }
        });
    };
    StockEditComponent.prototype.cancel = function () {
    };
    StockEditComponent.prototype.save = function (newName) {
        this.stockService.updategetStockExchange(this.stockFirebaesObject, { name: newName });
    };
    StockEditComponent = __decorate([
        core_1.Component({
            moduleId: module.id,
            selector: 'stock-edit',
            templateUrl: 'stock-edit.component.html',
            styleUrls: ['stock-edit.component.css'],
            directives: [button_1.MD_BUTTON_DIRECTIVES, input_1.MD_INPUT_DIRECTIVES, icon_1.MdIcon]
        }), 
        __metadata('design:paramtypes', [stock_service_1.StockService, router_1.ActivatedRoute, platform_browser_1.Title])
    ], StockEditComponent);
    return StockEditComponent;
}());
exports.StockEditComponent = StockEditComponent;
github robisim74 / angular-l10n / app / app.module.js View on Github external
}
    AppModule = __decorate([
        core_1.NgModule({
            imports: [
                platform_browser_1.BrowserModule,
                forms_1.FormsModule,
                forms_1.ReactiveFormsModule,
                app_routes_1.routing,
                http_1.HttpModule,
                dir_1.RtlModule,
                sidenav_1.MdSidenavModule,
                list_1.MdListModule,
                toolbar_1.MdToolbarModule,
                card_1.MdCardModule,
                radio_1.MdRadioModule,
                input_1.MdInputModule,
                button_1.MdButtonModule
            ],
            declarations: [
                app_component_1.AppComponent,
                home_component_1.HomeComponent,
                i18n_component_1.I18nComponent,
                list_component_1.ListComponent,
                validation_component_1.ValidationComponent,
                angular2localization_2.TranslatePipe,
                angular2localization_2.LocaleDatePipe,
                angular2localization_2.LocaleDecimalPipe,
                angular2localization_2.LocalePercentPipe,
                angular2localization_2.LocaleCurrencyPipe,
                angular2localization_3.LocaleNumberValidator
            ],
            providers: [
github SSWConsulting / enterprise-musicstore-ui-angular2 / src / app / app.module.ts View on Github external
AlbumDetailComponent,
    GenresComponent,
    GenreDetailComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,

    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(),