vue3-pagination icon indicating copy to clipboard operation
vue3-pagination copied to clipboard

Using HENNGE/vue3-pagination plugin update method is not triggered

Open PetroGromovo opened this issue 3 years ago • 0 comments

I added HENNGE/vue3-pagination("^1.0.17") to my vuejs 3("^3.2.30") app But I failed with @update parameter : I expected that is function triggered on page click, but it is not triggered :

<v-pagination
    v-model="current_page"
    :pages="currencies_per_page"
    :range-size="4"
    active-color="#DCEDFF"
    @update:modelValue:="updateHandler"
/>

...

function updateHandler( p1, p2) {
    console.log('updateHandler p1::')
    console.log(p1)
    console.log('updateHandler p2::')
    console.log(p2)

}

but function updateHandler is not triggered...

Which way is correct ?

Thanks in advance!

PetroGromovo avatar Apr 02 '22 03:04 PetroGromovo