Function that will detect the event type of the pattern instance.
ID of the SwipeEvents that will be initialized.
Function that will detect the event type of the pattern instance.