Skip to content

Tag: vue.js

Horizontal scrolling for dynamic list

I need to scroll horizontally inside a lengthy list. It was possible when the list is statically implement as below. But if we fetch the list via a loop it will not display inline even. So horizontal scrolling is not possible. My attempt is as below. Where I was get wrong and how to resolve this? Answer The d…

Passing multiple parameters to Vuex action

I have the following method in my Vue Component I want to pass the parameters (this.urlWithPage, query) to my Vuex action as follows: The problem is that the first parameter url is returning a value but the second one query is returning undefined. My mutation is as follows: How can I get a value from the seco…