UNPKG

@ulu/frontend

Version:

A versatile SCSS and JavaScript component library offering configurable, accessible components and flexible integration into any project, with SCSS modules suitable for modern JS frameworks.

17 lines 835 B
/** * @module ui/overflow-scroller-pager */ /** * Function to be used in overflow scrollers "amount" option. This function will * determine how many items can fit in the viewport, taking into account scroll padding left, * and will set the scroll amount to paginate between items. Items size can be anything * (ie. one per screen vs 3.5 per screen will both work). This seperated from the plugin * for tree shaking incase it's unneeded. Currently this is only setup for horizontal scrolling * * Note: This is setup to return the function, incase configuration is needed in the future * it can be passed to the create function * * @return {Function} A function to be used in overflow scrollers "amount" configuration property */ export function createPager(): Function; //# sourceMappingURL=overflow-scroller-pager.d.ts.map