Input / search event listeners? #535
ZachSaucier
started this conversation in
General
Replies: 1 comment 3 replies
-
👋 hey @ZachSaucier One of my focuses once the new year rolls around and I get back into gear will be reworking and releasing Pagefind's modular UI, which already exists in its proto-form here: https://www.npmjs.com/package/@pagefind/modular-ui This UI system has far more hooks and customization, already offering listeners on the core UI instance. This is the direction I'm wanting to head, with a goal that the modular UI replaces the current UI (by doing everything it does, but better). It isn't at that level yet, but that's the goal — so that's where I'm keen to spend any new energy 🙂 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to add event listeners for when a user updates the search? I'm trying to update the query param in the search URL every time someone is typing.
Right now we can approximate it by doing something like this:
But this has drawbacks:
Is there a way to do this better using a pagefind method? If not, does it make sense to add?
Beta Was this translation helpful? Give feedback.
All reactions