BlazorJS
BlazorJS is a render framework that doesn't need to reload your page. It was build to be fast.
Installation
Install BlazorJS with npm:
npm i blazorjs
or use:
<script src="github.com/Fabbboy/BlazorJS/Blazor.js></script>
Usage
- Setup
const blazor = Blazor("index.html")
2.Loading main page
blazor.loadMain();
- Page loading
blazor.open("<your file name>");
- Using events Blazor has currently 1 event called "BlazorLoaded"
document.addEventListener("BlazorLoaded", function(event) {
console.log("Loaded file: " + event.detail.target);
})
Used By
This project is used by the following companies:
- Me lol