fix(item-option): enable ripple-effect

This commit is contained in:
Manu Mtz.-Almeida
2018-09-13 20:52:50 +02:00
parent 7f59f91cda
commit 428a5da0b5

View File

@ -51,9 +51,10 @@ export class ItemOption {
hostData() { hostData() {
return { return {
'ion-activatable': true,
class: { class: {
...createColorClasses(this.color), ...createColorClasses(this.color),
'item-option-expandable': this.expandable 'item-option-expandable': this.expandable,
} }
}; };
} }
@ -77,6 +78,7 @@ export class ItemOption {
<slot name="bottom" /> <slot name="bottom" />
<slot name="end"></slot> <slot name="end"></slot>
</span> </span>
{this.mode === 'md' && <ion-ripple-effect />}
</TagType> </TagType>
); );
} }