[Vuejs]-Vue FullPage.js changing Options on method

0๐Ÿ‘

โœ…

Did you check the codepen provided in the vue-fullpage docs?

You can use this.$refs.fullpage.[METHOD](). In the codepen you can see how the build method is called on the methods property: this.$refs.fullpage.build().

0๐Ÿ‘

I was able to solve my issue with methods. I added the method change through my v-on:click event. Seemed to accomplish what I was intending.

<v-btn v-on:click="openSide(); 
       selectedComponent = 'projOne'; 
       $refs.fullpage.api.setAllowScrolling(false);"
>Open Project 1</v-btn>

Leave a comment