File: Web\FocusEventArgs.cs
Web Access
Project: src\src\Components\Web\src\Microsoft.AspNetCore.Components.Web.csproj (Microsoft.AspNetCore.Components.Web)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Components.Web;
 
/// <summary>
/// Supplies information about a focus event that is being raised.
/// </summary>
public class FocusEventArgs : EventArgs
{
    // Not including support for 'relatedTarget' since we don't have a good way to represent it.
    // see: https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent
 
    /// <summary>
    /// Gets or sets the type of the event.
    /// </summary>
    public string? Type { get; set; }
}