Skip to main content

SearchFeatureTreeInstance <T>

Index

Properties

closeSearch

closeSearch: () => void

Type declaration

    • (): void
    • Returns void

getSearchInputElement

getSearchInputElement: () => null | HTMLInputElement

Type declaration

    • (): null | HTMLInputElement
    • Returns null | HTMLInputElement

getSearchInputElementProps

getSearchInputElementProps: () => any

Type declaration

    • (): any
    • Returns any

getSearchMatchingItems

getSearchMatchingItems: () => ItemInstance<T>[]

Type declaration

getSearchValue

getSearchValue: () => string

Type declaration

    • (): string
    • Returns string

isSearchOpen

isSearchOpen: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

openSearch

openSearch: (initialValue?: string) => void

Type declaration

    • (initialValue?: string): void
    • Parameters

      • optionalinitialValue: string

      Returns void

registerSearchInputElement

registerSearchInputElement: (element: null | HTMLInputElement) => void

Type declaration

    • (element: null | HTMLInputElement): void
    • Parameters

      • element: null | HTMLInputElement

      Returns void

setSearch

setSearch: (search: null | string) => void

Type declaration

    • (search: null | string): void
    • Parameters

      • search: null | string

      Returns void