Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { WizardComponent } from './../wizard/wizard/wizard.component';
- import { Component } from '@angular/core';
- import { WizardStepComponent } from "../wizard/wizard-step/wizard-step.component";
- import { WizardNavigationService } from "../wizard/wizard-navigation.service";
- @Component({
- selector: 'app-demo-host',
- templateUrl: './demo-host.component.html',
- styleUrls: ['./demo-host.component.css'],
- providers: [
- WizardComponent,
- WizardStepComponent,
- WizardNavigationService
- ]
- })
- export class DemoHostComponent {
- constructor(private navigation:WizardNavigationService) {}
- next() {
- this.navigation.next();
- }
- back() {
- this.navigation.back();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement