ekafoo
ekafoo
SSolidJS
Created by Samual 🦢 on 4/3/2023 in #support
multiple sites
So different urls point on the same web instance? We are solving that with traefik nginx works as well
5 replies
SSolidJS
Created by musiclover on 2/11/2023 in #support
Accessing child element size from parent.
The parent and child div does not yet exists in your example, you try to access it before the render function is runned
4 replies
SSolidJS
Created by musiclover on 2/11/2023 in #support
Accessing child element size from parent.
const [target, setTarget] = createSignal<HTMLElement>(); const size = createElementSize(target); createEffect(() => { size.width; // => number | null size.height; // => number | null }); <div ref={setTarget} />;
4 replies
SSolidJS
Created by musiclover on 2/11/2023 in #support
Accessing child element size from parent.
Yes ref or signals instead! 😊
4 replies