pull/1196/head^2
Cagatay Civici 2021-05-08 13:08:11 +03:00
commit b17cf2b685
2 changed files with 39 additions and 1 deletions

View File

@ -44,7 +44,7 @@ import FileUpload from 'primevue/fileupload';
</code></pre> </code></pre>
<h5>File Size and File Linit</h5> <h5>File Size and File Limit</h5>
<p>Maximium file size can be restricted using <i>maxFileSize</i> property defined in bytes. Similarly <i>fileLimit</i> is available to restrict the number of files to be uploaded.</p> <p>Maximium file size can be restricted using <i>maxFileSize</i> property defined in bytes. Similarly <i>fileLimit</i> is available to restrict the number of files to be uploaded.</p>
<pre v-code><code> <pre v-code><code>
&lt;FileUpload name="demo[]" url="./upload" :maxFileSize="1000000" :fileLimit="3" /&gt; &lt;FileUpload name="demo[]" url="./upload" :maxFileSize="1000000" :fileLimit="3" /&gt;

View File

@ -389,6 +389,44 @@ responsiveOptions: [
</table> </table>
</div> </div>
<h5>Slots</h5>
<div class="doc-tablewrapper">
<table class="doc-table">
<thead>
<tr>
<th>Name</th>
<th>Parameters</th>
</tr>
</thead>
<tbody>
<tr>
<td>header</td>
<td>-</td>
</tr>
<tr>
<td>footer</td>
<td>-</td>
</tr>
<tr>
<td>item</td>
<td>item: Item instance</td>
</tr>
<tr>
<td>caption</td>
<td>item: Item instance</td>
</tr>
<tr>
<td>thumbnail</td>
<td>item: Item instance</td>
</tr>
<tr>
<td>indicator</td>
<td>index: Index of the indicator item</td>
</tr>
</tbody>
</table>
</div>
<h5>Styling</h5> <h5>Styling</h5>
<p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p> <p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">