aurelia / ux

A user experience framework with higher-level capabilities, designed to bring simplicity and elegance to building cross-device, rich experiences.
MIT License
366 stars 56 forks source link

Consider pagination component #300

Open MaximBalaganskiy opened 4 years ago

MaximBalaganskiy commented 4 years ago

I've got a pagination component which might be useful. Please consider adding it to the UX. pagination

bigopon commented 4 years ago

@ben-girardet @EisenbergEffect any thoughts on this

EisenbergEffect commented 4 years ago

Seems useful to me. @MaximBalaganskiy Can you share a bit about how it works with some html examples?

MaximBalaganskiy commented 4 years ago

It's not doing much - displays a defined number of pages out of the total and updates a selected page number. Tries to keep the selected page in the centre of the range by moving the visible pages window.

Live demo https://gist.dumber.app/?gist=adf2cb1524a26176e08b79f5442672b1

EisenbergEffect commented 4 years ago

Thanks @MaximBalaganskiy Seems like a nice addition to me.