Skip to content

Commit ed59ec4

Browse files
authored
Revert "Correct comparison to @Bind:set (#35973)" (#35977)
This reverts commit a8ca27d.
1 parent a8ca27d commit ed59ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/blazor/components/data-binding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Components support two-way data binding by defining a pair of `@bind` attributes
228228

229229
The `:get` and `:set` modifiers are always used together.
230230

231-
With `:get`/`:set` binding, you can react to a value change before it's applied to the DOM, and you can change the applied value, if necessary. Whereas with `@on{DOM EVENT}="{DELEGATE}"`, where the `{DOM EVENT}` placeholder is a DOM event and the `{DELEGATE}` placeholder is the delegate, you receive the notification after the DOM is updated, and there's no way to modify the applied value while binding.
231+
With `:get`/`:set` binding, you can react to a value change before it's applied to the DOM, and you can change the applied value, if necessary. Whereas with `@bind:event="{EVENT}"` attribute binding, where the `{EVENT}` placeholder is a DOM event, you receive the notification after the DOM is updated, and there's no capacity to modify the applied value while binding.
232232

233233
`BindGetSet.razor`:
234234

0 commit comments

Comments
 (0)