ebiwd / EBI-Pattern-library

Please head to the new pattern library:
http://www.ebi.ac.uk/style-lab/websites/patterns/
2 stars 2 forks source link

Idea on the 'Lists' pattern #18

Open tschaka1904 opened 7 years ago

tschaka1904 commented 7 years ago

Refrence: /patterns/lists/

For the Pager it might be worth to have also a 'Pagesize'-element? To show more or less elements in the list.

khawkins98 commented 7 years ago

Do you mean where it would show a flexible amount, depending on the screen size? Like so:

Mobile: < First 1 2 3 ... 24 26 27 Last >

Desktop: < First 1 2 3 4 5 6 ... 21 22 23 24 26 27 Last >

tschaka1904 commented 7 years ago

Ah! Sorry! Maybe I wasn't clear. I mean something do define how many elements you want to display per page, like: 10, 20, 50, 100.

khawkins98 commented 7 years ago

That's a good idea.

We're looking at capturing "search results" as a series of patterns (likely as children of the list patterns). An "items per page" would be great to have.

Probably would just look like the Foundation select menu, which is a slightly polished <select> element.

I think, for the time being, this one is a stay tuned — unless you have an immediate need for assistance.

khawkins98 commented 7 years ago

Accidental closure.