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>