enfocus
enfocus copied to clipboard
DOM manipulation and templating library for ClojureScript inspired by Enlive.
Trying to `$ lein cljsbuild auto` with `[enfocus "2.1.1"]` but getting this ``` $ lein cljsbuild auto Watching for changes before compiling ClojureScript... Compiling ["resources/public/main.js"] from ["src-cljs"]... WARNING: uri? already...
`enfocus.macros` appears to have a malformed `:import` in its `ns` form. This results in an error when it is required from versions of Clojure that enforce the `ns` macro's spec....
I used hiccup to generate a checkbox. I want to check it and/or disable it under certain conditions. The HTML should emit with the word checked or disabled but is...
`get-text` using Google Closure kills newlines. With newline-sensitive text and markup like Textile, this is a problem. Using `.-textContent` instead fixes this problem.
Hi, I am not sure whether this is supposed to be supported or not: ``` clojure (defn set-application [] (let [content (ef/html [:div [:h1 "Testing"] [:button {:onclick #(.log js/console "TESTING")}...
Hi @ckirkendall , I am sorry to ask this low level question. I googling couple of hours, get no answer .I am not sure is there a mechanism to transform...
I'm trying to figure out how to write something where I can use a hidden html tag in my dom as a template, copy the node, manipulate it and then...
We discussed this here: https://groups.google.com/forum/#!msg/enfocus/rZTL-GOrZtM/upolupLhF9QJ I suspect you would want to add a `callback` key in the options map for the `bind-form` function. But do you want to add an...
I have only tested read-form on the type "number", "tel" and "email" in html5: http://dev.w3.org/html5/markup/input.html "tel" and "email" failed but I guess that my browser identifies type="number" as text (at...
I'm working with the [data attributes](http://www.w3.org/html/wg/drafts/html/master/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes) in HTML and found something which I think is a bug. When getting a property which isn't `:value` I get `undefined`. Even though I...