Ion-item-sliding show ion-item-options programmatically swipes but doesn't show options

As mentioned in the title, I’m trying to open in Ionic 4 my ion-item-options in an ion-list programmatically using the following function:

openItem(item: IonItemSliding) {
  itemSliding['el'].classList.add('item-sliding-active-slide');
  itemSliding['el'].classList.add('item-sliding-active-options-end');
  item['el'].style.transitionDuration = '.2s';
  item['el'].style.transform = 'translate3d(-183px,0,0)';
}

The problem is, that the item is sliding to the left, but the ion-item-options aren’t shown. If I’m swiping after this function by touching the options are shown. But they are moved to the left the same width as the item swiped.

Can anyone help me? I think the problem is, that there is any option of ion-item-sliding that isn’t set correct by my function. But I don’t know what it could be. Thanks in advance!

I found a solution on my own:

openItem(itemSliding: IonItemSliding, item: IonItem) {
  itemSliding['el'].classList.add('item-sliding-active-slide');
  itemSliding['el'].classList.add('item-sliding-active-options-end');
  item['el'].style.transitionDuration = '.2s';
  item['el'].style.transform = 'translate3d(-183px,0,0)';
}

The problem was, that in my first atempt I add the transformation to the IonItemSliding and therefore the IonItemOptions were included. Now only the IonItem is transformed and it works for me.