Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

add extra scroll #36

Open
mynickbusy opened this issue Aug 15, 2019 · 0 comments
Open

add extra scroll #36

mynickbusy opened this issue Aug 15, 2019 · 0 comments

Comments

@mynickbusy
Copy link

mynickbusy commented Aug 15, 2019

Hi, how to add an additional block with horizontal scrolling to the main vertical scroll so that it works separately, but it scrolls basically

<div id="wrapper">
	<div id="scroller">
		<div id="wrapper_horizontal_slider">
			<div id="scroller_horizontal_slider"></div>
		</div>
	</div>
</div>
var scrollerConfig = { 
pullToRefresh   : true, 
onPullToRefresh : ptr,  
};
wrapper = new Scroller('#wrapper', scrollerConfig);
					
var scrollerConfigslider = { scroll : 'horizontal' };
wrapperotherslider = new Scroller('#wrapper_horizontal_slider', scrollerConfigslider);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant