Class InputFieldWidgetBuilder
A recyclable widget builder for building input fields.
Implements
Inherited Members
Namespace: SociallyDistant.Core.UI.Recycling
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class InputFieldWidgetBuilder : IRecyclableWidgetBuilder
Properties
Callback
Gets or sets a callback to be executed when the input field is submitted.
Declaration
public Action<string>? Callback { get; set; }
Property Value
Type | Description |
---|---|
Action<string> |
Value
Gets or sets the current value of the input field.
Declaration
public string? Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Build()
Create a RecyclableWidgetController based on this widget builder's properties.
Declaration
public RecyclableWidgetController Build()
Returns
Type | Description |
---|---|
RecyclableWidgetController | A new instance of RecyclableWidgetController. |