Skip to content

Commit

Permalink
feat: pagination component (#101)
Browse files Browse the repository at this point in the history
Add a searchalicious-pages component to display pages and navigate through them
  • Loading branch information
alexgarel authored Apr 24, 2024
1 parent ae949ea commit 3b254eb
Show file tree
Hide file tree
Showing 14 changed files with 703 additions and 1,647 deletions.
5 changes: 5 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ The project is currently composed of several widgets
* you must provide an element with attribute `slot="result"` that contains a template to display a single search result
* a `before-search` slot is also available to display something before first search launch
* as well as a `no-results` slot to display something when no results are found
* searchalicious-pages is the component that displays the pagination
* you can specify the number of displayed pages with `displayed-pages` attribute
* there are `before-search` and `no-results` slots

You can give a specific `name` attribute to your search bar.
Then all other component that needs to connect with this search must use the same value in `search-name` attribute

## Tools

Expand Down
Loading

0 comments on commit 3b254eb

Please sign in to comment.