amogelaFaele
Handles dropped files.
amogelaFaele(elemente, faeleETlile, [faGoGogilwe])Invokes the file callback once per dropped file wrapper. Optional second callback receives the native drop event before file loading completes. Returns the receiver.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
elemente | elemente | The element wrapper receiver. |
faeleETlile | tiro | Callback receiving each file wrapper. |
faGoGogilwe (optional) | tiro | Optional native drop-event callback. |
Examples
Section titled “Examples”tiro setaLoeto() {
tlosaKanefase();
diri e = bopaDiv("Gogela faele fano");
setaeleSaElemente(e, "padding", "30px");
amogelaFaele(e, f => bopaTemana(leinaLaFaele(f)));
}