mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(): updated jsx due to type errors.
This commit is contained in:
@ -164,14 +164,12 @@ export class Toggle implements BooleanInputComponent {
|
||||
</div>
|
||||
<div
|
||||
class='toggle-cover'
|
||||
attrs={{
|
||||
'id': this.id,
|
||||
'aria-checked': this.checked ? 'true' : false,
|
||||
'aria-disabled': this.disabled ? 'true' : false,
|
||||
'aria-labelledby': this.labelId,
|
||||
'role': 'checkbox',
|
||||
'tabindex': 0
|
||||
}}
|
||||
id={this.id}
|
||||
aria-checked={this.checked ? 'true' : false}
|
||||
aria-disabled={this.disabled ? 'true' : false}
|
||||
aria-labelledby={this.labelId}
|
||||
role='checkbox'
|
||||
tabIndex={0}
|
||||
>
|
||||
</div>
|
||||
</ion-gesture>
|
||||
|
||||
Reference in New Issue
Block a user