Implémentation "HATEOAS" de l'interface pour HTMX et update des URLs qui fonctionne ! #57

Merged
florian_briand merged 12 commits from feat/54_update_url_on_navbar_navigation into main 2024-08-30 18:25:53 +02:00
Showing only changes of commit 217667253a - Show all commits

View File

@ -5,6 +5,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#main-container" hx-target="#main-container"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-push-url="true"
class="{{ Self::get_classes(self, item.current) }}" class="{{ Self::get_classes(self, item.current) }}"
aria-current="{% if item.current %}page{% endif %}" aria-current="{% if item.current %}page{% endif %}"
> >