Skip to content

Instantly share code, notes, and snippets.

@agrgic16 agrgic16/routes.ts
Last active Apr 24, 2019

Embed
What would you like to do?
Dialog configuration in routing config
export const routes: Routes = [
{
path: 'home',
component: DialogParentExample,
children: [
{
path: 'some-dialog-path',
component: DialogOverviewExampleDialog,
resolve: { dlgRef: DialogResolverService },
data: {
dlg: {
data: { name: 'Sample Dialog' },
width: '500px',
} as DialogRouteConfig,
},
},
],
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.