Opened 15 years ago

Closed 15 years ago

#2112 closed enhancement (duplicate)

Tooltip: Multiple connectIds feature

Reported by: jake.conk Owned by: bill
Priority: high Milestone: 1.0
Component: Dijit Version: 0.4
Keywords: Cc:
Blocked By: Blocking:


It would be very useful to be able to connect a tooltip message to an array of html elements rather than just one. I find it a bit memory intensive to create duplicate tooltips for elements that have the same content when I should be able to recycle an existing tooltip to an array of elements.


<a id="foo">Foo</a>
<a id="bar">Bar</a>

<div id="msg">Common tooltip message</div>

... js code ...

dojo.widget.createWidget("dojo:Tooltip", {connectIds: ["foo", "bar"]}, dojo.byId("msg"));

Change History (4)

comment:1 Changed 15 years ago by dylan

Milestone: 0.9

comment:2 Changed 15 years ago by dylan

Owner: changed from anonymous to alex

comment:3 Changed 15 years ago by bill

Component: GeneralDijit
Milestone: 0.91.0
Owner: changed from alex to bill

The tooltip is much lighter weight than it used to be; not sure if this is worth doing anymore but I'll think about it.

comment:4 Changed 15 years ago by dante

Resolution: duplicate
Status: newclosed

patch available in #3429 - though should be modified to use commas as separators like dojoAttachPoint, et al.

Note: See TracTickets for help on using tickets.