Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

blazor navlink change bg of current component

//ActiveClass compere if the component you are in 
//right now its the same and add the css class

<NavLink href="COMPONENT" ActiveClass="bg-white">
  <span>Dashboard</span>
</NavLink>
 
PREVIOUS NEXT
Tagged: #blazor #navlink #change #bg #current #component
ADD COMMENT
Topic
Name
2+3 =