Tim,
There is a current effort underway by Luke Vanderhart to port enlive to
cljs. I know that he has a working version in his repo. He is working
towards getting the changes accepted into main enlive project.
https://github.com/levand
Creighton
On Tue, Nov 11, 2014 at 2:55 AM, Tim Galebach
w
Daniel,
I love the idea. I think something similar to kioo's compiler would allow
this to work for om, reagent. If I get a chance I will try and look at how
hard it would be to swap out enlive for erinite. I really like the pure
data style of the transforms. I have often wanted that with both e
;
> Thanks a lot!
>
>
> On Wednesday, August 13, 2014 6:15:02 PM UTC-7, Creighton Kirkendall wrote:
> > Li,
> > Can you give me a bit more description what you are trying to do. If
> you are looking to manipulate css and raw html in the browser, I would
> r
Li,
Can you give me a bit more description what you are trying to do. If you
are looking to manipulate css and raw html in the browser, I would
recommend looking at enfocus. Its a higher level abstraction than domina
and has pretty solid documentation. I contains tools for extracting and
transfor
Mark,
Yes, kioo now supports a transform called lifecycle that allows you attache
react lifecycle methods to any node. I am putting together a sample app to
demonstrate it over the next few days.
In the mean time below is a working example of controlling focus and changing
input sate with om
This release introduces optimized view bindings, two way form bindings.
Documentaion:
http://ckirkendall.github.io/enfocus-site/index.html
Github:
https://github.com/ckirkendall
Enfocus is a library for building rich interactive UI in ClojureScript.
Main Features include:
dom manipluation
A library for composing lenses and working with complex state objects. This
library is a paired down version lens code embeded in Christophe Grand's Eliven.
Github:
https://github.com/ckirkendall/fresnel
Eample Code:
http://ckirkendall.github.io/enfocus-site/#view-binding
--
Note that posts f
Paul,
I am not sure I understand what you are looking for. Maybe you could give some
examples what your thinking. Currently, Sablano and Kioo try to bridge the gap
between html and react/om. Sablano is the closest to jsx, in that it mixes the
presentation directly with the component definitio
Kioo was certainly created to address this exact issue. It compiles standard
HTML to om/react nodes and uses css style selectors to attach functionality
instead of embedding it into the HTML.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
Yo
I think the best way is to wrap this in a IShouldUpdate check. Where we check
the values against the previous values. We can do this pretty easily in this
case but can't use a template until I finish up wrap.
(defn handle-change [e data edit-key owner]
(om/transact! data edit-key (fn [_] (.
> On the subject of templates though, why doesn't something as simple as this
> work to track changes to input fields?
>
>
> (defn handle-change [e data edit-key]
> (println "handle-change:" edit-key @data)
> (om/transact! data edit-key (fn [_] (.. e -target -value
>
>
>
> (deftemplat
As of right now all the selectors are done at compile time so dynamic
selectors are not possible. That being said I think there are several ways
to accomplish what you are trying to do.Is there a reason you are
calling om/build here instead of just calling do-input-field. I am trying
to under
I have used https://github.com/davidsantiago/hickory in the past for xml
parsing in the browser.
On Thu, Apr 17, 2014 at 7:31 PM, Daniel Zacarias
wrote:
> Hey folks,
>
> I've been searching around JIRA and on the web and couldn't find any
> reference to this: what's the story for XML parsing an
Daniel,
>From a design perspective snippet simply wraps the component call in a
>function in much the same way you are wrapping the component call in a
>function when you use component directly. You can see the basic structure of
>the call here:
https://github.com/ckirkendall/kioo/blob/master/
Dan,
It certainly should update the content here. Can you post a full gist of
that illustrates the issue and I will try to reproduce it.
Creighton
On Wed, Apr 2, 2014 at 6:32 PM, Daniel Kersten wrote:
> Hi,
>
> I've been playing with kioo and love it, but I'm a bit confused by
> snippets (vs
It should look something like this.
(def chart (js/CanvasJS.Chart. "chartContainer"
(clj-js {:title {:text "Fruits sold in First
Quarter" }
:data {:type "colum"
:data [{:label "ba
Kioo 0.3.0 has been released and tested against the newest om, reagent and
React.
https://github.com/ckirkendall/kioo
New in this release:
listen transform -This transform allows to attach standard event listeners for
either dom events or React life cycle events.
snippet/template - While kio
Mike,
Can you give me more information as to what you are trying to do? Some
changes recently to Kioo, now allow you to share templates between the
server and client side using cljx and enlive. Not sure it would meet your
use case but may give you a basis to build something upon. I also know
tha
of the Om protocols to make sure that a row's only
> shown when it's, say, 1 window height away from the viewport.
>
> Is there a way to return a reified instance of IRender directly from Kioo,
> rather than having to go through the kioo/content, etc functions?
>
> On Thu
Kioo 0.1.0 - now has support for Reagent and improved Om support.
https://github.com/ckirkendall/kioo
Kioo is now separated into three main namespaces. Each namespace has the same
api but emit compiled templates geared to the three different underlying
frameworks.
core - React.js directly
om
together, which I
> think I prefer, but really neither is quite like JSX that has raw html with
> code embedded.
>
>
>
> Correct me if I'm not "getting it"
>
>
>
> On Friday, January 24, 2014 5:38:04 PM UTC-6, Creighton Kirkendall wrote:
>
&
Check out kioo, it does exactly what suggest. It uses a model similar to
enlive to pull html in and compile into react nodes.
https://github.com/ckirkendall/kioo
CK
On Fri, Jan 24, 2014 at 6:16 PM, Joel wrote:
> Is there a way to convert html to Om/ClojureScript syntax easily? Or, is
> ther
22 matches
Mail list logo