3 declare(strict_types=1);
12 $renderer = $DIC->ui()->renderer();
13 $request = $DIC->http()->request();
16 ->dropzone()->file()->wrapper(
17 'Upload your files here',
19 $factory->messageBox()->info(
'Drag and drop files onto me!'),
28 if (
'POST' === $request->getMethod()) {
29 $dropzone = $dropzone->withRequest($request);
30 $data = $dropzone->getData();
32 $data =
'no results yet.';
35 return '<pre>' . print_r(
$data,
true) .
'</pre>' .
36 $renderer->render($dropzone);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...