Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISearchProviderConstructor<T>

This interface is meant to enforce that SearchProviders implement the static canSearchOn function.

Type parameters

  • T: Widget = Widget

Hierarchy

  • ISearchProviderConstructor

Index

Constructors

Methods

Constructors

constructor

  • Returns ISearchProvider<T>

Methods

canSearchOn

  • canSearchOn(domain: Widget): domain is T
  • Report whether or not this provider has the ability to search on the given object. The function is a type guard, meaning that it returns a boolean, but has a type predicate (x is T) for its return signature.

    Parameters

    • domain: Widget

    Returns domain is T

Generated using TypeDoc