Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a changeOptions function? #95

Open
fimion opened this issue Jul 26, 2017 · 1 comment
Open

a changeOptions function? #95

fimion opened this issue Jul 26, 2017 · 1 comment

Comments

@fimion
Copy link

fimion commented Jul 26, 2017

Hey, So I was wondering would it be possible to add something like this:

MS.changeOptions = function(newoptions){
		options = $.extend(newoptions, options);
	};

so we can update options after the multiscroll has already been started? most notably, we are trying to change the normalScrollElements option AFTER it's been created. this would be super helpful. (might have already put it in my version.)

@alvarotrigo
Copy link
Owner

Not possible at the moment I'm afraid. It might be more complicated than that with other options, so I guess this would require much more work if we want to implemente a generic function.

Right now I would encourage you to destroy and initialize the plugin again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants