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
{{ message }}
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
There should be the ability to disable a specific element instance (in a CSHTML file) from being processed as a Tag Helper. e.g. consider that the input tag is mapped to the InputTagHelper class but I want a specific input element instance to be client-side only:
@addtaghelper "InputTagHelper"
@addtaghelper "DivTagHelper"
<input /> @* This will be processed as a tag helper *@
<!input /> @* This will *not* be processed as a tag helper and the '!' will be removed from the output HTML *@
<!div> @* This will *not* be processed as a tag helper and the '!' will be removed from the output HTML *@
Hello there
</!div>
If a prefix is also declared for the page with the same value, an exception should be thrown at parse time to indicate that the combination is invalid, e.g.:
@addtaghelper "InputTagHelper", prefix: "!"
@* Explodes at parse time *@