All,
According to the documentation for ion-item, https://ionicframework.com/docs/api/item
An ion-item can be used as a button
<!-- Item as a Button -->
<ion-item (click)="buttonClick()">
<ion-label>
Button Item
</ion-label>
</ion-item>
I have found that an ion-item cannot be used as a button (as documented) and is not receiving clicks when used with ion-content of a ion-menu. Only button-type things receive clicks in the side menu content.
Are you seeing this? I was porting code from Ionic2 to Ionic4 and found that this capability broke.
very useful for menu items.
<ion-menu
side="start"
type="overlay"
menuId="left_menu"
swipeGesture="true"
contentId="left_menu_content"
>
<ion-header>
<ion-toolbar color="primary">
<ion-title>Left Menu</ion-title>
</ion-toolbar>
</ion-header>
<ion-content id="left_menu_content">
<ion-list>
<!-- no click received -->
<ion-item (click)="buttonClick()">
<ion-label>Goto Feature ...</ion-label>
</ion-item>
</ion-list>
</ion-content>
</ion-menu>