Skip to content

Commit 4408f0a

Browse files
committed
Fix #3249 indices->args
1 parent fb1221b commit 4408f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Demo/Shared/Pages/SortableList/SortableListPage.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</blockquote>
3838

3939
<p>Here is an example of how to reorder your list when the OnUpdate is fired...</p>
40-
<CodeSnippet>private void SortList(FluentSortableListEventArgs indices)
40+
<CodeSnippet>private void SortList(FluentSortableListEventArgs args)
4141
{
4242
if (args is null || args.OldIndex == args.NewIndex)
4343
{
@@ -97,7 +97,7 @@
9797

9898
<DemoSection Component="typeof(SortableListFiltering)" Title="Filtering">
9999
<Description>
100-
In the lists below, you cannot drag the item in the accented color. This is because these items are filtered out with an <code>ItemFilter</code> parameter (of type <code>Func&lt;TItem, bool&gt;</code>).
100+
In the lists below, you cannot drag the item in the accented color. This is because these items are filtered out with an <code>ItemFilter</code> parameter (of type <code>Func&lt;TItem, bool&gt;</code>).
101101
The <code>ItemFilter</code> parameter is a function that takes an item and returns a boolean value. If the function returns true, the item is excluded from dragging in the list. If the function returns false, the item can be dragged.
102102
In the left list below, the <code>ItemFilter</code> parameter is set to filter out a random item from the list. In the right list, the <code>ItemFilter</code> parameter is set to filter out items with an Id larger than 6.
103103
See the Razor tab for how the different functions are being specified.

0 commit comments

Comments
 (0)