navigation help using roting in angular

Look at the following list – auth auth/login auth/forget-password dashboard dashboard/cart dashboard/delivery dashboard/users auth has a common backgound for login and forget-passowrd. const routes: Routes = [ { path: ‘auth’, loadChildren: () => import(‘./auth/auth.module’) .then(m => m.AuthModule) }, { path: ‘dashboard’, loadChildren: () => import(‘./admin-dashboard/admin-dashboard.module’).then(m => m.AdminDashboardModule) }, { path: ”, redirectTo: ‘/auth/login’, pathMatch: ‘full’ […]

Navigation using routing in angular

Look at the following list – auth auth/login auth/forget-password dashboard dashboard/cart dashboard/delivery dashboard/users auth has a common backgound for login and forget-passowrd. const routes: Routes = [ { path: ‘auth’, loadChildren: () => import(‘./auth/auth.module’) .then(m => m.AuthModule) }, { path: ‘dashboard’, loadChildren: () => import(‘./admin-dashboard/admin-dashboard.module’).then(m => m.AdminDashboardModule) }, { path: ”, redirectTo: ‘/auth/login’, pathMatch: ‘full’ […]

How to use routerLink and query params in ts file

enter image description here How to use routerLink and query params in ts file? Source: Angular Questions

By ANKIT KUMAR
Published
Categorized as angular Tagged

How to stop the Metronic wizard if validation fails

It is navigating to the next step even on error. Below is my code.Please help ngAfterViewInit() { // Initialize form wizard const wizard = new KTWizard(this.el.nativeElement, { startStep: 1 }); // Validation before going to next page wizard.on(‘beforeNext’, function (wizardObj) { // validate the form and use below function to stop the wizard’s step const […]

By ANKIT KUMAR
Published
Categorized as angular, metronic

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq