API reference for SfSearchComponent

import {SfSearchModule} from "@progress/sitefinity-component-framework";


selector: sf-search

Implements

  • OnInit

Constructors

Properties

ariaLabel: string

Sets the aria-label attribute of the input

ariaLabelledby: string

Sets the aria-labelledby attribute of the input

clearable: boolean

Whether the search is clearable

emitAfterInputNumber: number = 0

The number of symbols after which to emit that the search value is changed (default: 0)

inputEmitCount: number = 0

How many times value changed has been emitted

inputLook: string

Sets the css modifiers of the input

onClear: EventEmitter<any> = ...

On clear emitter

placeholderText: string

The placeholder text

searchInputLook: string = ""

The css modifiers of the search input

searchValue: string

The searched value

searchValueChange: EventEmitter<string> = ...

Search value changed emitter

searchWrapperLook: string = "sf-button-group -search"

The css modifiers of the wrapper

showButton: boolean = true

Whether to show the search button

showIcon: boolean

Whether to show the search icon before the search input

wrapperLook: string

Sets the css modifiers of the wrapper

Methods

  • Handles clear

    Parameters

    • event: any

    Returns void

  • Focuses the input

    Returns void

  • Generates the css modifiers of the search input

    Returns void

  • Generates the css modifiers of the wrapper

    Returns void

  • Returns void

  • Handles search and emits search value changed

    Returns void

Generated using TypeDoc