Class Index | File Index

Classes


Class xrx.component


Defined in: component.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
xrx.component(element)
Method Summary
Method Attributes Method Name and Description
 
Gets the bind referenced by the component.
 
Gets the bind ID found in the component's data-xrx-bind attribute.
 
Gets the component's element.
 
Returns the event handler for this component, lazily created the first time this method is called.
 
Gets the unique ID for the instance of this component.
 
Gets the XPath expression found in the component's data-xrx-ref attribute.
Class Detail
xrx.component(element)
Parameters:
element
Method Detail
{?xrx.bind} getBind()
Gets the bind referenced by the component.
Returns:
{?xrx.bind} The bind.

{?string} getBindId()
Gets the bind ID found in the component's data-xrx-bind attribute.
Returns:
{?string} The bind ID.

{Element} getElement()
Gets the component's element.
Returns:
{Element} The element for the component.

{!goog.events.EventHandler} getHandler()
Returns the event handler for this component, lazily created the first time this method is called.
Returns:
{!goog.events.EventHandler} Event handler for this component.

{string} getId()
Gets the unique ID for the instance of this component. If the instance doesn't already have an ID, generates one on the fly.
Returns:
{string} Unique component ID.

{?string} getRefExpression()
Gets the XPath expression found in the component's data-xrx-ref attribute.
Returns:
{?string} The expression.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 17 2013 17:08:43 GMT+0200 (MESZ)