Skip to content
Snippets Groups Projects
Commit 32827f80 authored by WAGNER ERIC's avatar WAGNER ERIC
Browse files

1 bug réglé

parent 8dbb00f0
Branches
No related merge requests found
......@@ -67,6 +67,7 @@
{{ include('salles/_delete_form.html.twig') }}
</main>
<script src="{{ asset('js/salle.js') }}"></script>
<script>
const swiper = new Swiper('.swiper', {
......@@ -92,4 +93,8 @@
swiper.allowTouchMove = false;
});
swiper.on("click", () => {
console.log(swiper.clickedIndex);
});
</script>
{% endblock %}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment