Aggiunto DataPager
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<div class="input-group ">
|
||||
<input @bind-value="numRecord" @bind-value:event="oninput" type="text" class="form-control" />
|
||||
<div class="input-group-append">
|
||||
<button @onclick="reportChange" class="btn btn-success input-group-text"># record</button>
|
||||
@*<span class="input-group-text"># record</span>*@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
[Parameter]
|
||||
public int numRecord { get; set; } = 10;
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<int> numRecordChanged { get; set; }
|
||||
|
||||
private async Task reportChange()
|
||||
{
|
||||
await numRecordChanged.InvokeAsync(numRecord);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user