-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dima Puris
committed
Feb 8, 2023
1 parent
e6ce395
commit d67f641
Showing
7 changed files
with
99 additions
and
10 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
3 changes: 3 additions & 0 deletions
3
.../modules/customization/wrap-in-dialog/eager/examples/setup/add-router-outlet.md
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,3 @@ | ||
```angular2html | ||
<router-outlet></router-outlet> | ||
``` |
14 changes: 14 additions & 0 deletions
14
.../src/modules/customization/wrap-in-dialog/eager/examples/setup/import-module.md
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,14 @@ | ||
```ts | ||
import {TuiRoutableDialogModule} from '@taiga-ui/kit'; | ||
|
||
// ... | ||
|
||
@NgModule({ | ||
imports: [ | ||
// ... | ||
TuiRoutableDialogModule, | ||
], | ||
// ... | ||
}) | ||
export class MyPageModule {} | ||
``` |
20 changes: 20 additions & 0 deletions
20
...mo/src/modules/customization/wrap-in-dialog/eager/examples/setup/use-wrapper.md
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,20 @@ | ||
```ts | ||
import {TuiRoutableDialogModule} from '@taiga-ui/kit'; | ||
|
||
// ... | ||
|
||
@NgModule({ | ||
imports: [ | ||
// ... | ||
RouterModule.forChild([ | ||
{ | ||
path: ``, | ||
component: MyPageComponent, | ||
children: [tuiWrapInEagerDialog(`path/to/dialog`, MyDialogComponent)], | ||
}, | ||
]), | ||
], | ||
// ... | ||
}) | ||
export class MyPageModule {} | ||
``` |
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