mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-03 12:37:40 +08:00
9c69ef4061
* feat(module: mentions): Add ability to customize the rendering of the textarea. This allows using the TextArea component if you want its extended functionality. Add tests. Update demos. * fix test * fix test --------- Co-authored-by: James Yeung <shunjiey@hotmail.com>
16 lines
435 B
C#
16 lines
435 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components;
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public class MentionsTextareaTemplateOptions
|
|
{
|
|
public string Value { get; set; }
|
|
public ForwardRef RefBack { get; set; }
|
|
public Action<KeyboardEventArgs> OnKeyDown { get; set; }
|
|
public Func<ChangeEventArgs, Task> OnInput { get; set; }
|
|
}
|
|
}
|