Contacts API
API Reference vce-contact-preview
HTML Attributes API
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
html |
string | |||
content |
object |
API Reference vce-recent-contacts
HTML Attributes API
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
translations |
Sets the translations | RecentContactsTranslations | {label: 'Recent contacts'} | |
step |
Step increment for number | number | 1 |
Contact
{
id: string;
firstName: string;
lastName: string;
email: string;
}
RecentContactsTranslations
{
label: string;
}
Events
| Event | Description | Returns |
|---|---|---|
connected.recent-contacts |
Fires on connect | |
disconnected.recent-contacts |
Fires on disconnect | |
select |
Fires on select | |
remove |
Fires on remove | |
API Reference vce-simple-search-field
HTML Attributes API
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
value |
String to search for | string | ||
loading |
Show loading spinner | boolean | ||
translations |
Image URL | SimpleSearchFieldTranslations | {placeholder: 'Start typing a search term} |
SimpleSearchFieldTranslations
{
placeholder: string;
}
Events
| Event | Description | Returns |
|---|---|---|
search |
Fires on search field change and on click | |
API Reference vce-search-results
HTML Attributes API
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
contacts |
Array of Contact | string |
Contact
{
id: string;
firstName: string;
lastName: string;
email: string;
}
Events
| Event | Description | Returns |
|---|---|---|
add |
Fires on click | |