Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

blazor auto reconnect

<script src="_framework/blazor.server.js"></script>

<script>
   Blazor.defaultReconnectionHandler._reconnectCallback = function(d) {
        document.location.reload(); 
   }
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #blazor #auto #reconnect
ADD COMMENT
Topic
Name
5+8 =