/**
* Creates a new instance of Abide.
* @class
+ * @name Abide
* @fires Abide#init
* @param {Object} element - jQuery object to add the trigger to.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of an accordion.
* @class
+ * @name Accordion
* @fires Accordion#init
* @param {jQuery} element - jQuery object to make into an accordion.
* @param {Object} options - a plain object with settings to override the default options.
/**
* Creates a new instance of an accordion menu.
* @class
+ * @name AccordionMenu
* @fires AccordionMenu#init
* @param {jQuery} element - jQuery object to make into an accordion menu.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of a drilldown menu.
* @class
+ * @name Drilldown
* @param {jQuery} element - jQuery object to make into an accordion menu.
* @param {Object} options - Overrides to the default plugin settings.
*/
/**
* Creates a new instance of a dropdown.
* @class
+ * @name Dropdown
* @param {jQuery} element - jQuery object to make into a dropdown.
* Object should be of the dropdown panel, rather than its anchor.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of DropdownMenu.
* @class
+ * @name DropdownMenu
* @fires DropdownMenu#init
* @param {jQuery} element - jQuery object to make into a dropdown menu.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of Equalizer.
* @class
+ * @name Equalizer
* @fires Equalizer#init
* @param {Object} element - jQuery object to add the trigger to.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of Interchange.
* @class
+ * @name Interchange
* @fires Interchange#init
* @param {Object} element - jQuery object to add the trigger to.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of Magellan.
* @class
+ * @name Magellan
* @fires Magellan#init
* @param {Object} element - jQuery object to add the trigger to.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of an off-canvas wrapper.
* @class
+ * @name OffCanvas
* @fires OffCanvas#init
* @param {Object} element - jQuery object to initialize.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of an orbit carousel.
* @class
+ * @name Orbit
* @param {jQuery} element - jQuery object to make into an Orbit Carousel.
* @param {Object} options - Overrides to the default plugin settings.
*/
/**
* Creates a new instance of a responsive accordion tabs.
* @class
+ * @name ResponsiveAccordionTabs
* @fires ResponsiveAccordionTabs#init
* @param {jQuery} element - jQuery object to make into Responsive Accordion Tabs.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of a responsive menu.
* @class
+ * @name ResponsiveMenu
* @fires ResponsiveMenu#init
* @param {jQuery} element - jQuery object to make into a dropdown menu.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of Tab Bar.
* @class
+ * @name ResponsiveToggle
* @fires ResponsiveToggle#init
* @param {jQuery} element - jQuery object to attach tab bar functionality to.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of Reveal.
* @class
+ * @name Reveal
* @param {jQuery} element - jQuery object to use for the modal.
* @param {Object} options - optional parameters.
*/
/**
* Creates a new instance of a slider control.
* @class
+ * @name Slider
* @param {jQuery} element - jQuery object to make into a slider control.
* @param {Object} options - Overrides to the default plugin settings.
*/
* @module foundation.smooth-scroll
*/
class SmoothScroll extends Plugin {
+ /**
+ * Creates a new instance of SmoothScroll.
+ * @class
+ * @name SmoothScroll
+ * @fires SmoothScroll#init
+ * @param {Object} element - jQuery object to add the trigger to.
+ * @param {Object} options - Overrides to the default plugin settings.
+ */
_setup(element, options) {
this.$element = element;
this.options = $.extend({}, SmoothScroll.defaults, this.$element.data(), options);
/**
* Creates a new instance of a sticky thing.
* @class
+ * @name Sticky
* @param {jQuery} element - jQuery object to make sticky.
* @param {Object} options - options object passed when creating the element programmatically.
*/
/**
* Creates a new instance of tabs.
* @class
+ * @name Tabs
* @fires Tabs#init
* @param {jQuery} element - jQuery object to make into tabs.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of Toggler.
* @class
+ * @name Toggler
* @fires Toggler#init
* @param {Object} element - jQuery object to add the trigger to.
* @param {Object} options - Overrides to the default plugin settings.
/**
* Creates a new instance of a Tooltip.
* @class
+ * @name Tooltip
* @fires Tooltip#init
* @param {jQuery} element - jQuery object to attach a tooltip to.
* @param {Object} options - object to extend the default configuration.