Info
Version: | 1.0.3 |
Author(s): | Chad Haney |
Last Update: | Tuesday, July 2, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/rchadhaney/TCT.Web.Helpers.Bootstrap.IsActive |
NuGet Url: | https://www.nuget.org/packages/TCT.Web.Helpers.Bootstrap.IsActive |
Install
Install-Package TCT.Web.Helpers.Bootstrap.IsActive
dotnet add package TCT.Web.Helpers.Bootstrap.IsActive
paket add TCT.Web.Helpers.Bootstrap.IsActive
TCT.Web.Helpers.Bootstrap.IsActive Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNet.Mvc(>= 4.0.20505)
Tags
It allows you to pass in the action/controller and set the active class of a list item in the menu.
Note: This can be used to inject any string content including html into a page based off of the action/controller that is currently active. Built for MVC 5 but should work with MVC 4 as well.