function ({
arg1: ...,
arg2: ...,
arg3: function() {
return (arg1 + arg2);
}
}) { ... };
I wonder if something like this is possible, and if so, how do I address to the first two arguments in the third one?
PS: Below is the working code:
$('#fullpage').fullpage({
scrollingSpeed: 1000,
easingcss3: "cubic-bezier(0.39, 0.575, 0.565, 1)",
afterLoad: function(anchorLink, index) {
// this is the place where I want to use the scrollingSpeed and easingcss3 values
},
});