File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
src/BootstrapBlazor.Server Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1717<DemoBlock Title =" @Localizer[" IndicatorTitle " ]"
1818 Introduction =" @Localizer[" IndicatorIntro " ]"
1919 Name =" Indicator" >
20+ <section ignore >
21+ <ul class =" ul-demo" >
22+ <li >@Localizer ["IndicatorLi1"]</li >
23+ <li >@Localizer ["IndicatorLi2"]</li >
24+ <li >@Localizer ["IndicatorLi3"]</li >
25+ <li >@Localizer ["IndicatorLi4"]</li >
26+ </ul >
27+ </section >
2028 <NetworkMonitorIndicator ></NetworkMonitorIndicator >
2129</DemoBlock >
Original file line number Diff line number Diff line change 71267126 "NetworkMonitorDescription": "链路断开后自动重连示例",
71277127 "NormalTitle": "基本用法",
71287128 "NormalIntro": "通过设置 <code>IsAutoReconnect</code> 开启自动重连机制",
7129- "NormalDesc": "网络变化时,通过 <code>OnNetworkStateChanged</code> 回调获得当前网络状态信息"
7129+ "IndicatorTitle": "网络状态指示灯",
7130+ "IndicatorIntro": "使用组件 <code>NetworkMonitorIndicator</code> 当网络状态变化时,显示不同颜色的指示灯,鼠标移动到上面时显示网络状态明细",
7131+ "IndicatorLi1": "绿色:网络非常好 (4G)",
7132+ "IndicatorLi2": "黄色:网络一般 (3G)",
7133+ "IndicatorLi3": "红色:网络差 (2G)",
7134+ "IndicatorLi4": "灰色:离线状态"
71307135 }
71317136}
Original file line number Diff line number Diff line change 71257125 "NetworkMonitorTitle": "NetworkMonitor 网络状态",
71267126 "NetworkMonitorDescription": "使用浏览器原生 api <code>navigator.connection</code> 实时显示当前网络状态",
71277127 "NormalTitle": "基本用法",
7128- "NormalIntro": "网络变化时,通过 <code>OnNetworkStateChanged</code> 回调获得当前网络状态信息"
7128+ "NormalIntro": "网络变化时,通过 <code>OnNetworkStateChanged</code> 回调获得当前网络状态信息",
7129+ "IndicatorTitle": "网络状态指示灯",
7130+ "IndicatorIntro": "使用组件 <code>NetworkMonitorIndicator</code> 当网络状态变化时,显示不同颜色的指示灯,鼠标移动到上面时显示网络状态明细",
7131+ "IndicatorLi1": "绿色:网络非常好 (4G)",
7132+ "IndicatorLi2": "黄色:网络一般 (3G)",
7133+ "IndicatorLi3": "红色:网络差 (2G)",
7134+ "IndicatorLi4": "灰色:离线状态"
71297135 }
71307136}
You can’t perform that action at this time.
0 commit comments