diff --git a/.gitignore b/.gitignore index 80736637..50015c27 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ Desktop.ini # Mac .DS_Store **/.DS_Store + +.npmrc diff --git a/package.json b/package.json index 815f529e..cecbd11c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "angular2-wizard", + "name": "@bitbeter/angular2-wizard", "version": "0.3.0", "scripts": { "build": "ngc -p tsconfig.json", diff --git a/src/wizard.component.ts b/src/wizard.component.ts index 8953f89a..bbd0aabb 100644 --- a/src/wizard.component.ts +++ b/src/wizard.component.ts @@ -1,4 +1,4 @@ -import { Component, Output, EventEmitter, ContentChildren, QueryList, AfterContentInit } from '@angular/core'; +import { Component, Output, EventEmitter, ContentChildren, QueryList, AfterContentInit, Input } from '@angular/core'; import { WizardStepComponent } from './wizard-step.component'; @Component({ @@ -16,9 +16,9 @@ import { WizardStepComponent } from './wizard-step.component'; ` , @@ -35,6 +35,9 @@ import { WizardStepComponent } from './wizard-step.component'; ] }) export class WizardComponent implements AfterContentInit { + @Input() doneBtnText='Done'; + @Input() nextBtnText='Next'; + @Input() previousBtnText='Previous'; @ContentChildren(WizardStepComponent) wizardSteps: QueryList;