Skip to content
ExamplesOpen editor ↗

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.

NameTypeDescription
elementeelementeThe element wrapper receiver.
faeleETliletiroCallback receiving each file wrapper.
faGoGogilwe (optional)tiroOptional native drop-event callback.
Handles dropped files.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaDiv("Gogela faele fano");
  setaeleSaElemente(e, "padding", "30px");
  amogelaFaele(e, f => bopaTemana(leinaLaFaele(f)));
}

bopaTemana, dirisaMoGo