0.0.5 • Published 9 months ago

vorth v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago
  • this is a placeholder for client side router & renderer library made using virst Lifecycle;
  • until later stable release of vorth, the documentation will be minimal;

*) go to exported list

  • Vorth window object initialization
  • use this as the type definition
/**
* @type {register}
*/
const vorth = window['vorthJS'];
/**
* @typedef {Record<string, string>} Data
* @typedef {(registerOptions:registerOptions)=>void} register
* @typedef {Object} registerOptions
* @property {(attributeValue:string)=>string} options.pathRule
* @property {()=>Promise<void>} [options.onRouteChange]
* - modify fetch end point from `v-path`;
* @property {Record<string, ()=>Promise<void>>} [options.triggers]
* @property {Record<string, ()=>Promise<{template:string, Data:Data}>>} [options.callbacks]
*/
  • donwload "/build/index.mjs" and load it on your all of your *.html files;

*

*) go to exported list

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago