fix(item): update hostContext to use ion-item element

fixes styling issues with children elements using the .in-item class
This commit is contained in:
Brandy Carney
2018-09-13 11:45:43 -04:00
parent 6c62e6cdc9
commit 21d1f2e2dd
7 changed files with 7 additions and 7 deletions

View File

@ -120,7 +120,7 @@ export class Checkbox {
return {
class: {
...createColorClasses(this.color),
'in-item': hostContext('.item', this.el),
'in-item': hostContext('ion-item', this.el),
'checkbox-checked': this.checked,
'checkbox-disabled': this.disabled,
'checkbox-key': this.keyFocus,