CustomMessagesComponent
Custom component messages override default component messages (more information and example).
<!-- 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>
Selector
kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages
Inputs
Name | Type | Default | Description |
---|---|---|---|
cancel |
|
|
Sets the text for the Cancel button. |
clearSelectedFiles |
|
|
Sets the text for the Clear button. |
dropFilesHere |
|
|
Sets the drop-zone hint. |
externalDropFilesHere |
|
|
Sets the external drop-zone hint. |
filesBatchStatus |
|
|
Sets the status message for a batch of files. |
filesBatchStatusFailed |
|
|
Sets the status message for a batch of files after failed upload. |
filesBatchStatusUploaded |
|
|
Sets the status message for a batch of files after successful upload. |
fileStatusFailed |
|
|
Sets the file status message after failed upload. |
fileStatusUploaded |
|
|
Sets the file status message after successful upload. |
headerStatusPaused |
|
|
Sets the header status message when the file upload is paused. |
headerStatusUploaded |
|
|
Sets the header status message after the file upload completes. |
headerStatusUploading |
|
|
Sets the header status message during the upload of the file. |
invalidFileExtension |
|
|
Sets the text for the invalid |
invalidMaxFileSize |
|
|
Sets the text for the invalid |
invalidMinFileSize |
|
|
Sets the text for the invalid |
pause |
|
|
Sets the text for the Pause button. |
remove |
|
|
Sets the text for the Remove button. |
resume |
|
|
Sets the text for the Resume button. |
retry |
|
|
Sets the text for the Retry button. |
select |
|
|
Sets the text for the Select button. |
uploadSelectedFiles |
|
|
Sets the text for the Upload files button. |