Drag and drop GLB file using html?

Hello guys,
can anyone help me how we can drag and drop GLB using html interface so we can load GLB using drag and drop into a scene. Need some reference and examples, Thanks.

The three.js editor is a good reference. It supports drag’n’drop and the glTF format. The drag’n’drop event listeners are located here:

The Loader class of the editor holds the implementation for the actual loading/parsing process.

@Gundeep_Singh BTW: Please do not use too many tags for your topics. One-three are sufficient.

ok sir from next time I didn’t use

Sir I have created HTML webpage, how I connect input element with JavaScript in typescript file @Mugen87