0.5.4 • Published 2 years ago

@appose-gmbh/tool-search v0.5.4

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

@appose-tool/search - 0.5.2

image

usage

<appose-tool-search></appose-tool-search>

appose-tools-search

Properties

PropertyAttributeDescriptionTypeDefault
apiUrlapi-urlAPI base URLstring'https://career.dev02.appose.com/career/private'
backgroundColorbackground-colorBackground color of the componentstring'#F5F4F4'
companyIdcompany-idCompanyId needed for api request to provide search with datanumber1
headers--headers for the api requestHeadersundefined
isRoleSearchis-role-searchIs used to declare the usage of this component rolesearch uses APIURL/api/roles/autocomplete/ to search for a specific rolebooleanfalse
isSkillSearchis-skill-searchIs used to declare the usage of this component skillsearch uses APIURL/api/skills/autocomplete/ to search for a specific skillbooleanfalse
isUserSearchis-user-searchIs used to declare the usage of this component usersearch uses APIURL/api/user/manager/ to search for a specific userbooleanfalse
languagelanguageLanguage code EXAMPLE: de, enstringundefined
multiplemultipleIs used to dictate if search has the ability to select multiple items or just one in which case chips are no longer required and usedbooleanfalse
placeholderplaceholderIs used for providing a placeholder to the input of the componentstring''
searchIdsearch-idIs used to unqiely identify the event emitter of the specific instance of this component listening in on the generic event name apposeToolSearchSelectedstringundefined

Events

EventDescriptionType
apposeToolSearchSelectedWill 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>