# TheSearch

# Data

Name Type Description Initial value
query string ""
queryMinLength number 2
queryIsTyping boolean false
queryIsDisabled boolean false
queryIsSearching boolean false
stats boolean false
focus boolean false
typeDelay number 750
timeout any null
loading boolean false

# Computed Properties

Name Description
inputIsSelected Dependencies: selectedItemId
searchIndicator Dependencies: queryIsSearching, queryIsTyping

# Methods

# onFocus()

Syntax

onFocus(): void
1

# onEnter()

Syntax

onEnter(event: unknow): void
1

# changeSelected()

Syntax

changeSelected(event: unknow): void
1

# onBlur()

Syntax

onBlur(): void
1

# clearQuery()

Syntax

clearQuery(): void
1

# doAutocomplete()

Syntax

doAutocomplete(): void
1

# getAutocompleteResults()

Syntax

getAutocompleteResults(): void
1

# resetAutoComplete()

Syntax

resetAutoComplete(): void
1

# doSearch()

Syntax

doSearch(): void
1

# doCatalogSearch()

END doSearch

Syntax

doCatalogSearch(): void
1

# sendStats()

Syntax

sendStats(data: unknow): void
1