Giter VIP home page Giter VIP logo

vuejs-uib-pagination's People

Contributors

feload avatar sanyashvets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vuejs-uib-pagination's Issues

How to apply the pagination

I'm not sure how to implement this on my app. Let's say I have an array of items called Items how would I implement this plugin to work on my Items array?

[error] The build requres template compiler in project

When i try to use the plugin, Vue gives me this error:

You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.

I use vue-cli webpack template with option:

Runtime-only: about 6KB lighter min+gzip, but templates (or any Vue-specific HTML) are ONLY allowed in .vue files - render functions are required elsewhere

Change event fired when no "currentPage" is set.

pagination1: {
    // currentPage: 4
},
pageChanged: function () {
    console.log('Page changed to: ' + this.pagination1.currentPage);
}

Expected
pageChanged should not be fired.

Actual
pageChanged is being fired.

Could not find a declaration file for module 'vuejs-uib-pagination'.

This library looks really good except that I'm not sure how to implement it in my Typescript project. The linter is putting out the following message:

Could not find a declaration file for module 'vuejs-uib-pagination'. '/Project root/node_modules/vuejs-uib-pagination/dist/vuejs-uib-pagination.js' implicitly has an 'any' type.
Try npm install @types/vuejs-uib-pagination if it exists or add a new declaration (.d.ts) file containing declare module 'vuejs-uib-pagination';

I tried installing from @types to no avail.

Any thoughts or should I find a different library? Thank you in advance

dynamic total-items

Is there any watcher for total-items property ? I'm changing it dynamically and it is not responding, I have checked the source files and haven't found any watcher for this

Vue.js 3 support

When are you planning to make official release for Vue.js 3 support?

'›' can't be unescaped to HTML

Hi!
When I use this plugin in template, the text like 'โ€บ' can't be unescaped to HTML.
The code is
<uib-pagination @change="fetch(pagination.currentPage)" :boundary-links="true" :total-items="totalItems" v-model="pagination" class="pagination-sm" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;" :max-size="5" :rotate="true" :force-ellipses="true"></uib-pagination>

and the result is like this
html

Add "page-label" property support to render raw html

Hi

I would like to know if there's an option to render raw HTML when using page-label.
That's because I need to render an icon instead of a number while retrieving data from the server.

Willing to help on this as needed.

Thank you very much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.