I’ve used the content slider provided with WeWeb. It works fine but I want to be able to add horizontal mousewheel capabilities.
I’ve added the param to the Swiper instance this way:
right. It looks like the component does not load the mouseWheel module, that’s why it’s undefined. Unless that module is loaded there is nothing you can do to activate the mouseWheel behaviour.
Your options are:
ask weweb to add support for this
fork the component and add the support for this
load it from a cdn and add it to the current instance. This will probably load again some shared code so it isn’t particularly efficient and may have other unexpected conflicts.