Searched refs:dataTransfer (Results 1 – 4 of 4) sorted by relevance
42 if (evt.dataTransfer && dragEventHasFiles(evt)) {43 const file = evt.dataTransfer.files[0];59 if (event.dataTransfer && event.dataTransfer.types) {60 for (const type of event.dataTransfer.types) {
126 const dataTransfer = e.dataTransfer; constant127 if (dataTransfer === null) return;130 dataTransfer.setData('perfetto/track', `${this.attrs!.trackState.id}`);131 dataTransfer.setDragImage(new Image(), 0, 0);143 const dataTransfer = e.dataTransfer; constant144 if (dataTransfer === null) return;145 if (!dataTransfer.types.includes('perfetto/track')) return;146 dataTransfer.dropEffect = 'move';166 const dataTransfer = e.dataTransfer; constant167 if (dataTransfer === null) return;[all …]
153 ([...e.dataTransfer.files]).forEach(do_upload);