Our-Umbraco-TagHelpers
Our-Umbraco-TagHelpers copied to clipboard
Idea: our-text-if
Rather than have:
<h1 our-if="@string.IsNullOrEmpty(Model.Heading) == false">
@Model.Heading
</h1>
you can just have
<h1 our-if-text="@Model.Heading" />
Happy to supply a PR if approved.
Thank for producing this library!
Seems a good idea to me @drpeck If you want to do a PR with it as well, even better 😄