Reveal Next & Previous Items - Carousel

Sometimes providing a slight reveal for the before & after items makes the carousel easier to understand. Revealing a partial view of the items outside the visible areas invites the user to explore the content.

Use the revealAmount parameter to specify how many pixels to reveal of the before and after items. Also illustrates setting the opacity of the revealed items to 40%.

	when creating a carousel, use
		revealAmount: 30;
	OR when reconfiguring the amount to reveal after the carousel is created, use
		carousel.setProperty("revealAmount", 30);
View the source or documentation