jsakamoto / Toolbelt.Blazor.HeadElement

Head element support (change the document title, "meta" elements such as OGP, and "link" elements) for Blazor apps.
https://demo-blazor-headelement.azurewebsites.net/
Mozilla Public License 2.0
158 stars 11 forks source link

as-attribute on link-elements #12

Closed CobraCalle closed 3 years ago

CobraCalle commented 3 years ago

Hello,

I would like to create different preloadings based on the active page. But I cannot set the as-attibute on a LinkElement... would it be possible to extend this?

Thank you very much

jsakamoto commented 3 years ago

Thank you for the nice feature proposal!

I published a new version of "Blazor Head Element" packages those support "as" attribute of the "link" element.

Could you try it out? Thanks!

CobraCalle commented 3 years ago

Works like a charm... perfect. Thank you very much