Sliding List - disable swiping depending on property

I have a list of sliding-items. On some of them sliding should be enabled, one some not.
I could not find an elegant way to solve this problem.

Is there a way to “disable” swiping depending on a property/variable?
It would look something like this:

> <ion-list>
>   <ion-item-sliding *ngFor="let item of items" [disableSwipe]="!item.canSwipe">
>     <ion-item>...</ion-item>
>   </ion-item-sliding>
> </ion-list>

Hey Daskus,
Did you found a solution for that?
Cheers !

Actually, you can use the (ionDrag) event:

<ion-list>
  <ion-item-sliding *ngFor="let item of items" (ionDrag)="logDrag($event, item)">
    <ion-item>...</ion-item>
  </ion-item-sliding>
</ion-list>

And in your .ts file, you can add something like:

logDrag(ev, item) {
  if (!item.canSwipe) {
    ev.close();
  }
}