wiup
This commit is contained in:
@@ -15,6 +15,8 @@ const bundlePath = `${import.meta.env.BASE_URL}pagefind/`;
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
import { PagefindUI } from "@pagefind/default-ui";
|
||||
|
||||
const element = "#pagefind-ui";
|
||||
@@ -25,7 +27,7 @@ const bundlePath = `${import.meta.env.BASE_URL}pagefind/`;
|
||||
const bundlePath = selector.getAttribute("data-bundle-path");
|
||||
// Pagefind UI configuration options
|
||||
// https://pagefind.app/docs/ui/
|
||||
new PagefindUI({
|
||||
const search = new PagefindUI({
|
||||
element,
|
||||
bundlePath,
|
||||
autofocus: true,
|
||||
@@ -33,9 +35,9 @@ const bundlePath = `${import.meta.env.BASE_URL}pagefind/`;
|
||||
pageSize: 5,
|
||||
});
|
||||
|
||||
const a =
|
||||
selector.querySelector<HTMLInputElement>(`input[type="text"]`);
|
||||
console.log(a);
|
||||
console.log(search._pfs);
|
||||
// search._pfs.$$set({ trigger_search_term: "aa" })
|
||||
// console.log();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ const trends = await getEntries([
|
||||
]);
|
||||
---
|
||||
|
||||
<Layout>
|
||||
<Layout title="Educação que garante sua segurança">
|
||||
<div class="space-y-6 lg:space-y-24">
|
||||
<Container>
|
||||
<nav
|
||||
|
||||
Reference in New Issue
Block a user