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

@ -175,7 +175,7 @@ export class Toggle {
return {
class: {
...createColorClasses(this.color),
'in-item': hostContext('.item', this.el),
'in-item': hostContext('ion-item', this.el),
'toggle-activated': this.activated,
'toggle-checked': this.checked,
'toggle-disabled': this.disabled,