Topic: troubles with dropdown and progressbar
Diego Canales pro asked 6 years ago
import { ProgressbarModule, DropdownModule } from 'ng-uikit-pro-standard';
and then imports: [ ProgressbarModule, DropdownModule ],but doesnt work, i tried to put they in providers without succes. So can give me a explicit example please
Damian Gemza staff answered 6 years ago
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { WavesModule, PreloadersModule, ButtonsModule, DropdownModule, MDBSpinningPreloader } from 'ng-uikit-pro-standard'; import { AppComponent } from './app.component'; @NgModule({ declarations: [ AppComponent, ], imports: [ BrowserModule, PreloadersModule, DropdownModule.forRoot(), WavesModule.forRoot(), ButtonsModule.forRoot(), ], providers: [MDBSpinningPreloader], bootstrap: [AppComponent] }) export class AppModule { }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: desktop
- Browser: chrome
- OS: linux
- Provided sample code: Yes
- Provided link: No