mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
a55a324f5c
* feat: add pagination and empty * fix: indent * fix: table pagination
30 lines
947 B
C#
30 lines
947 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<CascadingValue Value="this">
|
|
<ul class="@ClassMapper.Class" style="@Style" @ref="Ref" id="@Id">
|
|
@if (Simple)
|
|
{
|
|
<PaginationSimple
|
|
Disabled="Disabled"
|
|
PageSize="PageSize"
|
|
Total="Total"
|
|
PageIndex="PageIndex"
|
|
PageIndexChange="HandlePageIndexChange"/>
|
|
}
|
|
else
|
|
{
|
|
<PaginationDefault
|
|
Size="@Size"
|
|
Disabled="Disabled"
|
|
ShowSizeChanger="ShowSizeChanger"
|
|
ShowQuickJumper="ShowQuickJumper"
|
|
Total="Total"
|
|
PageIndex="PageIndex"
|
|
PageSize="PageSize"
|
|
PageSizeOptions="PageSizeOptions"
|
|
PageIndexChange="HandlePageIndexChange"
|
|
PageSizeChange="HandlePageSizeChange"/>
|
|
}
|
|
</ul>
|
|
</CascadingValue> |