By registering a one-time event handler for a unique event name
Attach a file by drag & drop or click to upload