mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 08:51:27 +08:00
9 lines
498 B
C#
9 lines
498 B
C#
|
@namespace AntDesign.Internal
|
|||
|
@inherits AntComponentBase
|
|||
|
|
|||
|
<div class="ant-upload ant-upload-select ant-upload-select-@(ListType)" style="@(!ShowButton?"display:none;":"")">
|
|||
|
<span tabindex="0" class="ant-upload" @ref="_btn" data-fileid="@_fileId" role="button">
|
|||
|
<input type="file" webkitdirectory="@Directory" multiple="@(Multiple || Directory)" @ref="_file" @onchange="FileNameChanged" accept="@Accept" style="display: none;" id="@_fileId" />
|
|||
|
@ChildContent
|
|||
|
</span>
|
|||
|
</div>
|