mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
14 lines
515 B
C#
14 lines
515 B
C#
@namespace AntDesign
|
|
@inherits Input
|
|
<!--TODO: minheight, maxheight, onResize-->
|
|
|
|
<textarea class="@ClassMapper.Class" style="@Style" @attributes="Attributes" id="@Id" placeholder="@Placeholder" @bind="Value"
|
|
@ref="InputEl"
|
|
@oninput="OnInputAsync"
|
|
@onkeypress="OnPressEnterAsync" />
|
|
|
|
@if (AutoSize)
|
|
{
|
|
<textarea class="@ClassMapper.Class" style="position:absolute;z-index:-1; visibility: hidden;height: 0px;overflow-y:hidden; @_hiddenWidth" @ref="_hiddenEle">@Value</textarea>
|
|
}
|