Function that will update the direction of the carousel
ID of the Carousel pattern.
Slide direction: ltr, rtl or ttb.
Response object as a JSON string
Function that will update the direction of the carousel