# TheSearch

# Data

Name Type Description Initial value
showSearch boolean false
query string ""
queryMinLength number 2
queryIsTyping boolean false
queryIsDisabled boolean false
queryIsSearching boolean false
queryShowResults boolean false
items boolean false
groups boolean false
stats boolean false
dataImageFilter any null
origImageFilter string "60x"
focus boolean false

# Computed Properties

Name Description
locale Dependencies: getApiLocale
imgFilter Dependencies: dataImageFilter, origImageFilter
showResults Dependencies: queryShowResults, stats
showNoResults Dependencies: queryShowResults, stats
queryShowReset Dependencies: query, queryMinLength, queryShowResults
searchIndicator Dependencies: queryIsSearching, queryIsTyping

# Methods

# bye()

Syntax

bye(): void
1

# toggle()

Syntax

toggle(): void
1

# onFocus()

Syntax

onFocus(): void
1

# clearQuery()

Syntax

clearQuery(): void
1

# itemUrl()

Syntax

itemUrl(item: unknow): void
1

# itemImgPath()

Syntax

itemImgPath(group: unknow, item: unknow): void
1

# selectItem()

Syntax

selectItem(item: unknow): void
1

# doSearch()

Syntax

doSearch(): unknow
1

# doCatalogSearch()

END doSearch

Syntax

doCatalogSearch(): void
1

# doCatalogSearchGrouped()

Syntax

doCatalogSearchGrouped(group: unknow): void
1

# highlight()

Syntax

highlight(item: unknow, field: unknow): void
1

# getGroupHeadline()

Syntax

getGroupHeadline(item: unknow): void
1

# groupResults()

Syntax

groupResults(): void
1

# sendStats()

Syntax

sendStats(data: unknow): void
1

# blurInput()

Syntax

blurInput(): void
1