static-filter
v0.0.3
Published
A custom toggle button that filters results in the search interface
Downloads
4,805
Maintainers
Keywords
Readme
Static Filter
Props
| Name | Type | Description | | :---: | :---: | :---: | | caption | string | Renders a title for the toggle button | | expression | string | Query expression to be applied when button is toggled |
This component will render a toggle button that will toggle the results in the search interface based on the expression in the expression prop.
<static-filter caption="Filter Only Youtube Sources" expression="@filetype=='youtubevideo'">
</static-filter>