You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Services/JsEvent/JsEventOptions.cs

29 lines
862 B

2 years ago
// Copyright (c) MudBlazor 2021
// MudBlazor licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Connected.Services
{
public class JsEventOptions
{
/// <summary>
/// Class of the target node which should be observed for keyboard events
///
/// Note: this must be a single class
/// </summary>
public string TargetClass { get; set; }
/// <summary>
/// The tag name of the element to register events with. Must be all uppercase, like "INPUT"
/// </summary>
public string TagName { get; set; }
/// <summary>
/// Report resize events in the browser's console.
/// </summary>
public bool EnableLogging { get; set; } = false;
}
}