PDA

View Full Version : 'Mixed' type



RobWilson
31 Jan 2009, 1:05 AM
In the API documentation, there's reference to a 'Mixed' type, what does that refer to? Does that mean it can be a DOM ID, Dom Element or Ext object? Or something far more generic?

Ta,
Rob.

mjlecomte
31 Jan 2009, 4:42 AM
How about specifying a specific reference?

RobWilson
31 Jan 2009, 7:14 AM
How about specifying a specific reference?

Lol, good point!

http://extjs.com/deploy/dev/docs/

Choose 'Window' and then navigate to the 'renderTo' method that details 'Mixed'.

Cheers,
Rob.

mjlecomte
31 Jan 2009, 8:49 AM
Yeah, so mixed means it could be a combination of the single types (like Boolean, String, Number, Array, Object, etc.). It depends on the API reference what is actually accepted. When you're not clear on it, I'd suggest opening the source code for that Class and inspecting it.