mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +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