membrane
membrane copied to clipboard
A Simple UI Library That Runs Anywhere
Defui should support something like ```clojure (defui dynamic-component [{:keys [my-component props]}] ;; support fully dynamic (defui-call (my-component props)) (defui-call ;; allow keys to be provided for efficiency. ;; not sure...
There are various caches (eg. `membrane.ui/bounds`, defui components, image cache, font cache, etc.). There are number of ways to improve caches: - allow users to specify cache behavior - provide...
Parse path will update the "path" for a binding using something like the following: ``` (clojure.core/nth nth) [(second form) `(list (quote ~'nth) ~(nth form 2))] ``` This generally works, but...
Logically, scrollview offsets the origin of all its children. This offset is applied explicitly for each of its event handlers. However, if a new event was created, it would have...
The docs seem to indicate that the `mods` passed by `ui/mouse-event` use the same masks for all backends: https://github.com/phronmophobic/membrane/blob/master/docs/tutorial.md#mouse-event. We should double check.
With pod
Not a membrane issue per se but it cost me way too much of my life when trying to follow the "Membrane with WebGL target" doc: putting the script tag...
My `ns`: ```clojure (ns jim.littlereader ;; typical requires (:require-macros [membrane.webgl-macros :refer [add-image!]]) (:require [cljs-http.client :as http] [cljs.core.async :refer [
It's common to have container elements like scrollviews that visualize a subset of a collection of data. Currently, scissors views still do most of work needed for layout and events...