ant-design-blazor/components/input-number/InputNumber.razor

13 lines
519 B
C#
Raw Normal View History

@namespace AntDesign
2020-03-26 10:45:35 +08:00
@inherits AntInputComponentBase<double>
<div class="@ClassMapper.Class" style="@Style" id="@Id">
2020-03-26 10:45:35 +08:00
<div class="ant-input-number-handler-wrap">
<Icon class="@GetIconClass("up")" Type="up" OnClick="Increase" />
<Icon class="@GetIconClass("down")" Type="down" OnClick="Decrease" />
2020-03-26 10:45:35 +08:00
</div>
<div class="ant-input-number-input-wrap">
<Input class="ant-input-number-input" @bind-Value="@CurrentValueAsString" Type="number" OnInput="(e)=>OnInput(e)" />
2020-03-26 10:45:35 +08:00
</div>
</div>