PDA

View Full Version : Quicktips and Ext 4.2.1



fdp
5 Jun 2013, 9:40 AM
My questions related to QuickTips

Should I do this before using QuickTips in my Ext application (with Ext 4.2.1)

Question 1:

Ext.tip.QuickTipManager.init();
or this

Ext.QuickTips.init();

Question 2:
On the docs (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.tip.QuickTipManager-method-init) I read this comment from an user:

Note that this is automatically called by default when you use Ext.application, tips are available by the time your launch function runs.
Is it true?

Question 3:
Why in this page:
http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/
(http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/)There is no example for QuickTips?
If I look inside example folder I found this:
ext-4.2.1.883/examples/qtips/qtips.html
Is this example still valid?

Thanks for reply.

slemmon
7 Jun 2013, 9:34 AM
Ext.application() initializes the QuickTips for you so you don't need to do the init() if you are using Ext.application().

If not, then do:
Ext.QuickTips.init();

Are these the examples you're looking for?
http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/qtips/qtips.html