An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
withMaxFiles($max)
Get a dropzone like this, restricting the max number of files that can be uploaded.
withFileSizeLimit(DataSize $limit)
Get a dropzone like this, restricting the max file size of the files to the given limit.
getParametername()
Get the identifier used to retrieve and identify an uploaded file server side.
allowsUserDefinedFileNames()
Check if the dropzone supports to enter custom file names for each file being uploaded.
allowsUserDefinedFileDescriptions()
Check if the dropzone supports to enter file descriptions for each file being uploaded.
getMaxFiles()
Get the max number of files that can be uploaded.
withUploadUrl($url)
Get a dropzone like this where the files are uploaded to the given URL.
withAllowedFileTypes(array $types)
Get a dropzone like this only accepting the submitted file types for uploading, e....
getUploadUrl()
Get the upload URL where the files are uploaded.
getFileSizeLimit()
Get the max file size.
withUserDefinedDescriptionEnabled($state)
Get a dropzone like this, allowing to set a description for each file being uploaded.
withUserDefinedFileNamesEnabled($state)
Get a dropzone like this, allowing to set the filename for each file being uploaded.
withParameterName($parameter_name)
Get a dropzone like this where each uploaded file is identified over a given identifier.