alfresco-ng2-components/docs/core/components/search-cloud.component.md
Silviu Popa 7698fb8edb [AAE-534] Core - add search cloud component (#5193)
* [AAE-534] - add search cloud component

* change doc file

* more changes on doc file

* remove empty scss file

* add animation and more customizations

* add preselect value property

* fix unit tests
2019-10-30 07:44:37 +00:00

1.2 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Search Cloud Component v3.5.0 Active 2019-10-24

Search Cloud Component

Should manage search for cloud components

Basic Usage

<adf-search-cloud>
    [type]="'text'"
    [placeholder]="'placeholder'"
    [debounceTime]="200"
    [expandable]='false'
    (change)="onSearchValueChanged($event)"
</adf-search-cloud>

Class members

Properties

Name Type Default value Description
type SearchCloudTypesEnum search type ('text').
value string preselected input value
expandable boolean false The field should expand on click when this flag is true
placeholder string placeholder content.
debounceTime number 500 Time in miliseconds for debounce the event.

Events

Name Type Description
change EventEmitter<string> Emitted when search widget value is changed.