Trey Boudreau
Trey Boudreau
I looked into using `_render_dom()` initially, but I didn't find a way to trigger rebuilding the DOM in response to scrolling. After some digging, I *think* I can call `Widget.__render()`...
It seems I can't call `self.__render()` because PScript mangles the name during translation in `with_prefix()`: >[E 11:52:40 flexx.app] JS: TypeError: this._VirtualListWidget__render is not a function At the moment, I don't...
Ah, I actually have to reference all properties I *might* use the first time Flexx calls `_render_dom()`! If the first call to `_render_dom()` does not reference `Widget.size` because of a...
As a mostly static-compilation guy, I hold the "Introspect All The Things" implementation of Flexx in a certain amount of awe (and a tiny amount of horror ;-) Thus I...
By experiment, neither `hx-on:load` nor `hx-on::after-settle` nor `hx-on::after-process-node` works if the element comes into existence by swapping in to an existing document. Using _hyperscript works.
> Would this work? > > ```html > hx-trigger=load > hx-on::trigger="console.log('loaded')" > > > > ``` That does not work for me either.
Tangentially related: I whacked together a Dockerfile for Ubuntu that builds the module against the distro's version: ```Dockerfile # syntax=docker/dockerfile:1 ARG UBUNTU_VERSION="24.04" FROM ubuntu:${UBUNTU_VERSION} SHELL ["/bin/bash", "-c"] RUN build_module.bash nginx...