On Tuesday, July 29, 2014 10:00:47 AM UTC-4, David Della Costa wrote:
Hi Tal, I'm not positive this will fully answer your question, but here
is a very simple example of how to extend MapCursor and call the
extended type inside the render phase of a component.
Hi,
My preferred solution for this issue is calling `om/value' on the cursor
before passing it to non-ui parts of the application. You can also move
that call into the functions that get called itself, as it's equal to
the identitty-functions for non-cursors.
The other (more hacky) solution is
How can I have an om cursor implement a protocol and then call that protocol
method from an om component ? the problem is that I'm getting an error calling
the protocol method because the type now is not the given type but
om.core/MapCursor.
--
Note that posts from new members are moderated