mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
feat(checkbox): add checkbox, consistent function names
This commit is contained in:
@ -39,13 +39,13 @@ export class Toggle implements BooleanInputComponent {
|
||||
}
|
||||
|
||||
@PropDidChange('checked')
|
||||
changed(val: boolean) {
|
||||
checkedChanged(val: boolean) {
|
||||
this.ionChange.emit({ checked: val });
|
||||
this.emitStyle();
|
||||
}
|
||||
|
||||
@PropDidChange('disabled')
|
||||
disableChanged() {
|
||||
disabledChanged() {
|
||||
this.emitStyle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user