Button that when it is pressed emits the UserPressedRemoveHistoryQuery event, expressing the user intention to remove a query in the history.


Name Description Type Default
historyQuery The historyQuery that will be removed when clicking the clear button. HistoryQuery


Name Description Bindings
(name - type - description)
default (Required) Button content with a text, an icon or both None


Basic Example

You can customize the content that this component renders. To do so, simply use the default slot.

<RemoveHistoryQuery :historyQuery="historyQuery">
  <img class="x-history-query__icon" src="./my-awesome-clear-icon.svg"/>


A list of events that the component will emit:

  • UserPressedRemoveHistoryQuery: the event is emitted after the user clicks the button. The event payload is the history query data.
We are cookie-less

This is a cookie-free area. Who needs cookies when you can have trust? Feel free to browse our site and the only cookies you need to worry about are the edible kind.