A small record type used in the editor wiring system. It represents a binding that targets a DOM or component attribute, storing the attribute name, the binding mode, and the expression that provides the value.
namespace Grains.RazorDesigner.Wiring;
public sealed record AttributeBinding : Binding
{
public string Attribute { get; init; } = "";
public AttributeMode Mode { get; init; } = AttributeMode.Replace;
public Expression Expression { get; init; }
}