Skip to content

Commit

Permalink
Updated to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp committed Sep 2, 2023
1 parent 558777d commit 5453035
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Fabulous.Avalonia/Views/_InputElement.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace Fabulous.Avalonia
open System.Runtime.CompilerServices
open Avalonia.Collections
open Avalonia.Input
open Avalonia.Input.GestureRecognizers
open Avalonia.Input.TextInput
open Avalonia.Interactivity
open Fabulous
Expand Down Expand Up @@ -119,12 +118,6 @@ type InputElementModifiers =
/// <param name="this">Current widget.</param>
/// <param name="value">The IsTabStop value.</param>
[<Extension>]
static member inline tabIndex(this: WidgetBuilder<'msg, #IFabInputElement>, value: int) =
this.AddScalar(InputElement.TabIndex.WithValue(value))

[<Extension>]
static member inline onGotFocus(this: WidgetBuilder<'msg, #IFabInputElement>, onGotFocus: GotFocusEventArgs -> 'msg) =
this.AddScalar(InputElement.GotFocus.WithValue(fun args -> onGotFocus args |> box))
static member inline isTabStop(this: WidgetBuilder<'msg, #IFabInputElement>, value: bool) =
this.AddScalar(InputElement.IsTabStop.WithValue(value))

Expand Down

0 comments on commit 5453035

Please sign in to comment.