Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 2.14 KB

File metadata and controls

67 lines (50 loc) · 2.14 KB

#class: fullWidthSlideshow Members

##new fullWidthSlideshow(config, options) A module that represents a full with slideshow componenet object, a component.full-width-slideshow is a slideshow.

Params

  • config object - {el - element of tab container}
  • options object - configuration options

Author: Yaw Joseph Etse
License: MIT
Copyright: Copyright (c) 2014 Typesettin. All rights reserved.
##fullWidthSlideshow._init() module default configuration

##fullWidthSlideshow._config() initializes slideshow and shows current slide.

##fullWidthSlideshow._initEvents() handle slideshow click events.

##fullWidthSlideshow._navigate(direction) move slideshow to slide based on the direction.

Params

  • direction string - (previous|next) slide

##fullWidthSlideshow._slide() slide to show this.current(index) slide.

##fullWidthSlideshow._toggleNavControls() update slideshow ui.

##fullWidthSlideshow._jump(position) jump to specific slide.

Params

  • position number - slide to show

##fullWidthSlideshow.destroy() delete/remove slideshow elements