1.0.1 • Published 2 years ago

blazorjs v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

  1. Setup
const blazor = Blazor("index.html")

2.Loading main page

blazor.loadMain();
  1. Page loading
blazor.open("<your file name>");
  1. 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
1.0.1

2 years ago

1.0.0

2 years ago