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