Mail (or) attachment drag/ drop event
Purpose
This event command can be used to trigger an action, on the occurrence of the mentioned event (when an email/ attachment is dragged/ dropped on an app):
Request URL
On mail (or) attachment drag
clientsdk.on("drag", info*)
*info that denotes the drag state
On mail (or) attachment drop
clientsdk.on("drop", dropInfo*)
dropInfo - {type, data}
Request Parameters
Parameter | Value |
type | Type of entity being dropped - {mail/ attachment} |
data | Meta data of mail or attachment |
Note:
Enable the drag/drop functionality using this command before using the above event.
If drag is initiated
Copiedclientsdk.on("drag", {started: true})
If drag is coming to an end
Copiedclientsdk.on("drag", {ended: true})