mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
update to use host
This commit is contained in:
@@ -26,8 +26,8 @@ export class Switch {
|
||||
properties: [
|
||||
'checked'
|
||||
],
|
||||
hostListeners: {
|
||||
'click': 'switchClicked($event)'
|
||||
host: {
|
||||
'(click)': 'switchClicked($event)'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user