How to define list sliding options dynamically?

I need to display different sliding options depending on some settings in list item’s model. Conceptually would be something similar to:

    <ion-item-sliding #slidingItem>
      <ion-item *ngFor="let todo of todos">
        <button *ngIf="todo.action == 'action1" 
          (click)="doAction(todo.action, slidingItem)">
        <button *ngIf="todo.action == 'action2" 
          (click)="doAction(todo.action, slidingItem)">

Added reference to sliding item, but ItemSliding only offers close() method to hide the sliding option. How can I access list item model in item options?

Thanks in advance.