PDA

View Full Version : Config



zquirm
22 Dec 2006, 1:09 AM
I'm having trouble figuring out what config options are available to me for each class. You give some examples in BasicDialog and Resizable, but I want to make sure I'm not missing any for the other classes.

what is an easy way to find these?

thanks.

Animal
22 Dec 2006, 2:28 AM
Look at the source code!

moraes
22 Dec 2006, 3:59 AM
The API doccumentation for each class that receives a config object on construction starts with a complete list of the available options. If that is not enough, look for the class constructor in the source code or ask here, in the forum. :-D

zquirm
22 Dec 2006, 11:01 AM
I did ask in the forum...this thread is me asking in the forum :wink:

There has to be an easier way looking through the source code, which I've been doing.

ContentPanel for instance accepts a config object but doesn't list what's possible to config.

I just want to make sure I know everything that's available to me.

tryanDLS
22 Dec 2006, 11:17 AM
Unfortunately, until the doc catches up to the code, there isn't an easier way. Most of us don't know all the config choices off the top of our head, so our response is likely gonna be RTFM, then RTFC :)

brian.moeskau
22 Dec 2006, 9:04 PM
Currently, this is part of the growing pains of a new framework. Jack has plans for involving more people in keeping the docs up-to-date, adding examples, etc., it just hasn't quite gotten off the ground yet.

jack.slocum
23 Dec 2006, 4:38 AM
They are documented in svn. I can't deploy docs for the svn codebase, so I generated a copy and popped them up here:

http://www.yui-ext.com/playpen/docs/output/YAHOO.ext.ContentPanel.html

http://www.yui-ext.com/playpen/docs/output/YAHOO.ext.LayoutRegion.html

BasicDialog is still the blob.

Config Options are the fourth list, there is a link to them on the top as well.