aitomic-o-carousel
v2.0.1
Published
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
Downloads
115
Readme
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.