Info
Version: | 1.0.0 |
Author(s): | CountryTagHelper |
Last Update: | Sunday, August 27, 2017 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://countrytaghelper.apphb.com/ |
NuGet Url: | https://www.nuget.org/packages/CountryTagHelper |
Install
Install-Package CountryTagHelper
dotnet add package CountryTagHelper
paket add CountryTagHelper
CountryTagHelper Download (Unzip the "nupkg" after downloading)
Dependencies
- microsoft.aspnetcore(>= 2.0.0)
- Microsoft.AspNetCore.Mvc.ViewFeatures(>= 2.0.0)
- Microsoft.AspNetCore.Mvc(>= 2.0.0)
Demo at http://countrytaghelper.apphb.com/ . Source code at https://github.com/ignatandrei/CountryTagHelper
Usage:
In the ViewImports, put @addTagHelper *, CountryTagHelper
In the view:
<select asp-country="true" asp-country-empty="true"></select><select asp-country="true" asp-country-selected="US" asp-country-empty="true"></select><select asp-country="true" asp-country-fromIP="true"></select>.