arraySum | ||||||
arraySum(arr)
|
||||||
Returns the sum of all values in an array.
Parameters :
Example :
Returns :
number
The sum of all values in the array. |
copyToClipboard | ||||||||
copyToClipboard(text: any)
|
||||||||
Copies set text to clipboard.
Parameters :
Example :
Returns :
boolean
true - If the copy operation is successful. |
exportCsv | ||||||||||||
exportCsv(arrayData, filename, delimiter)
|
||||||||||||
Exports data to a CSV format and provides a download file.
Parameters :
Returns :
void
|
HttpGetter |
HttpGetter()
|
Provides an avenue of fetching resources via HTTP calls.
Returns :
void
|
parseData | ||||||||
parseData(data: any)
|
||||||||
Parses data to CSV format.
Parameters :
Returns :
Array<any>
An array of the parsed data. |
readCsv | ||||||||
readCsv(input: any)
|
||||||||
Reads a csv file and converts it to an array.
Parameters :
Returns :
Array | void
An array of the read data. |
personValidation | ||||||||
personValidation(person: any)
|
||||||||
Validates a person object against the defined Person schema.
Parameters :
Returns :
Promise<void>
|
vcardValidation | ||||||||
vcardValidation(vcard: any)
|
||||||||
Validates a vcard object against the defined Vcard schema.
Parameters :
Returns :
Promise<void>
|
rejectBody | ||||
rejectBody(error)
|
||||
Parameters :
Returns :
literal type
|
updateSyncable | ||||||||
updateSyncable(changes, changesDescription, syncable)
|
||||||||
Parameters :
Returns :
any
|