For the button text, unfortunately it looks like the developer of this libary hard-coded it. So this is unsupported by the Wizard component's API:
https://github.com/maiyaporn/angular2-wizard/blob/master/src/wizard.component.ts#L19
I don't know what input
you're referencing, but if you want to capture an Enter keypress, you can follow a strategy similar to: Angular 2 HostListener keypress detect escape key?
Or, if you're input
is part of an html form
, an Enter keypress from a form field should automatically submit the form. You could hook into the submit event and perhaps call the public next() method on the Wizard: https://github.com/maiyaporn/angular2-wizard/blob/master/src/wizard.component.ts#L92
You can read the source (it's pretty small) on the github page to get more ideas/reevaluate your use case.