Ejemplo n.º 1
0
        protected async Task ReCalcText(Microsoft.AspNetCore.Components.ChangeEventArgs args)
        {
            this.Text = (string)args.Value;

            if (this.Autorun)
            {
                await this.ReCalc();
            }
        }
Ejemplo n.º 2
0
 protected virtual async Task OnValueChanged(Microsoft.AspNetCore.Components.ChangeEventArgs e)
 {
     this.Value = e.Value.To <TValue>();
     await ValueChanged.InvokeAsync(this.Value);
 }