Function that will initialize the pattern instance.
ID of the CarouselItem that will be initialized.
the Carousel instance
Function that will initialize the pattern instance.