How to specify event to trigger only certain keystroke in Angular2
<p>All:</p>

<p>I am pretty new to Angular2, say I have a inputbox, I want to trigger a event only when certain character input, from Angular2 BASICS "User Input" section: there is an example like:</p>

<pre><code>@Component({
  selector: 'key-up3',
  template: `
    &lt;input #box (keyup.enter)="values=box.value"&gt;
    &lt;p&gt;{{values}}&lt;/p&gt;
  `
})
export class KeyUpComponent_v3 {
  values='';
}
</code></pre>

<p>This code only respond to "enter" key stroke, I wonder how can I specify other key stroke like this which I mean is there something like keyup.a, keyup.b ... etcs</p>

<p>Thanks </p>