0.5.4 • Published 3 years ago
@appose-gmbh/tool-search v0.5.4
@appose-tool/search - 0.5.2

usage
<appose-tool-search></appose-tool-search>appose-tools-search
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
apiUrl | api-url | API base URL | string | 'https://career.dev02.appose.com/career/private' |
backgroundColor | background-color | Background color of the component | string | '#F5F4F4' |
companyId | company-id | CompanyId needed for api request to provide search with data | number | 1 |
headers | -- | headers for the api request | Headers | undefined |
isRoleSearch | is-role-search | Is used to declare the usage of this component rolesearch uses APIURL/api/roles/autocomplete/ to search for a specific role | boolean | false |
isSkillSearch | is-skill-search | Is used to declare the usage of this component skillsearch uses APIURL/api/skills/autocomplete/ to search for a specific skill | boolean | false |
isUserSearch | is-user-search | Is used to declare the usage of this component usersearch uses APIURL/api/user/manager/ to search for a specific user | boolean | false |
language | language | Language code EXAMPLE: de, en | string | undefined |
multiple | multiple | Is used to dictate if search has the ability to select multiple items or just one in which case chips are no longer required and used | boolean | false |
placeholder | placeholder | Is used for providing a placeholder to the input of the component | string | '' |
searchId | search-id | Is used to unqiely identify the event emitter of the specific instance of this component listening in on the generic event name apposeToolSearchSelected | string | undefined |
Events
| Event | Description | Type |
|---|---|---|
apposeToolSearchSelected | Will be triggered when the component is used with either isSkillSearch, isUserSearch or isRoleSearch. Output object will correlate with the search type (skill search: Integration.Skill, user search: Integration.User, role search: Integration.Role): | CustomEvent<any> |