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/Scroll/ScrollOptions.cs

23 lines
632 B

using Microsoft.AspNetCore.Components;
namespace Connected.Services.Scroll
{
public class ScrollOptions
{
/// <summary>
///the element to be tracked;
/// </summary>
public ElementReference Element { get; set; }
/// <summary>
///the amount of milliseconds that the event is throttled
/// </summary>
public int ReportRate { get; set; } = 300;
/// <summary>
/// Suppress the first OnScroll that is invoked when a new event handler is added.
/// </summary>
public bool SuppressInitEvent { get; set; }
}
}