Closed knd775 closed 11 months ago
I just realized this is all already implemented, but not documented. If anyone else is looking for this, take a look at the code here: https://github.com/aymeric-giraudet/svelte-algolia-instantsearch/blob/5f0998a536b9db9b33b3d65bd4da9c80bb8d3195/src/lib/widgets/SearchBox.svelte#L126-L170
It'd be great if options like
showReset
,showSubmit
, andshowLoadingIndicator
were exposed by the component. Additionally, it'd be very nice if we could control the widget templates (slots would be ideal, but html templates would be better than nothing). Currently we are making this all work through thecssClasses
, but it's rather messy.