mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(item-option): enable ripple-effect
This commit is contained in:
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user