I'm doing a picture element taghelper, where I wan...
# hacktoberfest
s
I'm doing a picture element taghelper, where I want it to support using a custom view. I created a ViewPath property, and then injected IHtmlHelper in. If the viewpath is null or whitespace, it will just output html from the taghelper, else it will render the partial view using the html helper. Haven't tested it at all yet, got caught up with other issues 🙂