ant-design-blazor/components/pagination/PaginationOptions.razor
James Yeung bd34858efd feat: support for globalization & localization (#578)
* feat: add locale

* feat: add locale interfaces

* fix: add locale interfaces for components

* fix: use local classes instead of interfaces

* feat: implement the locale provider

* feat: make some components to support localization

* fix: default language

* fix: test

* chore: remove the useless reference
2020-09-07 22:46:50 +08:00

25 lines
705 B
C#

@namespace AntDesign
@inherits AntDomComponentBase
@*<nz-select
class="ant-pagination-options-size-changer"
*ngIf="showSizeChanger"
[nzDisabled]="disabled"
[nzSize]="nzSize"
[ngModel]="pageSize"
(ngModelChange)="onPageSizeChange($event)"
>
<nz-option
*ngFor="let option of listOfPageSizeOption; trackBy: trackByOption"
[nzLabel]="option.label"
[nzValue]="option.value"
></nz-option>
</nz-select>*@
@if (ShowQuickJumper)
{
<div class="ant-pagination-options-quick-jumper">
@Pagination?.Locale.JumpTo
<input disabled="@Disabled" @bind="_inputValue" @onkeyup="JumpToPageViaInput" />
@Pagination?.Locale.Page
</div>
}