@n8d/htwoo-core
Version:
hTWOo is a Fluent Design Framework purely in HTML and CSS
33 lines • 835 B
TypeScript
/**
* File upload handler class
* Manages file uploads with drag and drop functionality
*/
export declare class FileUploadHandler {
private _files;
private _fileLabel;
private _fileControl;
private _originalFileControl;
private _infileOutput;
/**
* Handle the dragover event
*/
dragOver: (event: DragEvent) => void;
/**
* Handle the dragleave event
*/
dragLeave: (event: DragEvent) => void;
/**
* Handle the drop event
*/
dragDrop: (event: DragEvent) => void;
/**
* Handle file selection changes
*/
fileChangedEvent: (event: Event) => void;
/**
* Initialize the file upload handler
* @param htmlElement - The file upload container element
*/
constructor(htmlElement: HTMLElement);
}
//# sourceMappingURL=file.d.ts.map