File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/BootstrapBlazor/Components/IFrame Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 66namespace BootstrapBlazor . Components ;
77
88/// <summary>
9- /// Frame 组件封装 Html iframe 元素
9+ /// Frame component encapsulates the Html iframe element
1010/// </summary>
1111public partial class IFrame
1212{
1313 /// <summary>
14- /// 获得/设置 Frame 加载网页路径
14+ /// Gets or sets the URL of the webpage to be loaded in the Frame
1515 /// </summary>
1616 [ Parameter ]
1717 public string ? Src { get ; set ; }
1818
1919 /// <summary>
20- /// 获得/设置 需要传递的数据
20+ /// Gets or sets the data to be passed
2121 /// </summary>
2222 [ Parameter ]
2323 public object ? Data { get ; set ; }
2424
2525 /// <summary>
26- /// 获得/设置 Frame 加载页面传递过来的数据
26+ /// Gets or sets Frame loads the data passed by the page
2727 /// </summary>
2828 [ Parameter ]
2929 public Func < object ? , Task > ? OnPostDataAsync { get ; set ; }
3030
3131 /// <summary>
32- /// 获得/设置 页面加载完毕后回调方法
32+ /// Gets or sets Callback method after the page is loaded.
3333 /// </summary>
3434 [ Parameter ]
3535 public Func < Task > ? OnReadyAsync { get ; set ; }
@@ -77,14 +77,14 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
7777 } ) ;
7878
7979 /// <summary>
80- /// 推送数据方法
80+ /// Method to push data
8181 /// </summary>
8282 /// <param name="data"></param>
8383 /// <returns></returns>
8484 public Task PushData ( object ? data ) => InvokeVoidAsync ( "execute" , Id , data ) ;
8585
8686 /// <summary>
87- /// 由 JavaScript 调用
87+ /// Called by JavaScript
8888 /// </summary>
8989 /// <param name="data"></param>
9090 /// <returns></returns>
@@ -98,7 +98,7 @@ public async Task TriggerPostData(object? data)
9898 }
9999
100100 /// <summary>
101- /// 由 JavaScript 调用
101+ /// Called by JavaScript
102102 /// </summary>
103103 /// <returns></returns>
104104 [ JSInvokable ]
You can’t perform that action at this time.
0 commit comments