How to use the @nebular/theme.NbWindowModule.forRoot function in @nebular/theme

To help you get started, we’ve selected a few @nebular/theme 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 akveo / nebular / src / playground / with-layout / window / window.module.ts View on Github external
import { NbButtonModule, NbInputModule, NbWindowModule } from '@nebular/theme';
import { WindowRoutingModule } from './window-routing.module';
import { TemplateWindowComponent } from './template-window.component';
import { WindowShowcaseComponent } from './window-showcase.component';
import { WindowsBackdropComponent } from './windows-backdrop.component';
import { FormComponent } from './components/form.component';

@NgModule({
  declarations: [
    TemplateWindowComponent,
    WindowShowcaseComponent,
    WindowsBackdropComponent,
    FormComponent,
  ],
  imports: [
    NbWindowModule.forRoot(),
    NbButtonModule,
    NbInputModule,
    WindowRoutingModule,
  ],
  entryComponents: [ FormComponent ],
})
export class WindowModule {}
github akveo / ngx-admin / src / app / app.module.ts View on Github external
@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    AppRoutingModule,

    ThemeModule.forRoot(),

    NbSidebarModule.forRoot(),
    NbMenuModule.forRoot(),
    NbDatepickerModule.forRoot(),
    NbDialogModule.forRoot(),
    NbWindowModule.forRoot(),
    NbToastrModule.forRoot(),
    NbChatModule.forRoot({
      messageGoogleMapKey: 'AIzaSyA_wNuCzia92MAmdLRzmqitRGvCF7wCZPY',
    }),
    CoreModule.forRoot(),
  ],
  bootstrap: [AppComponent],
  providers: [
    { provide: APP_BASE_HREF, useValue: '/' },
  ],
})
export class AppModule {
}
github BekirUzun / SelfVPN / src / app / app.module.ts View on Github external
LogDisplayModule,
    DialogModule,
    NavModule,
    TranslateModule.forRoot({
      loader: {
        provide: TranslateLoader,
        useFactory: (HttpLoaderFactory),
        deps: [HttpClient]
      }
    }),
    NgbModule,
    BrowserAnimationsModule,
    NbThemeModule.forRoot({ name: 'dark' }),
    NbLayoutModule,
    NbEvaIconsModule,
    NbWindowModule.forRoot({
      closeOnBackdropClick: true
    }),
    NbSpinnerModule,
    NbButtonModule,
    NbIconModule,
    NbDialogModule.forRoot(),
  ],
  providers: [ElectronService],
  bootstrap: [AppComponent],
  entryComponents: [],
})
export class AppModule { }