Basic library functions extension with Wolfram Language and Javascript
As an example we add here ApexCharts to Wolfram Kernel
It cover the basics of
- lazy JS modules loading
- writting a basic WLJS function in Javascript with local memory
- making output forms for normal cells and slides (or WLX)
- executing Wolfram Language on browser's side
- Clone this repository to
<Documents>/Extensions - Make sure that the folder name matches
wljs-plugin-example-1 - Restart WLJS App
Run in a new notebook
ApexCharts[<|
"series" -> {44, 55, 67, 83},
"chart" -> <|
"height" -> 350,
"type" -> "radialBar"
|>,
"labels" -> {"Apples", "Oranges", "Bananas", "Berries"}
|>]