PDA

View Full Version : why initialize QuickTips explicitly



sjivan
5 Jun 2007, 4:52 AM
Is there an overhead incurred with QuickTips? Why does one need to explicitly initialize QuickTips for it to work. For a functional perspective, the ideal behaviour would be for QuickTips to just work if it is used. Internally it could do a lazy initialization.

Sanjiv

tryanDLS
5 Jun 2007, 6:55 AM
Yes there's an overhead. Every element has to be checked for attributes that tell it to render the QT on it and event handling has to take place. Lazy initialization isn't an option - what if you want them not enabled?