Thank you for answer.
Yes, in my project I’m doing this: new id for each slide.
I tried this event, but then the slider isn’t displayed at all in this case.
And one more strange moment:
I don’t know why, but a single click on button on the slide is perceived how double and sometimes triple click.