File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed
src/BootstrapBlazor.Server Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 99 <FlipClock ></FlipClock >
1010</DemoBlock >
1111
12+ <DemoBlock Title =" @Localizer[" ShowMonthText " ]" Introduction =" @Localizer[" ShowMonthIntro " ]" Name =" ShowDay" >
13+ <FlipClock ShowMonth =" true" ShowDay =" true" ></FlipClock >
14+ </DemoBlock >
15+
1216<DemoBlock Title =" @Localizer[" ShowDayText " ]" Introduction =" @Localizer[" ShowDayIntro " ]" Name =" ShowDay" >
1317 <FlipClock ShowDay =" true" ></FlipClock >
1418</DemoBlock >
Original file line number Diff line number Diff line change @@ -50,6 +50,14 @@ private Task OnCompletedAsync()
5050 /// <returns></returns>
5151 private AttributeItem [ ] GetAttributes ( ) =>
5252 [
53+ new ( )
54+ {
55+ Name = nameof ( FlipClock . ShowMonth ) ,
56+ Description = Localizer [ "ShowMonth_Description" ] ,
57+ Type = "boolean" ,
58+ ValueList = "true|false" ,
59+ DefaultValue = "false"
60+ } ,
5361 new ( )
5462 {
5563 Name = nameof ( FlipClock . ShowDay ) ,
Original file line number Diff line number Diff line change 68026802 "FlipClocksDescription": "Used for website timing or countdown",
68036803 "BaseUsageText": "Basic usage",
68046804 "BaseUsageIntro": "Synchronize display of current time",
6805+ "ShowMonthText": "Show Month",
6806+ "ShowMonthIntro": "Display month information by setting <code>ShowMonth=\"true\"</code>",
68056807 "ShowDayText": "Show Day",
68066808 "ShowDayIntro": "Display day information by setting <code>ShowDay=\"true\"</code>",
68076809 "ShowMinuteText": "not display hours and minutes",
Original file line number Diff line number Diff line change 68046804 "BaseUsageIntro": "同步显示当前时间",
68056805 "ShowDayText": "显示日",
68066806 "ShowDayIntro": "通过设置 <code>ShowDay=\"true\"</code> 显示日信息",
6807+ "ShowMonthText": "显示月",
6808+ "ShowMonthIntro": "通过设置 <code>ShowMonth=\"true\"</code> 显示月信息",
68076809 "ShowMinuteText": "不显示时、分",
68086810 "ShowMinuteIntro": "通过设置 <code>ShowHour=\"false\"</code> <code>ShowMinute=\"false\"</code> 不显示小时、分钟信息",
68096811 "ShowSecondText": "不显示秒",
You can’t perform that action at this time.
0 commit comments