Maybe you've mixed up app and opts in the arguments to popover. Once I
swapped them around, and supplied the content/title/etc in the app data it
worked fine for me.

Lucas




On 17 June 2014 00:21, <[email protected]> wrote:

> I've been using react-bootstrap for a week or so now, and I think it's an
> awesome project. I'm stuck on one specific thing, and I'm hoping someone
> can help. If you look through the scrolling popover example here -
> http://react-bootstrap.github.io/components.html#popovers , you'll see
> that they specify  "container={mountNode}". The interop to om has been
> pretty easy with this library, but I'm not sure how to get this to work
> from om…does anyone have any ideas?
>
> example popover:
>
> (defn popover
>   "wrapper for the ReactBootstrap/Popover component"
>   [app owner {:keys [content
>                      title
>                      data]
>               :or {content (dom/div nil)}}]
>   (reify
>     om/IRender
>     (render [this]
>       (ReactBootstrap/OverlayTrigger #js {:trigger "hover"
>                                           :placement "top"
>                                           :overlay (ReactBootstrap/Popover
> #js {:title title}
>
>  data)}
>                                      content))))
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to