Components
<AisPagination>
Pagination widget
Usage
MySearchExperience.vue
<template>
<div>
<AisInstantSearch :widgets :configuration>
<AisPagination :show-first="true|false" :show-previous="true|false" :show-next="true|false" :show-last="true|false" />
</AisInstantSearch>
</div>
</template>
<script setup lang="ts">
const widgets = computed(() => [useAisPagination({
totalPages: 10,
padding: 2
})]
</script>
Slots, props and widget connector params are all typed! More thorough documentation coming soon :)