Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdata committed Nov 21, 2024
1 parent 8e5473d commit b819445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (bind Binding[T]) JawsSetTime(elem *Element, value time.Time) error {
// It implements Setter[T]. It also implements BoolSetter, FloatSetter, StringSetter and TimeSetter, but will panic
// if the underlying type T is not correct or not settable.
// It has special support for fmt.Stringer, and will call T.String() for JawsGetString().
// The pointer will be used as the UI tag.
// The pointer (or fmt.Stringer if applicable) will be used as the UI tag.
func Bind[T comparable](l sync.Locker, p *T) Binding[T] {
return Binding[T]{L: l, P: p}
}

0 comments on commit b819445

Please sign in to comment.