Yahoo! UI Library

tabview  3.1.0

Yahoo! UI Library > tabview > Tab
Search:
 
Filters

Class Tab - extends Widget - uses WidgetChild

Provides Tab instances for use with TabView

Constructor

Tab ( config )
Parameters:
config <Object> Object literal specifying tabview configuration properties.

Properties inherited from Attribute:

Properties inherited from Base:

Properties inherited from WidgetChild:

Events

contentChange

contentChange ( event )
Fires when the value for the configuration attribute 'content' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.
Parameters:
event <Event.Facade> An Event Facade object with the following attribute specific properties added:
prevVal
The value of the attribute, prior to it being set
newVal
The value the attribute is to be set to
attrName
The name of the attribute being set
subAttrName
If setting a property within the attribute's value, the name of the sub-attribute property being set

labelChange

labelChange ( event )
Fires when the value for the configuration attribute 'label' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.
Parameters:
event <Event.Facade> An Event Facade object with the following attribute specific properties added:
prevVal
The value of the attribute, prior to it being set
newVal
The value the attribute is to be set to
attrName
The name of the attribute being set
subAttrName
If setting a property within the attribute's value, the name of the sub-attribute property being set

panelNodeChange

panelNodeChange ( event )
Fires when the value for the configuration attribute 'panelNode' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.
Parameters:
event <Event.Facade> An Event Facade object with the following attribute specific properties added:
prevVal
The value of the attribute, prior to it being set
newVal
The value the attribute is to be set to
attrName
The name of the attribute being set
subAttrName
If setting a property within the attribute's value, the name of the sub-attribute property being set

triggerEventChange

triggerEventChange ( event )
Fires when the value for the configuration attribute 'triggerEvent' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.
Parameters:
event <Event.Facade> An Event Facade object with the following attribute specific properties added:
prevVal
The value of the attribute, prior to it being set
newVal
The value the attribute is to be set to
attrName
The name of the attribute being set
subAttrName
If setting a property within the attribute's value, the name of the sub-attribute property being set

Configuration Attributes

content - String


label - String


panelNode - Y.Node


triggerEvent - String

Default Value: "click"

Configuration attributes inherited from Base:

Configuration attributes inherited from WidgetChild:


Copyright © 2010 Yahoo! Inc. All rights reserved.