19 declare(strict_types=1);
38 $factory = $DIC->ui()->factory();
40 $request = $DIC->http()->request();
42 $submit_flag =
'dropzone_wrapper_with_clear_button';
43 $post_url =
"{$request->getUri()}&$submit_flag";
46 ->dropzone()->file()->wrapper(
47 'Upload your files here',
49 $factory->messageBox()->info(
'Drag and drop files onto me!'),
50 $factory->input()->field()->file(
56 $dropzone = $dropzone->withActionButtons([
57 $factory->button()->standard(
'Clear files!',
'#')->withOnClick($dropzone->getClearSignal())
with_clear_button()
description: > Example for rendering a file dropzone wrapper with clear buttons. ...
ilUIAsyncDemoFileUploadHandlerGUI: ilUIPluginRouterGUI