c# - Handlebars.Net, detecting whether a tag is used within an #each - Stack Overflow

I have a use case where I need to restrict a specific tag to be used within an #each only, and never ou

I have a use case where I need to restrict a specific tag to be used within an #each only, and never outside. Is there a way I can do this back-end without creating a custom handler?

I have googled this, but I've not really come up with anything other than a custom handler, and our company would prefer we avoid using this if possible. I think for user familiarity reasons.

It might be more achievable on the front end, I don't know, but any guidance would be appreciated.

Thanks

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745617054a4636298.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信