https://discord.umbraco.com logo
#hacktoberfest
Title
# hacktoberfest
s

skttl

10/13/2021, 12:59 PM
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 🙂