콘텐츠로 이동

Trigger Filters API

이 콘텐츠는 아직 번역되지 않았습니다.

This page exists to test a public API for triggering filters in the Pagefind search component.

First, uncomment <span data-pagefind-filter="..."></span> in both docs/src/content/docs/demo/trigger-filters.md and docs/src/content/docs/demo/trigger-search.md.

Then, when doing a search from this page, e.g. for the word test, search results should be filtered by default to only include results that have the filter author set to Alice.