ant-design-blazor/components/input/TextArea.razor
Henry.zhang 3492d546e3 refactor: add tag and card demo (#173)
* refactor: tag demo

* refactor: card demo

* fix: dynamic tag

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-02 13:26:27 +08:00

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>
}