我试图设置时间选择模块在材料设计角度6主题,但我不能设置,因为在这个主题使用垫格式的材料设计。
我在时间选择器上使用了很多模块,但在材料主题上不能设置ng、md或其他模块。
发布于 2019-06-24 09:06:57
逼近点火-ui角
npm install -g igniteui-cli app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Here we import the IgxGridModule, so we can use the igxGrid!
import { IgxGridModule } from 'igniteui-angular';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
IgxGridModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }组件
// app.module.ts
...
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { IgxTimePickerModule } from 'igniteui-angular';
@NgModule({
...
imports: [..., BrowserAnimationsModule, IgxTimePickerModule],
...
})
export class AppModule {}meeting.component.html
<igx-time-picker ></igx-time-picker>https://stackoverflow.com/questions/52380135
复制相似问题