4,500
edits
delete initial notes |
|||
Line 26: | Line 26: | ||
An example event binding. | An example event binding. | ||
<source lang=" | <source lang="ts"> | ||
<button (click)="onSave()">Save</button> | <button (click)="onSave()">Save</button> | ||
</source> | </source> | ||
Line 32: | Line 32: | ||
Canonical form: | Canonical form: | ||
<source lang=" | <source lang="ts"> | ||
<button on-click="onSave()">Save</button> | <button on-click="onSave()">Save</button> | ||
</source> | </source> | ||
[https://developer.mozilla.org/en-US/docs/Web/Events List of events that can be used on MDN.] | [https://developer.mozilla.org/en-US/docs/Web/Events List of events that can be used on MDN.] |