| 1 | import { Component } from '@angular/core'; | = | 1 | import { Component } from '@angular/core'; |
| 2 | import { AppService } from '../../app.service'; | 2 | import { AppService } from '../../app.service'; | |
| 3 | 3 | |||
| 4 | @Component({ | 4 | @Component({ | |
| 5 | selector: 'forms-ng2-archwizard', // tslint:disable-line | <> | 5 | selector: 'forms-angular-archwizard', // tslint:disable-line |
| 6 | templateUrl: './ng2-archwizard.component.html', | 6 | templateUrl: './angular-archwizard.component.html', | |
| 7 | styleUrls: ['../../../vendor/libs/ng2-archwizard/ng2-archwizard.scss'] | 7 | styleUrls: ['../../../vendor/libs/angular-archwizard/angular-archwizard.scss'] | |
| 8 | }) | = | 8 | }) |
| 9 | export class Ng2ArchwizardComponent { | <> | 9 | export class AngularArchwizardComponent { |
| 10 | constructor(private appService: AppService) { | = | 10 | constructor(private appService: AppService) { |
| 11 | this.appService.pageTitle = 'Ng2 Archwizard - Forms'; | <> | 11 | this.appService.pageTitle = 'Angular Archwizard - Forms'; |
| 12 | } | = | 12 | } |
| 13 | 13 | |||
| 14 | finishFunction() { | <> | 14 | finishFunction(): void { |
| 15 | alert('Finished!'); | = | 15 | alert('Finished!'); |
| 16 | } | 16 | } | |
| 17 | } | 17 | } |