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
first of all thank you for providing this package ,
i have a asp.net core razor pages app and writing so many js code , now if i want to import them to blazor ssr with this way , need to go every js and wrapp them up inside of export function onLoad() {} , there is a way to tell auto loading the js file on some event like onLoad() ?
on mean somthing like
and no need to write the export function onload anymore and this js file just run on load
The text was updated successfully, but these errors were encountered:
AmBplus
changed the title
auto load preview js on load event
auto load our old js on load event
Aug 6, 2024
If all you want to do is load a script dynamically, you don't need to wrap it in another script that defines an onLoad() handler. You can just reference the script directly from the <PageScript> component. The onLoad, onUpdate, and onDispose callbacks are optional, and only exist to implement functionality that responds to navigation events.
TNX , in asp.net core mvc or razor pages , we have asp-apend-version = true , so i don't need to change the file by myself , in this package we have something similar ?
first of all thank you for providing this package ,
i have a asp.net core razor pages app and writing so many js code , now if i want to import them to blazor ssr with this way , need to go every js and wrapp them up inside of export function onLoad() {} , there is a way to tell auto loading the js file on some event like onLoad() ?
on mean somthing like
and no need to write the export function onload anymore and this js file just run on load
The text was updated successfully, but these errors were encountered: