File tree Expand file tree Collapse file tree 8 files changed +35
-18
lines changed
src/BootstrapBlazor.Server/Components/Samples/Icons Expand file tree Collapse file tree 8 files changed +35
-18
lines changed Original file line number Diff line number Diff line change 11@page " /ant-design-icon"
22@inject IStringLocalizer <AntDesignIcons > Localizer
3+ @inherits BootstrapIcon
34
45<h3 >@Localizer ["AntDesignIconTitle"]</h3 >
56
2223<div >@( (MarkupString )Localizer [" Icons" ].Value ) </div >
2324
2425<p class =" code-label mt-3" >Outlined</p >
25- <div class =" icon-list" >
26- <AntDesignIconListOutlined ></AntDesignIconListOutlined >
27- </div >
28-
29- <p class =" code-label mt-3" >Filled</p >
30- <div class =" icon-list" >
31- <AntDesignIconListFilled ></AntDesignIconListFilled >
32- </div >
33-
34- <p class =" code-label mt-3" >TwoTone</p >
35- <div class =" icon-list" >
36- <AntDesignIconListTwoTone ></AntDesignIconListTwoTone >
26+ <div id =" @Id" class =" list" >
27+ <div class =" icon-list" >
28+ <AntDesignIconListOutlined ></AntDesignIconListOutlined >
29+ </div >
30+
31+ <p class =" code-label mt-3" >Filled</p >
32+ <div class =" icon-list" >
33+ <AntDesignIconListFilled ></AntDesignIconListFilled >
34+ </div >
35+
36+ <p class =" code-label mt-3" >TwoTone</p >
37+ <div class =" icon-list" >
38+ <AntDesignIconListTwoTone ></AntDesignIconListTwoTone >
39+ </div >
3740</div >
Original file line number Diff line number Diff line change 1+ @inherits WebSiteModuleComponentBase
Original file line number Diff line number Diff line change 66namespace BootstrapBlazor . Server . Components . Samples . Icons ;
77
88/// <summary>
9- /// OctIcons 图标示例
9+ /// Icon component base class
1010/// </summary>
11- public partial class UniverIcons
11+ [ JSModuleAutoLoader ( "Samples/Icons/BootstrapIcon.razor.js" ) ]
12+ public partial class BootstrapIcon
1213{
1314
1415}
Original file line number Diff line number Diff line change 1+ export function init ( id ) {
2+ const list = document . getElementById ( id ) ;
3+ console . log ( list ) ;
4+ }
5+
6+ export function dispose ( id ) {
7+
8+ }
Original file line number Diff line number Diff line change 11@page " /element-icon"
22@inject IStringLocalizer <ElementIcons > Localizer
3+ @inherits BootstrapIcon
34
45<h3 >@Localizer ["ElementIconTitle"]</h3 >
56
2122
2223<div >@( (MarkupString )Localizer [" Icons" ].Value ) </div >
2324
24- <div class =" icon-list" >
25+ <div id = " @Id " class =" icon-list" >
2526 <ElementIconList ></ElementIconList >
2627</div >
Original file line number Diff line number Diff line change 11@page " /icon-park"
22@inject IStringLocalizer <IconParks > Localizer
3+ @inherits BootstrapIcon
34
45<h3 >@Localizer ["IconParkTitle"]</h3 >
56
2122
2223<div >@( (MarkupString )Localizer [" Icons" ].Value ) </div >
2324
24- <div class =" icon-list" >
25+ <div id = " @Id " class =" icon-list" >
2526 <IconParkList ></IconParkList >
2627</div >
Original file line number Diff line number Diff line change 11@page " /oct-icon"
22@inject IStringLocalizer <OctIcons > Localizer
3+ @inherits BootstrapIcon
34
45<h3 >@Localizer ["OctIconTitle"]</h3 >
56
2122
2223<div >@( (MarkupString )Localizer [" Icons" ].Value ) </div >
2324
24- <div class =" icon-list" >
25+ <div id = " @Id " class =" icon-list" >
2526 <OcticonIconList ></OcticonIconList >
2627</div >
Original file line number Diff line number Diff line change 11@page " /univer-icon"
22@inject IStringLocalizer <UniverIcons > Localizer
3+ @inherits BootstrapIcon
34
45<h3 >@Localizer ["UniverIconTitle"]</h3 >
56
2122
2223<div >@( (MarkupString )Localizer [" Icons" ].Value ) </div >
2324
24- <div class =" icon-list" >
25+ <div id = " @Id " class =" icon-list" >
2526 <UniverIconList ></UniverIconList >
2627</div >
You can’t perform that action at this time.
0 commit comments