1.0.3 • Published 5 years ago

aitomic-o-carousel v1.0.3

Weekly downloads
12
License
SEE LICENSE IN li...
Repository
-
Last release
5 years ago

A template of carousel based on flexbox and jQuery plugin itemSlide. Include the template (stored in folder named 'control') in module GenericList using macro {layout '../path-to-latte-template'} and customize your own style via available options (more here), css classes and {latte} blocks:

{default $options = [
	'duration' => 350,
	'disable_slide' => false,
	'disable_clicktoslide' => true,
	'disable_scroll' => false,
	'disable_dots' => false,
	'disable_arrows'=> false,
	'start' => 0,
	'one_item' => false,
	'pan_threshold' => 0.3,
	'swipe_out' => false,
	'infinite' => false,
	'autoplay' => false,
	'autoplay_speed' => 5000
]}
{default $componentClass = ''}
{default $itemClass = ''}
{default $itemGutter = ''}
{default $itemWidth = 'col-sm-12 col-lg-8'}
{default $stageWidth = 'col-md-20'}
{default $arrowWidth = 'col-md-2'}

Check {latte} source template in folder 'control' to discover available hooks to customization.