fix(): updated jsx due to type errors.

This commit is contained in:
Josh Thomas
2017-07-13 14:26:07 -05:00
parent 0ba1cc85ec
commit 5c361398f0
2 changed files with 16 additions and 18 deletions

View File

@ -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>