Skip to content
Advertisement

Tag: bootstrap-vue

How to set the b-pagination’s main color?

In bootstrap-vue pagination there is no slot for change main color of pagination. you see there is only blue color for it. is there any way to change it to my required color? Answer You could change it by changing the CSS of the active item of b-pagination. I illustrated the solution by the following code:

Open modal when click on button

I have this code : SepaModal : I have the error : Error in v-on handler: “TypeError: this.$refs.sepaModal.open is not a function”. I tried with this.$refs.sepaModal.show(); (the same error). Very strange bacause I put a console.log and I have sepaModal in refs. Can you help me please ? Thx in advance Answer

Vue.js pagination with http requests

I have table with pagination-nav component: I get table content using method getTrades with http request to json API: Where every ${page} corresponds certain slice of data. Server-side code and requests work fine. Now I want to pass page number from button clicked to method getTrades. For this purpose I call getTrades method inside linkGenmethod. Instead of right page number

Advertisement