-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a bunch of new Nebular demos (#1911)
- Loading branch information
Showing
185 changed files
with
5,174 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
|
||
import { BootstrapComponent } from './bootstrap.component'; | ||
import { ModalsComponent } from './modals/modals.component'; | ||
import { ButtonsComponent } from './buttons/buttons.component'; | ||
import { FormInputsComponent } from './form-inputs/form-inputs.component'; | ||
|
||
|
||
const routes: Routes = [{ | ||
path: '', | ||
component: BootstrapComponent, | ||
children: [ | ||
{ | ||
path: 'inputs', | ||
component: FormInputsComponent, | ||
}, | ||
{ | ||
path: 'buttons', | ||
component: ButtonsComponent, | ||
}, | ||
{ | ||
path: 'modal', | ||
component: ModalsComponent, | ||
}, | ||
], | ||
}]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class BootstrapRoutingModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'ngx-bootstrap', | ||
template: ` | ||
<router-outlet></router-outlet> | ||
`, | ||
}) | ||
export class BootstrapComponent { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { NgModule } from '@angular/core'; | ||
|
||
import { ThemeModule } from '../../@theme/theme.module'; | ||
|
||
import { BootstrapRoutingModule } from './bootstrap-routing.module'; | ||
import { ModalsComponent } from './modals/modals.component'; | ||
import { ModalComponent } from './modals/modal/modal.component'; | ||
import { BootstrapComponent } from './bootstrap.component'; | ||
import { ButtonsModule } from './buttons/buttons.module'; | ||
import { FormInputsComponent } from './form-inputs/form-inputs.component'; | ||
|
||
const COMPONENTS = [ | ||
BootstrapComponent, | ||
ModalsComponent, | ||
ModalComponent, | ||
FormInputsComponent, | ||
]; | ||
|
||
const ENTRY_COMPONENTS = [ | ||
ModalComponent, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [ | ||
ThemeModule, | ||
BootstrapRoutingModule, | ||
ButtonsModule, | ||
], | ||
declarations: [ | ||
...COMPONENTS, | ||
], | ||
entryComponents: [ | ||
...ENTRY_COMPONENTS, | ||
], | ||
}) | ||
export class BootstrapModule { } |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.