Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Tag Helpers #132

Open
ChayimFriedman2 opened this issue Dec 22, 2019 · 0 comments
Open

Add Support for Tag Helpers #132

ChayimFriedman2 opened this issue Dec 22, 2019 · 0 comments

Comments

@ChayimFriedman2
Copy link

ASP.NET Core added support for Tag Helpers, a nice feature permits you to write use html helpers without actually using them.

For example, vash with tag helpers can replace the following code:

@{
  var s = '<img />';
}
@html.raw(s)

With the following:

@{
  var s = '<img />';
}
<vash-raw>s</vash-raw>

This opens the door to many cool possibilites. And the ability to define custom tag helpers is awesome. If vash will support the same thing, that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant