You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1 How to highlight the selected SidebarLink in Sidebar, such as using Color.Primary
2 The ElementId attribute is not very useful for nested encapsulated components. Should it be able to mark the "id" of the outermost http element when it shows that it can be set. For example, run the ElementId="XXX" setting of SidebarLink, and it turns out that the “a” tag in the generated http code does not have the "id" attribute. Looking at the code, it is found that SidebarLink actually encapsulates a Link, but the ElementId is not passed to the Link component
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
1 How to highlight the selected SidebarLink in Sidebar, such as using Color.Primary
2 The ElementId attribute is not very useful for nested encapsulated components. Should it be able to mark the "id" of the outermost http element when it shows that it can be set. For example, run the ElementId="XXX" setting of SidebarLink, and it turns out that the “a” tag in the generated http code does not have the "id" attribute. Looking at the code, it is found that SidebarLink actually encapsulates a Link, but the ElementId is not passed to the Link component
Beta Was this translation helpful? Give feedback.
All reactions