Object Literal Syntax

Before you dive right in, it's a good idea to know what object literals look like. TabParams is an object literal.

It would be possible to write the TabParams properties out one at a time, as:

    TabParams.useClone = false;
    TabParams.alwaysShowClone = false;
	

The above statement is equivalent to:

    TabParams = { 
        useClone : false,
        alwaysShowClone : false
     };
	

Object literals are clearer and more compact. You don't have to type TabParams. before each property.

A few things to watch out for with object literals:

 

*AnimTree
*Tabs
*GlideMenus
*DragLib