Cosmetics

pull/12/head
cagataycivici 2019-05-23 12:24:04 +03:00
parent 68ddecb21c
commit ef47f67a52
1 changed files with 90 additions and 90 deletions

View File

@ -60,98 +60,98 @@ import FileUpload from 'primevue/fileupload';
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Type</th> <th>Type</th>
<th>Default</th> <th>Default</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>name</td> <td>name</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Name of the request parameter to identify the files at backend.</td> <td>Name of the request parameter to identify the files at backend.</td>
</tr> </tr>
<tr> <tr>
<td>url</td> <td>url</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Remote url to upload the files.</td> <td>Remote url to upload the files.</td>
</tr> </tr>
<tr> <tr>
<td>mode</td> <td>mode</td>
<td>string</td> <td>string</td>
<td>advanced</td> <td>advanced</td>
<td>Defines the UI of the component, possible values are "advanced" and "basic".</td> <td>Defines the UI of the component, possible values are "advanced" and "basic".</td>
</tr> </tr>
<tr> <tr>
<td>multiple</td> <td>multiple</td>
<td>boolean</td> <td>boolean</td>
<td>false</td> <td>false</td>
<td>Used to select multiple files at once from file dialog.</td> <td>Used to select multiple files at once from file dialog.</td>
</tr> </tr>
<tr> <tr>
<td>accept</td> <td>accept</td>
<td>string</td> <td>string</td>
<td>false</td> <td>false</td>
<td>Pattern to restrict the allowed file types such as "image/*".</td> <td>Pattern to restrict the allowed file types such as "image/*".</td>
</tr> </tr>
<tr> <tr>
<td>disabled</td> <td>disabled</td>
<td>boolean</td> <td>boolean</td>
<td>false</td> <td>false</td>
<td>Disables the upload functionality.</td> <td>Disables the upload functionality.</td>
</tr> </tr>
<tr> <tr>
<td>auto</td> <td>auto</td>
<td>boolean</td> <td>boolean</td>
<td>false</td> <td>false</td>
<td>When enabled, upload begins automatically after selection is completed.</td> <td>When enabled, upload begins automatically after selection is completed.</td>
</tr> </tr>
<tr> <tr>
<td>maxFileSize</td> <td>maxFileSize</td>
<td>number</td> <td>number</td>
<td>null</td> <td>null</td>
<td>Maximum file size allowed in bytes.</td> <td>Maximum file size allowed in bytes.</td>
</tr> </tr>
<tr> <tr>
<td>invalidFileSizeMessage</td> <td>invalidFileSizeMessage</td>
<td>string</td> <td>string</td>
<td>"&#123;0&#125;: Invalid file size, file size should be smaller than &#123;1&#125;."</td> <td>"&#123;0&#125;: Invalid file size, file size should be smaller than &#123;1&#125;."</td>
<td>Summary message of the invalid fize size.</td> <td>Summary message of the invalid fize size.</td>
</tr> </tr>
<tr> <tr>
<td>withCredentials</td> <td>withCredentials</td>
<td>boolean</td> <td>boolean</td>
<td>false</td> <td>false</td>
<td>Cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates.</td> <td>Cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates.</td>
</tr> </tr>
<tr> <tr>
<td>previewWidth</td> <td>previewWidth</td>
<td>number</td> <td>number</td>
<td>50</td> <td>50</td>
<td>Width of the image thumbnail in pixels.</td> <td>Width of the image thumbnail in pixels.</td>
</tr> </tr>
<tr> <tr>
<td>chooseLabel</td> <td>chooseLabel</td>
<td>string</td> <td>string</td>
<td>Choose</td> <td>Choose</td>
<td>Label of the choose button.</td> <td>Label of the choose button.</td>
</tr> </tr>
<tr> <tr>
<td>uploadLabel</td> <td>uploadLabel</td>
<td>string</td> <td>string</td>
<td>Upload</td> <td>Upload</td>
<td>Label of the upload button.</td> <td>Label of the upload button.</td>
</tr> </tr>
<tr> <tr>
<td>cancelLabel</td> <td>cancelLabel</td>
<td>string</td> <td>string</td>
<td>Cancel</td> <td>Cancel</td>
<td>Label of the cancel button.</td> <td>Label of the cancel button.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>