mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
iOS switch
This commit is contained in:
@ -18,7 +18,7 @@ import {Icon} from '../icon/icon';
|
||||
@IonicComponent({
|
||||
selector: 'ion-checkbox',
|
||||
host: {
|
||||
'[class.item]': 'item',
|
||||
'class': 'item',
|
||||
'[attr.aria-checked]': 'input.checked'
|
||||
}
|
||||
})
|
||||
@ -46,8 +46,6 @@ export class Checkbox extends IonInputItem {
|
||||
this.cd = cd;
|
||||
|
||||
cd.valueAccessor = this;
|
||||
|
||||
this.item = true;
|
||||
}
|
||||
|
||||
onInit() {
|
||||
|
Reference in New Issue
Block a user