update to use host

This commit is contained in:
Adam Bradley
2015-06-22 13:05:47 -05:00
parent 43042ed999
commit e81a78e9d6
13 changed files with 46 additions and 59 deletions

View File

@ -26,8 +26,8 @@ export class Switch {
properties: [
'checked'
],
hostListeners: {
'click': 'switchClicked($event)'
host: {
'(click)': 'switchClicked($event)'
}
}
}