File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/BootstrapBlazor/Components/IntersectionObserver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public partial class LoadMore
1515 /// <summary>
1616 /// 获得/设置 触底回调方法 <see cref="CanLoading"/> 为 true 时才触发此回调方法
1717 /// </summary>
18- [ Parameter ] public Func < Task > ? OnLoadMore { get ; set ; }
18+ [ Parameter ] public Func < Task > ? OnLoadMoreAsync { get ; set ; }
1919
2020 /// <summary>
2121 /// 获得/设置 是否可以加载更多数据 默认为 true
@@ -56,9 +56,9 @@ protected override void OnParametersSet()
5656
5757 private async Task OnIntersecting ( IntersectionObserverEntry entry )
5858 {
59- if ( entry . IsIntersecting && CanLoading && OnLoadMore != null )
59+ if ( entry . IsIntersecting && CanLoading && OnLoadMoreAsync != null )
6060 {
61- await OnLoadMore ( ) ;
61+ await OnLoadMoreAsync ( ) ;
6262 }
6363 }
6464}
You can’t perform that action at this time.
0 commit comments