@@ -22,17 +22,17 @@ public static class FocusEventDispatchExtensions
2222 /// event arguments to the event handler.
2323 /// </summary>
2424 /// <param name="element">The element to raise the event on.</param>
25- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
25+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
2626 public static void Focus ( this IElement element , FocusEventArgs eventArgs ) => _ = FocusAsync ( element , eventArgs ) ;
2727
2828 /// <summary>
2929 /// Raises the <c>@onfocus</c> event on <paramref name="element"/>, passing the provided
3030 /// event arguments to the event handler.
3131 /// </summary>
3232 /// <param name="element">The element to raise the event on.</param>
33- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
33+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
3434 /// <returns>A task that completes when the event handler is done.</returns>
35- public static Task FocusAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onfocus" , eventArgs ) ;
35+ private static Task FocusAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onfocus" , eventArgs ) ;
3636
3737 /// <summary>
3838 /// Raises the <c>@onblur</c> event on <paramref name="element"/>, passing the provided
@@ -47,17 +47,17 @@ public static class FocusEventDispatchExtensions
4747 /// event arguments to the event handler.
4848 /// </summary>
4949 /// <param name="element">The element to raise the event on.</param>
50- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
50+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
5151 public static void Blur ( this IElement element , FocusEventArgs eventArgs ) => _ = BlurAsync ( element , eventArgs ) ;
5252
5353 /// <summary>
5454 /// Raises the <c>@onblur</c> event on <paramref name="element"/>, passing the provided
5555 /// event arguments to the event handler.
5656 /// </summary>
5757 /// <param name="element">The element to raise the event on.</param>
58- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
58+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
5959 /// <returns>A task that completes when the event handler is done.</returns>
60- public static Task BlurAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onblur" , eventArgs ) ;
60+ private static Task BlurAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onblur" , eventArgs ) ;
6161
6262 /// <summary>
6363 /// Raises the <c>@onfocusin</c> event on <paramref name="element"/>, passing the provided
@@ -72,17 +72,17 @@ public static class FocusEventDispatchExtensions
7272 /// event arguments to the event handler.
7373 /// </summary>
7474 /// <param name="element">The element to raise the event on.</param>
75- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
75+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
7676 public static void FocusIn ( this IElement element , FocusEventArgs eventArgs ) => _ = FocusInAsync ( element , eventArgs ) ;
7777
7878 /// <summary>
7979 /// Raises the <c>@onfocusin</c> event on <paramref name="element"/>, passing the provided
8080 /// event arguments to the event handler.
8181 /// </summary>
8282 /// <param name="element">The element to raise the event on.</param>
83- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
83+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
8484 /// <returns>A task that completes when the event handler is done.</returns>
85- public static Task FocusInAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onfocusin" , eventArgs ) ;
85+ private static Task FocusInAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onfocusin" , eventArgs ) ;
8686
8787 /// <summary>
8888 /// Raises the <c>@onfocusout</c> event on <paramref name="element"/>, passing the provided
@@ -97,16 +97,16 @@ public static class FocusEventDispatchExtensions
9797 /// event arguments to the event handler.
9898 /// </summary>
9999 /// <param name="element">The element to raise the event on.</param>
100- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
100+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
101101 public static void FocusOut ( this IElement element , FocusEventArgs eventArgs ) => _ = FocusOutAsync ( element , eventArgs ) ;
102102
103103 /// <summary>
104104 /// Raises the <c>@onfocusout</c> event on <paramref name="element"/>, passing the provided
105105 /// event arguments to the event handler.
106106 /// </summary>
107107 /// <param name="element">The element to raise the event on.</param>
108- /// <param name="eventArgs">The event arguments to passs the event handler.</param>
108+ /// <param name="eventArgs">The event arguments to pass the event handler.</param>
109109 /// <returns>A task that completes when the event handler is done.</returns>
110- public static Task FocusOutAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onfocusout" , eventArgs ) ;
110+ private static Task FocusOutAsync ( this IElement element , FocusEventArgs eventArgs ) => element . TriggerEventAsync ( "onfocusout" , eventArgs ) ;
111111 }
112112}
0 commit comments