Hi,
I am trying to use domina for listening to an event -
(listen! (sel "#password") :keydown (fn [ev]
(log (pr-str
ev)))
log is a funciton which uses chrome's console.log.
a) The pr-str just prints "object" instead of its properties. How do I
print the object's properties?
b) I also tried the following -
(listen! el1 :keydown (fn [ev]
(log (ev :which))))
In this the return of which is undefined, however it should correspond to
keydown value. am I doing somehting wrong?
Thanks,
Murtaza
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en