Reputation: 3663
I'm trying to figure out a way to dynamically configure the content of a tooltip
. Ideally I'd like to have a function called when the user hovers over the tooltip component. This function would determine and return the content string and the tooltip would then be displayed with that content.
Specifically, this tooltip is for a tool component (if that matters.)
See fiddle here.
Upvotes: 2
Views: 2462
Reputation: 537
Sencha's example page has a few different types of tooltips, including a dynamic ajax one.
There's also the docs page that gives an example of how to change the content by using the "beforeshow" event. That example is under the "Delegation" heading.
Upvotes: 3