CustomMessagesComponent
Custom component messages override default component messages (more information and example).
Definition
Package:@progress/kendo-angular-upload
Selector:kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages
Syntax:
<!-- Custom messages for FileSelect -->
<kendo-fileselect>
<kendo-fileselect-messages
dropFilesHere="Drop your file here"
select="Upload file">
</kendo-fileselect-messages>
</kendo-fileselect>
<!-- Custom messages for Upload -->
<kendo-upload>
<kendo-upload-messages
dropFilesHere="Drop your file here"
fileStatusFailed="File upload failed"
fileStatusSuccessful="File upload successful">
</kendo-upload-messages>
</kendo-upload>
<!-- Custom messages for UploadDropZone -->
<kendo-uploaddropzone>
<kendo-uploaddropzone-messages
externalDropFilesHere="Drag and your file here">
</kendo-uploaddropzone-messages>
</kendo-uploaddropzone>
Inputs
cancel
string
Sets the text for the Cancel button.
'Cancel'
clearSelectedFiles
string
Sets the text for the Clear button.
'Clear'
dropFilesHere
string
Sets the drop-zone hint.
'Drop files here to upload'
externalDropFilesHere
string
Sets the external drop-zone hint.
'Drag and drop files here to upload'
filesBatchStatus
string
Sets the status message for a batch of files.
'files'
filesBatchStatusFailed
string
Sets the status message for a batch of files after failed upload.
'files failed to upload.'
filesBatchStatusUploaded
string
Sets the status message for a batch of files after successful upload.
'files successfully uploaded.'
fileStatusFailed
string
Sets the file status message after failed upload.
'File failed to upload.'
fileStatusUploaded
string
Sets the file status message after successful upload.
'File successfully uploaded.'
headerStatusPaused
string
Sets the header status message when the file upload is paused.
'Paused'
headerStatusUploaded
string
Sets the header status message after the file upload completes.
'Done'
headerStatusUploading
string
Sets the header status message during the upload of the file.
'Uploading...'
invalidFileExtension
string
Sets the text for the invalid allowedExtensions restriction message.
'File type not allowed.'
invalidMaxFileSize
string
Sets the text for the invalid maxFileSize restriction message.
'File size too large.'
invalidMinFileSize
string
Sets the text for the invalid minFileSize restriction message.
'File size too small.'
pause
string
Sets the text for the Pause button.
'Pause'
remove
string
Sets the text for the Remove button.
'Remove'
resume
string
Sets the text for the Resume button.
'Resume'
retry
string
Sets the text for the Retry button.
'Retry'
select
string
Sets the text for the Select button.
'Select files...'
uploadSelectedFiles
string
Sets the text for the Upload files button.
'Upload'