mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
3492d546e3
* refactor: tag demo * refactor: card demo * fix: dynamic tag Co-authored-by: ElderJames <shunjiey@hotmail.com>
14 lines
511 B
C#
14 lines
511 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="Ref"
|
|
@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>
|
|
}
|