using System; using System.Globalization; using System.Text.Json; using System.Threading.Tasks; using AntDesign.JsInterop; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; namespace AntDesign { public partial class TextArea : Input { private const uint DEFAULT_MIN_ROWS = 1; /// /// scrollHeight of 1 row /// private double _rowHeight; /// /// total height = row * + /// private double _offsetHeight; private uint _minRows = DEFAULT_MIN_ROWS; private uint _maxRows = uint.MaxValue; private bool _hasMinOrMaxSet; private DotNetObjectReference