Answer the question
In order to leave comments, you need to log in
How to use jquery-ui.tooltip in React.js 0.8.0?
Code in CoffeeScript.
When hovering over a link, "text in tooltip" permanently appears in the upper left corner of the screen.
How to make popup tooltip work?
TooltipText = React.createClass
componentDidMount: ->
$(@refs.data.getDOMNode()).tooltip()
componentWillUpdate: ->
$(@refs.data.getDOMNode()).tooltip()
render: ->
a({href: "#", 'data-toggle': "tooltip", 'data-placement': "top", ref: "data", title: "text in tooltip"}, ["text example"])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question