ant-design-blazor/components/input-number/InputNumber.razor
Henry.zhang f9b615c2ca feat: add more demos (#197)
...for affix,back-top,breadcrumb,card,divider,typogragpy and timeline

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-07 19:41:00 +08:00

13 lines
519 B
C#

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