Selector
bp-search

Inputs

Search inputs
InputTypeDescriptionNotes
labelstringThe search input's label.

Required.

Default is "Search".

placeholderstringThe search input's placeholder.

Required.

Default is "Search".

isSearchingbooleanDetermines whether or not a search is in progress.Default is "false".
bpIDstringThe value for the search's id attribute.

Ids must only be used once per page.

Ids should be camelCase, e.g.: #myId.

See identifiers.

Outputs

Search outputs
OutputDescription
searchEmits an event on click of the search icon button or on press of enter.
clearSearchEmits an event on click of the clear icon button.
searchQueryA two-way data binding for reading and writing the search input's value.

Identifiers

Identifiers
IDDescription
bpIDThe unique identifier for the search component.
bpID + 'Clear'The unique identifier for the clear button.
bpID + 'Search'The unique identifier for the search button.