Module

SearchMethodTileTabber

Renders a set of toggleable buttons for each search method that occurs in the default Vue slot of this component.

Usage

<search-method-tile-tabber v-model:search-method="currentSearchMethod">
  <search-method
    name="text-search"
    icon="mdi-keyboard">
    <template #search-interface>
      Text Search UI
    </template>
  </search-method>
  <search-method
    name="random-search"
    icon="mdi-dice-5">
    <template #search-interface>
      Random Search UI
    </template>
  </search-method>
</search-method-tile-tabber>

See TODO for more details about implementing new search forms.

Props

Name Type Default value Required? Description
name String - Yes the name of the widget
context Object - Yes the context to be passed to any widget decorate plugins