Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UseFacetResult<Value>

Type parameters

  • Value

Hierarchy

  • UseFacetResult

Index

Properties

error: any

Error of the latest options fetch. It is undefined if no errors.

isFetching: boolean

True if fetching facet options is in progress.

options: FacetOption[]

Facet options.

value: undefined | Value

Facet value.

Methods

  • onValueChange(newValue: Value): void
  • Callback for changing facet value.

    Parameters

    • newValue: Value

      new facet value

    Returns void

Generated using TypeDoc