ant-design-blazor/components/mentions/MentionsTextareaTemplateOptions.cs
Key Roche - WSS 9c69ef4061
feat(module: mentions): Add ability to customize the rendering (#3178)
* 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>
2023-04-08 14:23:20 +08:00

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