karax icon indicating copy to clipboard operation
karax copied to clipboard

Karax. Single page applications for Nim.

Results 35 karax issues
Sort by recently updated
recently updated
newest added

It's very easy to call kajax every render and accidentally DoS the server.

enhancement
question

This case should be handled, see here https://stackoverflow.com/questions/36416389/why-does-my-xmlhttprequest-have-readystate-4-but-status-0

enhancement

I'm trying to generate some svg and I'm seeing a small difference if I render it in a javascript app versus rendering it on the server. ```nim proc mkCircle*(radius: int,...

bug

D20190929T173159 reduced example: ```nim import karax / [kbase, vdom, kdom, karax, karaxdsl] import js/jsffi var elem = document.createTextNode("hello world") proc foo(): VNode = result = buildHtml(tdiv): dthunk(elem) proc createDom(): VNode...

enhancement

Hello! I'm trying to create a component that wraps xterm.js. To initialize the terminal I need to call a few JS functions after a div has been attached to the...

question

Undocumented, seems like it functions exactly like any of the buildHtml overloads and searching github reveals none is using it. Or, if it's really useful, it should be documented.

enhancement

example: ```nim import std / dom window.onLoad = proc (e: Event) = let svgdiv = document.getElementById("svg1") for k in 1 .. 2: let svg = buildHtml svg(width = "100", height...

To test this, do the following: 1) Install tup from http://gittup.org/tup/ 2) Build a local copy of Nim from the js-hot-reloading branch 3) Navigate to the todoapp directory 4) Execute...

This would be a useful feature for my current project. Seems like a lot of changes would be required to support it though? For a start setRenderer would need to...

enhancement

refs https://forum.nim-lang.org/t/6939#43464