1 min read
   
 ClearHistoryQueries
ClearHistoryQueries
 A button that when is pressed, emits the HistoryQueriesXEvents.UserPressedClearHistoryQueries event, expressing the user intention to clear the whole history of queries.
Slots
 | Name | Description | Bindings (name - type - description) | 
|---|---|---|
| default | (Required) Button content with a message, an icon or both | None | 
Events
 A list of events that the component will emit:
- UserPressedClearHistoryQueries(opens new window): the event is emitted after the user clicks the button.
Examples
 Basic example
 The component exposes a single default slot, where you can add icons or text.