Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for accessing HTML template's holes dynamically #201
As per WebSharper 3 documentation examples one could access holes dynamically by passing the hole name as a string:
I cannot seem to find a way to do this with the new type provider. Currently I face a scenario, as described in my stackoverflow post, where I need to populate a content hole without knowing its name at compile time. Unless I am missing something, I feel the current implementation does not cover my case.
Would it be possible to add the ability to access holes dynamically even from type-provider-managed template instances?
changed the title from
Support for accessing holes dynamically
Support for accessing HTML template's holes dynamically
Oct 27, 2018
Yes, this makes sense and should be useful.
I have a preliminary implementation of