Home > @magiclane/maps-sdk > ContactInfo > addField
ContactInfo.addField() method
Add a new field to the contact info
Signature:
addField(type: ContactInfoFieldType, value: string, name: string): void;Parameters
Parameter | Type | Description |
|---|---|---|
type | Field's type (multiple values of the same type are supported) | |
value | string | Field's value |
name | string | Field's name (usually used for display in UI) |
Returns:
void