Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. import { WizardComponent } from './../wizard/wizard/wizard.component';
  2. import { Component } from '@angular/core';
  3. import { WizardStepComponent } from "../wizard/wizard-step/wizard-step.component";
  4. import { WizardNavigationService } from "../wizard/wizard-navigation.service";
  5.  
  6. @Component({
  7. selector: 'app-demo-host',
  8. templateUrl: './demo-host.component.html',
  9. styleUrls: ['./demo-host.component.css'],
  10. providers: [
  11. WizardComponent,
  12. WizardStepComponent,
  13. WizardNavigationService
  14. ]
  15. })
  16. export class DemoHostComponent {
  17.  
  18. constructor(private navigation:WizardNavigationService) {}
  19.  
  20. next() {
  21. this.navigation.next();
  22. }
  23.  
  24. back() {
  25. this.navigation.back();
  26. }
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement