Azure IoT Solutions

Azure based IoT Hub solutions for devices with .net IoT Core SDK

Hybride Apps

Hybride Desktop & Smartphone Apps with IONIC, Sencha and SAPUI5

Android native

JAVA and XAMARIN based Android native Apps

IOS native

SWIFT, Objective C or XAMARIN based IOS native Apps


Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in libraries/kunena/external/nbbc/nbbc.php on line 256


Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in libraries/kunena/external/nbbc/nbbc.php on line 270


Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in libraries/kunena/external/nbbc/nbbc.php on line 275

4: Suppress Click fire event master-detail <ion-list> <ion-item-sliding>

More
1 year 3 weeks ago - 1 year 3 weeks ago #6 by blozzy
blozzy created the topic: 4: Suppress Click fire event master-detail <ion-list> <ion-item-sliding

Notice: Trying to access array offset on value of type bool in libraries/kunena/external/nbbc/nbbc.php on line 2819

when you got an <ion-item-option> Button in an <ionic-list> and you want to prevent a click event to a detail-page, you have to put the ionic 4 router link to <ion-item-option> and not in the <ion-item-sliding> section.
<ion-list lines card>
  <ion-item-sliding detail="true" *ngFor="let item of (items)">   
  <ion-item [routerLink]="'/tabs/items/' + item._id" routerDirection="Forward">
    <h2>{{ item.itemnr }} {{ item.title }}</h2>
     <p> {{item.comment}} </p> 
    </ion-item>
    <ion-item-options side="start">
      <ion-item-option (click)="favorite(item._id)"><ion-icon name="bookmark"> 
  </ion-icon>Favorite</ion-item-option>    
    </ion-item-options>
    <ion-item-options side="end">
         <ion-item-option color="danger" expandable 
            (click)="deleteItem(item._id)">
           <ion-icon name="trash"></ion-icon>
           Delete
         </ion-item-option>       
         <ion-item-option color="secondary" expandable 
             click)="openDetail(item._id)">
           <ion-icon name="create"></ion-icon>
           Edit
         </ion-item-option>       
    </ion-item-options>
  </ion-item-sliding>
</ion-list>
Last Edit: 1 year 3 weeks ago by blozzy.

Please Log in to join the conversation.

Time to create page: 0.173 seconds

Strips B - main bottom

  • Simple Item 4

    dsfadsfafds f asdf as df asdf dsa fa f a sdf asd f sadf
  • Simple Item 3

  • Simple Item 2

  • Simple Item 1

  • 1

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok