Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InteractiveSession

InteractiveSession creates a session based on text searches and is recommended for use in search-as-you-type style interfaces.

It resets the session if the search query value:

  • Is undefined.
  • First 3 characters have changed (i.e. from a direct replacement)
  • Cleared after being non-empty (i.e. from a delete)

Hierarchy

  • InteractiveSession

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private lastQuery

lastQuery: string

Private session

session: Session

Private textParam

textParam: string

Methods

next

reset

  • reset(): void
  • Returns void

Generated using TypeDoc