-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsplit-view.routes.ts
More file actions
31 lines (30 loc) · 1.01 KB
/
split-view.routes.ts
File metadata and controls
31 lines (30 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { Routes } from '@angular/router';
import { SplitViewPrimaryComponent } from './split-view-primary.component';
import { SplitViewSecondaryComponent } from './split-view-secondary.component';
import { SplitViewSupplementaryComponent } from './split-view-supplementary.component';
import { SplitViewInspectorComponent } from './split-view-inspector.component';
// Since SplitViewDemoComponent is bootstrapped directly, we don't include it in routes.
// The named outlets are defined in SplitViewDemoComponent's template,
// and these child routes activate into those outlets.
export const SPLIT_VIEW_ROUTES: Routes = [
{
path: 'primary',
component: SplitViewPrimaryComponent,
outlet: 'primary',
},
{
path: 'secondary',
component: SplitViewSecondaryComponent,
outlet: 'secondary',
},
{
path: 'supplementary',
component: SplitViewSupplementaryComponent,
outlet: 'supplementary',
},
{
path: 'inspector',
component: SplitViewInspectorComponent,
outlet: 'inspector',
},
];