You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this idea which might make it possible to be more flexible about actually rendering the result of properties to DOM
Instead of dumping everything in Shadow DOM of roadshow-view, the render function could return an array of individual property results (maybe only no top level?)
This could make is possible to select where they are rendered. By default would remain to put them in the shadow DOM but could also open for customisation where a result annotated with a CSS selector would go to a matching element in the Light DOM. Alternatively, it might actually create such elements but it's going to be tricky in lit to handle updates
For example, a schema:WebPage and its shape could look like
I have this idea which might make it possible to be more flexible about actually rendering the result of properties to DOM
Instead of dumping everything in Shadow DOM of
roadshow-view
, the render function could return an array of individual property results (maybe only no top level?)This could make is possible to select where they are rendered. By default would remain to put them in the shadow DOM but could also open for customisation where a result annotated with a CSS selector would go to a matching element in the Light DOM. Alternatively, it might actually create such elements but it's going to be tricky in lit to handle updates
For example, a
schema:WebPage
and its shape could look likeThen, given the view like below, the results of SHACL properties would be rendered in the slotted elements (would need a slot inside the shadow)
The text was updated successfully, but these errors were encountered: