From 3366c1e88418ab7bd3febb905975fc1652644f8b Mon Sep 17 00:00:00 2001 From: Chazeon Date: Sun, 16 Jul 2017 12:46:51 +0800 Subject: [PATCH] Add pageinate-links custom tag & compatibility * Allows `` custom tag * Click handler could be placed at various layers * Updated README with these features * Fixed browser compatibility: many browsers (such as Edge) does not support `forEach()` function on `NodeList` (return value of `querySelectAll()`). --- README.md | 65 +++++++++++++++- dist/vue-paginate.js | 133 +++++++++++++++++++------------- dist/vue-paginate.min.js | 6 +- src/components/PaginateLinks.js | 119 ++++++++++++++++------------ 4 files changed, 217 insertions(+), 106 deletions(-) diff --git a/README.md b/README.md index 95a130d..a95d3fc 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Now, let’s see them in an example: ### Example In this example, we have a small list of items registered in our data list. - + ``` js new Vue({ el: '#app', @@ -427,6 +427,69 @@ Here's an example: Note that this feature works on all link types – full links, simple links, and limited links. +#### Custom Link Tag Support + +In some UI framework (such as [Semantic UI](https://semantic-ui.com/)), pagination menu is not supported by `