Looking at your code, I think your question is more about using the jquery tooltip plugin, which I know even less about ;).
On 25 March 2015 at 17:14, <[email protected]> wrote: > Well, actually, that might work. I was hoping for something more > attention-grabbing, but this will work for now. Thanks! > > On Wed, Mar 25, 2015 at 11:54 AM Colin Yates <[email protected]> wrote: >> >> Might be my ignorance of reagent, but why can't you just {:title "My >> tooltip"} to the button itself: >> >> [:button.btn.btn-default {:title "Woot"}] >> >> On Wednesday, 25 March 2015 15:44:38 UTC, Jonathon McKitrick wrote: >> > (defn edit-button-component [attrs] >> > [:button.btn.btn-default attrs >> > [:span.glyphicon.glyphicon-pencil]]) >> > >> > (defn edit-button-component-dec [] >> > (with-meta edit-button-component >> > {:component-did-mount #(.tooltip (js/$ (reagent.core/dom-node %)) >> > #js {:title "Test"}) >> > :component-will-mount #(.log js/console "Mounting")})) >> >> -- >> Note that posts from new members are moderated - please be patient with >> your first post. >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "ClojureScript" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/clojurescript/zOdkVxzWsyY/unsubscribe. >> To unsubscribe from this group and all its topics, 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. -- 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.
