Class: Event

Event

new Event()

Source:

Members

delete

Source:

Methods

addAttachment(callback)

Parameters:
Name Type Description
callback Connection~requestCallback
Source:

attachmentUrl(attachment)

TODO create an attachment Class that contains such logic

Parameters:
Name Type Description
attachment attachment
Source:

getData()

get Json object ready to be posted on the API

Source:

getPicturePreview(width, height) → {string}

TODO document and rename to getPicturePreviewUrl

Parameters:
Name Type Description
width
height
Source:
Returns:
Type
string

removeAttachment(callback)

Parameters:
Name Type Description
callback Connection~requestCallback
Source:

update(callback)

Parameters:
Name Type Description
callback Connection~requestCallback
Source: