blazorjs

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i blazorjs

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.87 kB

Total Files

11

Last publish

Collaborators

  • fabboy