0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

vue-paginateのボタンにクリックイベントを設定する

Last updated at Posted at 2019-12-04

vue-paginateのボタンにクリックイベントを設定する

vue-paginate

スクリーンショット 2019-12-04 22.56.59.png

paginate-linksの要素内に、

@change="関数"

と指定するだけ。

<paginate-links for="paginate-resource" id="paginate-button" class="pagination" @change="scrollToTop" :show-step-links="true" v-if="tasks.length !== 0" :limit="3"></paginate-links>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?