buttons
Description
Optional. Defines whether to display buttonsUsage
buttons?: boolean;
The property takes the next values:
true- (default) default buttons ("Cancel" and "Apply") are displayedfalse- no buttons are displayed
Example
In the example below we hide the buttons:
<script>
import { FilterEditor } from "@svar-ui/svelte-filter";
</script>
<FilterEditor
type="text"
options={["Alice", "Bob", "Charlie"]}
buttons={false}
/>
Related articles: FilterEditor Guide