-
Hi, I have a client side logic / libraries I would like to execute on every page. it should be -
what do you think its the best strategy to do this with this library? another option is just simply to include <script> tag in the response. any ideas? what do you think? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm a big fan of the declarative approach of both Blazor and htmx, thus, I think the following would be neat:
|
Beta Was this translation helpful? Give feedback.
-
Here is an example how to do this: |
Beta Was this translation helpful? Give feedback.
Here is an example how to do this:
https://github.com/egil/Htmxor/blob/main/samples/HtmxorExamples/Components/Pages/Examples/OutOfBandOutlets/ToastOutlet.razor