--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cm/media/js/lib/yui/yui3.0.0/api/Node.html Mon Nov 23 15:14:29 2009 +0100
@@ -0,0 +1,3645 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <title>API: node Node (YUI Library)</title>
+
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
+ <link rel="stylesheet" type="text/css" href="assets/api.css" />
+
+ <script type="text/javascript" src="assets/api-js"></script>
+ <script type="text/javascript" src="assets/ac-js"></script>
+</head>
+
+<body id="yahoo-com">
+
+<div id="doc3" class="yui-t2">
+ <div id="hd">
+ <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
+ <h3>node <span class="subtitle">3.0.0</span></h3>
+ <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
+ > <a href="./module_node.html" title="node">node</a>
+ > Node
+
+ <form onsubmit="return false">
+ <div id="propertysearch">
+ Search: <input autocomplete="off" id="searchinput" />
+ <div id="searchresults">
+
+ </div>
+ </div>
+ </form>
+ </div>
+
+ <div id="bd">
+ <div id="yui-main">
+ <div class="yui-b">
+ <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
+ <fieldset>
+ <legend>Filters</legend>
+ <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
+ <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
+ <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
+ </fieldset>
+ </form>
+
+ <h2>
+
+
+
+
+ Class <b property="yui:name">Node</b>
+ <span class="extends">
+ </span>
+
+ </h2>
+ <!-- class tree goes here -->
+
+
+
+
+ <div class="summary description" property="yui:description">
+ The Node class provides a wrapper for manipulating DOM Nodes.
+Node properties can be accessed via the set/get methods.
+Use Y.get() to retrieve Node instances.
+<strong>NOTE:</strong> Node properties are accessed using
+the <code>set</code> and <code>get</code> methods.
+ </div>
+
+ <div class="section constructor details" rel="yui:constructor" resource="#constructor">
+ <h3 id="constructor">Constructor</h3>
+ <div class="content">
+ <div class="detail">
+ <strong property="yui:name">Node</strong>
+ <code>
+ (
+ )
+ </code>
+ <div class="description">
+
+
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div rel="yui:properties" resource="#properties">
+
+ </div>
+
+ <div rel="yui:methods" resource="#methods">
+ <div class="section method details">
+ <h3 id="methods">Methods</h3>
+ <div class="content">
+ <div class="" rel="yui:method" resource="#method_addClass">
+ <h4>
+ <a name="method_addClass">addClass</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">addClass</strong>
+ (
+
+
+ className
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Adds a class name to each node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">className</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> the class name to add to the node's class attribute</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_all">
+ <h4>
+ <a name="method_all">all</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ NodeList
+ <strong property="yui:name">all</strong>
+ (
+
+
+ selector
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Retrieves a nodeList based on the given CSS selector.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">selector</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The CSS selector to test against.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ NodeList
+ </code></dt>
+ <dd property="yui:returnInfo">A NodeList instance for the matching HTMLCollection/Array.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_ancestor">
+ <h4>
+ <a name="method_ancestor">ancestor</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">ancestor</strong>
+ (
+
+
+ fn
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns the nearest ancestor that passes the test applied by supplied boolean method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">fn</span>
+ <<span property="yui:type">String | Function</span>>
+ </code>
+ <span property="yui:description"> A selector string or boolean method for testing elements.
+If a function is used, it receives the current node being tested as the only argument.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">The matching Node instance or null if not found</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_append">
+ <h4>
+ <a name="method_append">append</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">append</strong>
+ (
+
+
+ content
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Inserts the content as the lastChild of the node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">content</span>
+ <<span property="yui:type">String | Y.Node | HTMLElement</span>>
+ </code>
+ <span property="yui:description"> The content to insert</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_appendChild">
+ <h4>
+ <a name="method_appendChild">appendChild</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">appendChild</strong>
+ (
+
+
+ node
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node</span>
+ <<span property="yui:type">HTMLElement | Node</span>>
+ </code>
+ <span property="yui:description"> Node to be appended</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">The appended node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_blur">
+ <h4>
+ <a name="method_blur">blur</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">blur</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_cloneNode">
+ <h4>
+ <a name="method_cloneNode">cloneNode</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">cloneNode</strong>
+ (
+
+
+ deep
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">deep</span>
+ <<span property="yui:type">Boolean</span>>
+ </code>
+ <span property="yui:description"> Whether or not to perform a deep clone, which includes
+subtree and attributes</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">The clone</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_compareTo">
+ <h4>
+ <a name="method_compareTo">compareTo</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Boolean
+ <strong property="yui:name">compareTo</strong>
+ (
+
+
+ refNode
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Compares nodes to determine if they match.
+Node instances can be compared to each other and/or HTMLElements.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">refNode</span>
+ <<span property="yui:type">HTMLElement | Node</span>>
+ </code>
+ <span property="yui:description"> The reference node to compare to the node.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Boolean
+ </code></dt>
+ <dd property="yui:returnInfo">True if the nodes match, false if they do not.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_contains">
+ <h4>
+ <a name="method_contains">contains</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Boolean
+ <strong property="yui:name">contains</strong>
+ (
+
+
+ needle
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Determines whether the ndoe is an ancestor of another HTML element in the DOM hierarchy.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">needle</span>
+ <<span property="yui:type">Node | HTMLElement</span>>
+ </code>
+ <span property="yui:description"> The possible node or descendent</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Boolean
+ </code></dt>
+ <dd property="yui:returnInfo">Whether or not this node is the needle its ancestor</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_create">
+ <h4>
+ <a name="method_create">create</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ Node
+ <strong property="yui:name">create</strong>
+ (
+
+
+ html
+
+
+ ,
+ doc
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Creates a new dom node using the provided markup string.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">html</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The markup used to create the element</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">doc</span>
+ <<span property="yui:type">HTMLDocument</span>>
+ </code>
+ <span property="yui:description"> An optional document context</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">A Node instance bound to a DOM node or fragment</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_delegate">
+ <h4>
+ <a name="method_delegate">delegate</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Event.Handle
+ <strong property="yui:name">delegate</strong>
+ (
+
+
+ type
+
+
+ ,
+ fn
+
+
+ ,
+ selector
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Functionality to make the node a delegated event container
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">type</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> the event type to delegate</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">fn</span>
+ <<span property="yui:type">Function</span>>
+ </code>
+ <span property="yui:description"> the function to execute</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">selector</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> a selector that must match the target of the event.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Event.Handle
+ </code></dt>
+ <dd property="yui:returnInfo">the detach handle</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class=" deprecated" rel="yui:method" resource="#method_each">
+ <h4>
+ <a name="method_each">each</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">each</strong>
+ (
+
+
+ fn
+
+
+ ,
+ context
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Applies the given function to each Node in the NodeList.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">fn</span>
+ <<span property="yui:type">Function</span>>
+ </code>
+ <span property="yui:description"> The function to apply</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">context</span>
+ <<span property="yui:type">Object</span>>
+ </code>
+ <span property="yui:description"> optional An optional context to apply the function with
+Default context is the NodeList instance</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+ <div class="deprecated">
+ <strong>Deprecated</strong> Use NodeList
+ </div>
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_focus">
+ <h4>
+ <a name="method_focus">focus</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">focus</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_get">
+ <h4>
+ <a name="method_get">get</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ any
+ <strong property="yui:name">get</strong>
+ (
+
+
+ attr
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns an attribute value on the Node instance
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attr</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The attribute to be set</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ any
+ </code></dt>
+ <dd property="yui:returnInfo">The current value of the attribute</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getAttribute">
+ <h4>
+ <a name="method_getAttribute">getAttribute</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ string
+ <strong property="yui:name">getAttribute</strong>
+ (
+
+
+ name
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Allows getting attributes on DOM nodes, normalizing in some cases.
+This passes through to the DOM node, allowing for custom attributes.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">name</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The attribute name</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ string
+ </code></dt>
+ <dd property="yui:returnInfo">The attribute value</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getAttrs">
+ <h4>
+ <a name="method_getAttrs">getAttrs</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Object
+ <strong property="yui:name">getAttrs</strong>
+ (
+
+
+ attrs
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns an object containing the values for the requested attributes.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attrs</span>
+ <<span property="yui:type">Array</span>>
+ </code>
+ <span property="yui:description"> an array of attributes to get values</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Object
+ </code></dt>
+ <dd property="yui:returnInfo">An object with attribute name/value pairs.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getComputedStyle">
+ <h4>
+ <a name="method_getComputedStyle">getComputedStyle</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ String
+ <strong property="yui:name">getComputedStyle</strong>
+ (
+
+
+ attr
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns the computed value for the given style property.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attr</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The style attribute to retrieve.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ String
+ </code></dt>
+ <dd property="yui:returnInfo">The computed value of the style property for the element.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getElementsByTagName">
+ <h4>
+ <a name="method_getElementsByTagName">getElementsByTagName</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ NodeList
+ <strong property="yui:name">getElementsByTagName</strong>
+ (
+
+
+ tagName
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">tagName</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The tagName to collect</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ NodeList
+ </code></dt>
+ <dd property="yui:returnInfo">A NodeList representing the HTMLCollection</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getStyle">
+ <h4>
+ <a name="method_getStyle">getStyle</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ String
+ <strong property="yui:name">getStyle</strong>
+ (
+
+
+ attr
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns the style's current value.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attr</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The style attribute to retrieve.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ String
+ </code></dt>
+ <dd property="yui:returnInfo">The current value of the style property for the element.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getX">
+ <h4>
+ <a name="method_getX">getX</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Int
+ <strong property="yui:name">getX</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Gets the current position of the node in page coordinates.
+ </div>
+
+ <div class="description">
+
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Int
+ </code></dt>
+ <dd property="yui:returnInfo">The X position of the node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getXY">
+ <h4>
+ <a name="method_getXY">getXY</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Array
+ <strong property="yui:name">getXY</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Gets the current position of the node in page coordinates.
+ </div>
+
+ <div class="description">
+
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Array
+ </code></dt>
+ <dd property="yui:returnInfo">The XY position of the node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_getY">
+ <h4>
+ <a name="method_getY">getY</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Int
+ <strong property="yui:name">getY</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Gets the current position of the node in page coordinates.
+ </div>
+
+ <div class="description">
+
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Int
+ </code></dt>
+ <dd property="yui:returnInfo">The Y position of the node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_hasAttribute">
+ <h4>
+ <a name="method_hasAttribute">hasAttribute</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Boolean
+ <strong property="yui:name">hasAttribute</strong>
+ (
+
+
+ attribute
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attribute</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The attribute to test for</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Boolean
+ </code></dt>
+ <dd property="yui:returnInfo">Whether or not the attribute is present</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_hasChildNodes">
+ <h4>
+ <a name="method_hasChildNodes">hasChildNodes</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Boolean
+ <strong property="yui:name">hasChildNodes</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Boolean
+ </code></dt>
+ <dd property="yui:returnInfo">Whether or not the node has any childNodes</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_hasClass">
+ <h4>
+ <a name="method_hasClass">hasClass</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Array
+ <strong property="yui:name">hasClass</strong>
+ (
+
+
+ className
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Determines whether each node has the given className.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">className</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> the class name to search for</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Array
+ </code></dt>
+ <dd property="yui:returnInfo">An array of booleans for each node bound to the NodeList.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_inDoc">
+ <h4>
+ <a name="method_inDoc">inDoc</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Boolean
+ <strong property="yui:name">inDoc</strong>
+ (
+
+
+ doc
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Determines whether the node is appended to the document.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">doc</span>
+ <<span property="yui:type">Node|HTMLElement</span>>
+ </code>
+ <span property="yui:description"> optional An optional document to check against.
+Defaults to current document.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Boolean
+ </code></dt>
+ <dd property="yui:returnInfo">Whether or not this node is appended to the document.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_inRegion">
+ <h4>
+ <a name="method_inRegion">inRegion</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Object
+ <strong property="yui:name">inRegion</strong>
+ (
+
+
+ node2
+
+
+ ,
+ all
+
+
+ ,
+ altRegion
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Determines whether or not the node is within the giving region.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node2</span>
+ <<span property="yui:type">Node|Object</span>>
+ </code>
+ <span property="yui:description"> The node or region to compare with.</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">all</span>
+ <<span property="yui:type">Boolean</span>>
+ </code>
+ <span property="yui:description"> Whether or not all of the node must be in the region.</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">altRegion</span>
+ <<span property="yui:type">Object</span>>
+ </code>
+ <span property="yui:description"> An alternate region to use (rather than this node's).</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Object
+ </code></dt>
+ <dd property="yui:returnInfo">An object representing the intersection of the regions.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_insert">
+ <h4>
+ <a name="method_insert">insert</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">insert</strong>
+ (
+
+
+ content
+
+
+ ,
+ where
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Inserts the content before the reference node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">content</span>
+ <<span property="yui:type">String | Y.Node | HTMLElement</span>>
+ </code>
+ <span property="yui:description"> The content to insert</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">where</span>
+ <<span property="yui:type">Int | Y.Node | HTMLElement | String</span>>
+ </code>
+ <span property="yui:description"> The position to insert at.</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_insertBefore">
+ <h4>
+ <a name="method_insertBefore">insertBefore</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">insertBefore</strong>
+ (
+
+
+ newNode
+
+
+ ,
+ refNode
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">newNode</span>
+ <<span property="yui:type">HTMLElement | Node</span>>
+ </code>
+ <span property="yui:description"> Node to be appended</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">refNode</span>
+ <<span property="yui:type">HTMLElement | Node</span>>
+ </code>
+ <span property="yui:description"> Node to be inserted before</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">The inserted node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_intersect">
+ <h4>
+ <a name="method_intersect">intersect</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Object
+ <strong property="yui:name">intersect</strong>
+ (
+
+
+ node2
+
+
+ ,
+ altRegion
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Compares the intersection of the node with another node or region
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node2</span>
+ <<span property="yui:type">Node|Object</span>>
+ </code>
+ <span property="yui:description"> The node or region to compare with.</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">altRegion</span>
+ <<span property="yui:type">Object</span>>
+ </code>
+ <span property="yui:description"> An alternate region to use (rather than this node's).</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Object
+ </code></dt>
+ <dd property="yui:returnInfo">An object representing the intersection of the regions.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_invoke">
+ <h4>
+ <a name="method_invoke">invoke</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+
+ <strong property="yui:name">invoke</strong>
+ (
+
+
+ method
+
+
+ ,
+ a,
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Invokes a method on the Node instance
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">method</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The name of the method to invoke</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">a,</span>
+ <<span property="yui:type">Any</span>>
+ </code>
+ <span property="yui:description"> b, c, etc. Arguments to invoke the method with.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ </code></dt>
+ <dd property="yui:returnInfo">Whatever the underly method returns.
+DOM Nodes and Collections return values
+are converted to Node/NodeList instances.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class=" deprecated" rel="yui:method" resource="#method_item">
+ <h4>
+ <a name="method_item">item</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">item</strong>
+ (
+
+
+ index
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Retrieves the Node instance at the given index.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">index</span>
+ <<span property="yui:type">Number</span>>
+ </code>
+ <span property="yui:description"> The index of the target Node.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">The Node instance at the given index.</dd>
+ </dl>
+
+
+
+ <div class="deprecated">
+ <strong>Deprecated</strong> Use NodeList
+ </div>
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_next">
+ <h4>
+ <a name="method_next">next</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">next</strong>
+ (
+
+
+ fn
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns the next matching sibling.
+Returns the nearest element node sibling if no method provided.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">fn</span>
+ <<span property="yui:type">String | Function</span>>
+ </code>
+ <span property="yui:description"> A selector or boolean method for testing elements.
+If a function is used, it receives the current node being tested as the only argument.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">Node instance or null if not found</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_Node.getDOMNode">
+ <h4>
+ <a name="method_Node.getDOMNode">Node.getDOMNode</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ HTMLNode
+ <strong property="yui:name">Node.getDOMNode</strong>
+ (
+
+
+ node
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Retrieves the DOM node bound to a Node instance
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node</span>
+ <<span property="yui:type">Y.Node || HTMLNode</span>>
+ </code>
+ <span property="yui:description"> The Node instance or an HTMLNode</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ HTMLNode
+ </code></dt>
+ <dd property="yui:returnInfo">The DOM node bound to the Node instance. If a DOM node is passed
+as the node argument, it is simply returned.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_one">
+ <h4>
+ <a name="method_one">one</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">one</strong>
+ (
+
+
+ selector
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Retrieves a Node instance of nodes based on the given CSS selector.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">selector</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The CSS selector to test against.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">A Node instance for the matching HTMLElement.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_prepend">
+ <h4>
+ <a name="method_prepend">prepend</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">prepend</strong>
+ (
+
+
+ content
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Inserts the content as the firstChild of the node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">content</span>
+ <<span property="yui:type">String | Y.Node | HTMLElement</span>>
+ </code>
+ <span property="yui:description"> The content to insert</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_previous">
+ <h4>
+ <a name="method_previous">previous</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">previous</strong>
+ (
+
+
+ fn
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns the previous matching sibling.
+Returns the nearest element node sibling if no method provided.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">fn</span>
+ <<span property="yui:type">String | Function</span>>
+ </code>
+ <span property="yui:description"> A selector or boolean method for testing elements.
+If a function is used, it receives the current node being tested as the only argument.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">Node instance or null if not found</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class=" deprecated" rel="yui:method" resource="#method_query">
+ <h4>
+ <a name="method_query">query</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">query</strong>
+ (
+
+
+ selector
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Retrieves a Node instance of nodes based on the given CSS selector.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">selector</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The CSS selector to test against.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">A Node instance for the matching HTMLElement.</dd>
+ </dl>
+
+
+
+ <div class="deprecated">
+ <strong>Deprecated</strong> Use one()
+ </div>
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class=" deprecated" rel="yui:method" resource="#method_queryAll">
+ <h4>
+ <a name="method_queryAll">queryAll</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ NodeList
+ <strong property="yui:name">queryAll</strong>
+ (
+
+
+ selector
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Retrieves a nodeList based on the given CSS selector.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">selector</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The CSS selector to test against.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ NodeList
+ </code></dt>
+ <dd property="yui:returnInfo">A NodeList instance for the matching HTMLCollection/Array.</dd>
+ </dl>
+
+
+
+ <div class="deprecated">
+ <strong>Deprecated</strong> Use all()
+ </div>
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_remove">
+ <h4>
+ <a name="method_remove">remove</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">remove</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Removes the node from its parent.
+Shortcut for myNode.get('parentNode').removeChild(myNode);
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_removeAttribute">
+ <h4>
+ <a name="method_removeAttribute">removeAttribute</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">removeAttribute</strong>
+ (
+
+
+ attribute
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attribute</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The attribute to be removed</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_removeChild">
+ <h4>
+ <a name="method_removeChild">removeChild</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">removeChild</strong>
+ (
+
+
+ node
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node</span>
+ <<span property="yui:type">HTMLElement | Node</span>>
+ </code>
+ <span property="yui:description"> Node to be removed</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">The removed node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_removeClass">
+ <h4>
+ <a name="method_removeClass">removeClass</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">removeClass</strong>
+ (
+
+
+ className
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Removes a class name from each node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">className</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> the class name to remove from the node's class attribute</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_replace">
+ <h4>
+ <a name="method_replace">replace</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">replace</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Replace the node with the other node. This is a DOM update only
+and does not change the node bound to the Node instance.
+Shortcut for myNode.get('parentNode').replaceChild(newNode, myNode);
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_replaceChild">
+ <h4>
+ <a name="method_replaceChild">replaceChild</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Node
+ <strong property="yui:name">replaceChild</strong>
+ (
+
+
+ node
+
+
+ ,
+ refNode
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node</span>
+ <<span property="yui:type">HTMLElement | Node</span>>
+ </code>
+ <span property="yui:description"> Node to be inserted</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">refNode</span>
+ <<span property="yui:type">HTMLElement | Node</span>>
+ </code>
+ <span property="yui:description"> Node to be replaced</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Node
+ </code></dt>
+ <dd property="yui:returnInfo">The replaced node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_replaceClass">
+ <h4>
+ <a name="method_replaceClass">replaceClass</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">replaceClass</strong>
+ (
+
+
+ oldClassName
+
+
+ ,
+ newClassName
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Replace a class with another class for each node.
+If no oldClassName is present, the newClassName is simply added.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">oldClassName</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> the class name to be replaced</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">newClassName</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> the class name that will be replacing the old class name</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_reset">
+ <h4>
+ <a name="method_reset">reset</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">reset</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+Only valid on FORM elements
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_scrollIntoView">
+ <h4>
+ <a name="method_scrollIntoView">scrollIntoView</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">scrollIntoView</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_select">
+ <h4>
+ <a name="method_select">select</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">select</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_set">
+ <h4>
+ <a name="method_set">set</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">set</strong>
+ (
+
+
+ attr
+
+
+ ,
+ val
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Sets an attribute on the Node instance.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attr</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The attribute to be set.</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">val</span>
+ <<span property="yui:type">any</span>>
+ </code>
+ <span property="yui:description"> The value to set the attribute to.</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setAttribute">
+ <h4>
+ <a name="method_setAttribute">setAttribute</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setAttribute</strong>
+ (
+
+
+ name
+
+
+ ,
+ value
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Allows setting attributes on DOM nodes, normalizing in some cases.
+This passes through to the DOM node, allowing for custom attributes.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">name</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The attribute name</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">value</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The value to set</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setAttrs">
+ <h4>
+ <a name="method_setAttrs">setAttrs</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setAttrs</strong>
+ (
+
+
+ attrMap
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Sets multiple attributes.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attrMap</span>
+ <<span property="yui:type">Object</span>>
+ </code>
+ <span property="yui:description"> an object of name/value pairs to set</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setContent">
+ <h4>
+ <a name="method_setContent">setContent</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setContent</strong>
+ (
+
+
+ content
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Replaces the node's current content with the content.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">content</span>
+ <<span property="yui:type">String | Y.Node | HTMLElement</span>>
+ </code>
+ <span property="yui:description"> The content to insert</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setStyle">
+ <h4>
+ <a name="method_setStyle">setStyle</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setStyle</strong>
+ (
+
+
+ attr
+
+
+ ,
+ val
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Sets a style property of the node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attr</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The style attribute to set.</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">val</span>
+ <<span property="yui:type">String|Number</span>>
+ </code>
+ <span property="yui:description"> The value.</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setStyles">
+ <h4>
+ <a name="method_setStyles">setStyles</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setStyles</strong>
+ (
+
+
+ hash
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Sets multiple style properties on the node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">hash</span>
+ <<span property="yui:type">Object</span>>
+ </code>
+ <span property="yui:description"> An object literal of property:value pairs.</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setX">
+ <h4>
+ <a name="method_setX">setX</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setX</strong>
+ (
+
+
+ x
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Set the position of the node in page coordinates, regardless of how the node is positioned.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">x</span>
+ <<span property="yui:type">Int</span>>
+ </code>
+ <span property="yui:description"> X value for new position (coordinates are page-based)</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setXY">
+ <h4>
+ <a name="method_setXY">setXY</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setXY</strong>
+ (
+
+
+ xy
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Set the position of the node in page coordinates, regardless of how the node is positioned.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">xy</span>
+ <<span property="yui:type">Array</span>>
+ </code>
+ <span property="yui:description"> Contains X & Y values for new position (coordinates are page-based)</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_setY">
+ <h4>
+ <a name="method_setY">setY</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">setY</strong>
+ (
+
+
+ y
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Set the position of the node in page coordinates, regardless of how the node is positioned.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">y</span>
+ <<span property="yui:type">Int</span>>
+ </code>
+ <span property="yui:description"> Y value for new position (coordinates are page-based)</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_simulate">
+ <h4>
+ <a name="method_simulate">simulate</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ void
+ <strong property="yui:name">simulate</strong>
+ (
+
+
+ type
+
+
+ ,
+ options
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Simulates an event on the node.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">type</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> The type of event to simulate (i.e., "click").</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">options</span>
+ <<span property="yui:type">Object</span>>
+ </code>
+ <span property="yui:description"> (Optional) Extra options to copy onto the event object.</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class=" deprecated" rel="yui:method" resource="#method_size">
+ <h4>
+ <a name="method_size">size</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ Int
+ <strong property="yui:name">size</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns the current number of items in the Node.
+ </div>
+
+ <div class="description">
+
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ Int
+ </code></dt>
+ <dd property="yui:returnInfo">The number of items in the Node.</dd>
+ </dl>
+
+
+
+ <div class="deprecated">
+ <strong>Deprecated</strong> Use NodeList
+ </div>
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_submit">
+ <h4>
+ <a name="method_submit">submit</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">submit</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Passes through to DOM method.
+Only valid on FORM elements
+ </div>
+
+ <div class="description">
+
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_test">
+ <h4>
+ <a name="method_test">test</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ boolean
+ <strong property="yui:name">test</strong>
+ (
+
+
+ selector
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Test if the supplied node matches the supplied selector.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">selector</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> The CSS selector to test against.</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ boolean
+ </code></dt>
+ <dd property="yui:returnInfo">Whether or not the node matches the selector.</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_toggleClass">
+ <h4>
+ <a name="method_toggleClass">toggleClass</a></h4>
+ <div class="detail" >
+ <code>
+
+
+
+ void
+ <strong property="yui:name">toggleClass</strong>
+ (
+
+
+ className
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ If the className exists on the node it is removed, if it doesn't exist it is added.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">className</span>
+ <<span property="yui:type">String</span>>
+ </code>
+ <span property="yui:description"> the class name to be toggled</span>
+ </dd>
+ </dl>
+
+
+ <div class="chainable">
+ <strong>Chainable:</strong> This method is chainable.
+ </div>
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class=" deprecated" rel="yui:method" resource="#method_Y.get">
+ <h4>
+ <a name="method_Y.get">Y.get</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ void
+ <strong property="yui:name">Y.get</strong>
+ (
+
+
+ node
+
+
+ ,
+ doc
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns a single Node instance bound to the node or the
+first element matching the given selector.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node</span>
+ <<span property="yui:type">String | HTMLElement</span>>
+ </code>
+ <span property="yui:description"> a node or Selector</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">doc</span>
+ <<span property="yui:type">Y.Node || HTMLElement</span>>
+ </code>
+ <span property="yui:description"> an optional document to scan. Defaults to Y.config.doc.</span>
+ </dd>
+ </dl>
+
+
+
+
+ <div class="deprecated">
+ <strong>Deprecated</strong> Use Y.one
+ </div>
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_Y.one">
+ <h4>
+ <a name="method_Y.one">Y.one</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ void
+ <strong property="yui:name">Y.one</strong>
+ (
+
+
+ node
+
+
+ ,
+ doc
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns a single Node instance bound to the node or the
+first element matching the given selector.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">node</span>
+ <<span property="yui:type">String | HTMLElement</span>>
+ </code>
+ <span property="yui:description"> a node or Selector</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">doc</span>
+ <<span property="yui:type">Y.Node || HTMLElement</span>>
+ </code>
+ <span property="yui:description"> an optional document to scan. Defaults to Y.config.doc.</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ </div>
+ </div>
+
+ </div>
+
+ <div rel="yui:events" resource="#events">
+
+
+ </div>
+
+ <div rel="yui:attributes" resource="#configattributes">
+ <div class="section field details">
+ <h3 id="configattributes">Configuration Attributes</h3>
+ <div class="content">
+ <div class="" rel="yui:attribute" resource="#config_children">
+ <h4><a name="config_children">children</a>
+ <code>- <span property="yui:type">NodeList</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Returns a NodeList instance of all HTMLElement children.
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_docHeight">
+ <h4><a name="config_docHeight">docHeight</a>
+ <code>- <span property="yui:type">{Int}</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Document height
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_docScrollX">
+ <h4><a name="config_docScrollX">docScrollX</a>
+ <code>- <span property="yui:type">{Int}</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Amount page has been scroll vertically
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_docScrollY">
+ <h4><a name="config_docScrollY">docScrollY</a>
+ <code>- <span property="yui:type">{Int}</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Amount page has been scroll horizontally
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_region">
+ <h4><a name="config_region">region</a>
+ <code>- <span property="yui:type">Node</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Returns a region object for the node
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_text">
+ <h4><a name="config_text">text</a>
+ <code>- <span property="yui:type">String</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Allows for getting and setting the text of an element.
+Formatting is preserved and special characters are treated literally.
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_viewportRegion">
+ <h4><a name="config_viewportRegion">viewportRegion</a>
+ <code>- <span property="yui:type">Node</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Returns a region object for the node's viewport
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_winHeight">
+ <h4><a name="config_winHeight">winHeight</a>
+ <code>- <span property="yui:type">{Int}</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Returns the inner height of the viewport (exludes scrollbar).
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+ <div class="" rel="yui:attribute" resource="#config_winWidth">
+ <h4><a name="config_winWidth">winWidth</a>
+ <code>- <span property="yui:type">{Int}</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ Returns the inner width of the viewport (exludes scrollbar).
+ </div>
+ </div>
+
+
+
+ <hr />
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+
+ </div>
+ </div>
+ <div class="yui-b">
+ <div class="nav">
+
+ <div id="moduleList" class="module">
+ <h4>Modules</h4>
+ <ul class="content">
+ <li class=""><a href="module_anim.html" title="anim">anim</a></li>
+ <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
+ <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
+ <li class=""><a href="module_base.html" title="base">base</a></li>
+ <li class=""><a href="module_cache.html" title="cache">cache</a></li>
+ <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
+ <li class=""><a href="module_collection.html" title="collection">collection</a></li>
+ <li class=""><a href="module_console.html" title="console">console</a></li>
+ <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
+ <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
+ <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
+ <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
+ <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
+ <li class=""><a href="module_dd.html" title="dd">dd</a></li>
+ <li class=""><a href="module_dom.html" title="dom">dom</a></li>
+ <li class=""><a href="module_dump.html" title="dump">dump</a></li>
+ <li class=""><a href="module_event.html" title="event">event</a></li>
+ <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
+ <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
+ <li class=""><a href="module_history.html" title="history">history</a></li>
+ <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
+ <li class=""><a href="module_io.html" title="io">io</a></li>
+ <li class=""><a href="module_json.html" title="json">json</a></li>
+ <li class="selected"><a href="module_node.html" title="node">node</a></li>
+ <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
+ <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
+ <li class=""><a href="module_oop.html" title="oop">oop</a></li>
+ <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
+ <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
+ <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
+ <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
+ <li class=""><a href="module_slider.html" title="slider">slider</a></li>
+ <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
+ <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
+ <li class=""><a href="module_test.html" title="test">test</a></li>
+ <li class=""><a href="module_widget.html" title="widget">widget</a></li>
+ <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
+ <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
+ <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
+ <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
+ <li class=""><a href="module_yui.html" title="yui">yui</a></li>
+ </ul>
+ </div>
+
+ <div id="classList" class="module">
+ <h4>Classes</h4>
+ <ul class="content">
+ <li class="selected"><a href="Node.html" title="Node">Node</a></li>
+ <li class=""><a href="NodeList.html" title="NodeList">NodeList</a></li>
+ </ul>
+ </div>
+
+ <div id="fileList" class="module">
+ <h4>Files</h4>
+ <ul class="content">
+ <li class=""><a href="node-class.js.html" title="node-class.js">node-class.js</a></li>
+ <li class=""><a href="node-event-delegate.js.html" title="node-event-delegate.js">node-event-delegate.js</a></li>
+ <li class=""><a href="node-event-simulate.js.html" title="node-event-simulate.js">node-event-simulate.js</a></li>
+ <li class=""><a href="node-ie.js.html" title="node-ie.js">node-ie.js</a></li>
+ <li class=""><a href="node-imports.js.html" title="node-imports.js">node-imports.js</a></li>
+ <li class=""><a href="node-pluginhost.js.html" title="node-pluginhost.js">node-pluginhost.js</a></li>
+ <li class=""><a href="node-region.js.html" title="node-region.js">node-region.js</a></li>
+ <li class=""><a href="node-screen.js.html" title="node-screen.js">node-screen.js</a></li>
+ <li class=""><a href="node-style.js.html" title="node-style.js">node-style.js</a></li>
+ <li class=""><a href="node.js.html" title="node.js">node.js</a></li>
+ <li class=""><a href="nodelist.js.html" title="nodelist.js">nodelist.js</a></li>
+ </ul>
+ </div>
+
+
+ <div id="methodsList" class="module">
+ <h4>Methods</h4>
+ <ul class="content">
+ <li class=""><a href="#method_addClass" title="addClass">addClass</a></li>
+ <li class=""><a href="#method_all" title="all">all</a></li>
+ <li class=""><a href="#method_ancestor" title="ancestor">ancestor</a></li>
+ <li class=""><a href="#method_append" title="append">append</a></li>
+ <li class=""><a href="#method_appendChild" title="appendChild">appendChild</a></li>
+ <li class=""><a href="#method_blur" title="blur">blur</a></li>
+ <li class=""><a href="#method_cloneNode" title="cloneNode">cloneNode</a></li>
+ <li class=""><a href="#method_compareTo" title="compareTo">compareTo</a></li>
+ <li class=""><a href="#method_contains" title="contains">contains</a></li>
+ <li class=""><a href="#method_create" title="create">create</a></li>
+ <li class=""><a href="#method_delegate" title="delegate">delegate</a></li>
+ <li class=" deprecated"><a href="#method_each" title="each">each</a></li>
+ <li class=""><a href="#method_focus" title="focus">focus</a></li>
+ <li class=""><a href="#method_get" title="get">get</a></li>
+ <li class=""><a href="#method_getAttribute" title="getAttribute">getAttribute</a></li>
+ <li class=""><a href="#method_getAttrs" title="getAttrs">getAttrs</a></li>
+ <li class=""><a href="#method_getComputedStyle" title="getComputedStyle">getComputedStyle</a></li>
+ <li class=""><a href="#method_getElementsByTagName" title="getElementsByTagName">getElementsByTagName</a></li>
+ <li class=""><a href="#method_getStyle" title="getStyle">getStyle</a></li>
+ <li class=""><a href="#method_getX" title="getX">getX</a></li>
+ <li class=""><a href="#method_getXY" title="getXY">getXY</a></li>
+ <li class=""><a href="#method_getY" title="getY">getY</a></li>
+ <li class=""><a href="#method_hasAttribute" title="hasAttribute">hasAttribute</a></li>
+ <li class=""><a href="#method_hasChildNodes" title="hasChildNodes">hasChildNodes</a></li>
+ <li class=""><a href="#method_hasClass" title="hasClass">hasClass</a></li>
+ <li class=""><a href="#method_inDoc" title="inDoc">inDoc</a></li>
+ <li class=""><a href="#method_inRegion" title="inRegion">inRegion</a></li>
+ <li class=""><a href="#method_insert" title="insert">insert</a></li>
+ <li class=""><a href="#method_insertBefore" title="insertBefore">insertBefore</a></li>
+ <li class=""><a href="#method_intersect" title="intersect">intersect</a></li>
+ <li class=""><a href="#method_invoke" title="invoke">invoke</a></li>
+ <li class=" deprecated"><a href="#method_item" title="item">item</a></li>
+ <li class=""><a href="#method_next" title="next">next</a></li>
+ <li class=""><a href="#method_Node.getDOMNode" title="Node.getDOMNode">Node.getDOMNode</a></li>
+ <li class=""><a href="#method_one" title="one">one</a></li>
+ <li class=""><a href="#method_prepend" title="prepend">prepend</a></li>
+ <li class=""><a href="#method_previous" title="previous">previous</a></li>
+ <li class=" deprecated"><a href="#method_query" title="query">query</a></li>
+ <li class=" deprecated"><a href="#method_queryAll" title="queryAll">queryAll</a></li>
+ <li class=""><a href="#method_remove" title="remove">remove</a></li>
+ <li class=""><a href="#method_removeAttribute" title="removeAttribute">removeAttribute</a></li>
+ <li class=""><a href="#method_removeChild" title="removeChild">removeChild</a></li>
+ <li class=""><a href="#method_removeClass" title="removeClass">removeClass</a></li>
+ <li class=""><a href="#method_replace" title="replace">replace</a></li>
+ <li class=""><a href="#method_replaceChild" title="replaceChild">replaceChild</a></li>
+ <li class=""><a href="#method_replaceClass" title="replaceClass">replaceClass</a></li>
+ <li class=""><a href="#method_reset" title="reset">reset</a></li>
+ <li class=""><a href="#method_scrollIntoView" title="scrollIntoView">scrollIntoView</a></li>
+ <li class=""><a href="#method_select" title="select">select</a></li>
+ <li class=""><a href="#method_set" title="set">set</a></li>
+ <li class=""><a href="#method_setAttribute" title="setAttribute">setAttribute</a></li>
+ <li class=""><a href="#method_setAttrs" title="setAttrs">setAttrs</a></li>
+ <li class=""><a href="#method_setContent" title="setContent">setContent</a></li>
+ <li class=""><a href="#method_setStyle" title="setStyle">setStyle</a></li>
+ <li class=""><a href="#method_setStyles" title="setStyles">setStyles</a></li>
+ <li class=""><a href="#method_setX" title="setX">setX</a></li>
+ <li class=""><a href="#method_setXY" title="setXY">setXY</a></li>
+ <li class=""><a href="#method_setY" title="setY">setY</a></li>
+ <li class=""><a href="#method_simulate" title="simulate">simulate</a></li>
+ <li class=" deprecated"><a href="#method_size" title="size">size</a></li>
+ <li class=""><a href="#method_submit" title="submit">submit</a></li>
+ <li class=""><a href="#method_test" title="test">test</a></li>
+ <li class=""><a href="#method_toggleClass" title="toggleClass">toggleClass</a></li>
+ <li class=" deprecated"><a href="#method_Y.get" title="Y.get">Y.get</a></li>
+ <li class=""><a href="#method_Y.one" title="Y.one">Y.one</a></li>
+ </ul>
+ </div>
+
+
+ <div id="configList" class="module">
+ <h4>Configuration Attributes</h4>
+ <ul class="content">
+ <li class=""><a href="#config_children" title="children">children</a></li>
+ <li class=""><a href="#config_docHeight" title="docHeight">docHeight</a></li>
+ <li class=""><a href="#config_docScrollX" title="docScrollX">docScrollX</a></li>
+ <li class=""><a href="#config_docScrollY" title="docScrollY">docScrollY</a></li>
+ <li class=""><a href="#config_region" title="region">region</a></li>
+ <li class=""><a href="#config_text" title="text">text</a></li>
+ <li class=""><a href="#config_viewportRegion" title="viewportRegion">viewportRegion</a></li>
+ <li class=""><a href="#config_winHeight" title="winHeight">winHeight</a></li>
+ <li class=""><a href="#config_winWidth" title="winWidth">winWidth</a></li>
+ </ul>
+ </div>
+
+ </div>
+ </div>
+ </div>
+ <div id="ft">
+ <hr />
+ Copyright © 2009 Yahoo! Inc. All rights reserved.
+ </div>
+</div>
+<script type="text/javascript">
+ ALL_YUI_PROPS = [{"access": "", "host": "NodeList", "name": "addClass", "url": "NodeList.html#method_addClass", "type": "method"}, {"access": "", "host": "Node", "name": "addClass", "url": "Node.html#method_addClass", "type": "method"}, {"access": "", "host": "NodeList", "name": "after", "url": "NodeList.html#method_after", "type": "method"}, {"access": "", "host": "Node", "name": "all", "url": "Node.html#method_all", "type": "method"}, {"access": "", "host": "Node", "name": "ancestor", "url": "Node.html#method_ancestor", "type": "method"}, {"access": "", "host": "NodeList", "name": "append", "url": "NodeList.html#method_append", "type": "method"}, {"access": "", "host": "Node", "name": "append", "url": "Node.html#method_append", "type": "method"}, {"access": "", "host": "Node", "name": "appendChild", "url": "Node.html#method_appendChild", "type": "method"}, {"access": "", "host": "Node", "name": "blur", "url": "Node.html#method_blur", "type": "method"}, {"access": "", "host": "Node", "name": "children", "url": "Node.html#config_children", "type": "config"}, {"access": "", "host": "Node", "name": "cloneNode", "url": "Node.html#method_cloneNode", "type": "method"}, {"access": "", "host": "Node", "name": "compareTo", "url": "Node.html#method_compareTo", "type": "method"}, {"access": "", "host": "Node", "name": "contains", "url": "Node.html#method_contains", "type": "method"}, {"access": "", "host": "Node", "name": "create", "url": "Node.html#method_create", "type": "method"}, {"access": "", "host": "Node", "name": "delegate", "url": "Node.html#method_delegate", "type": "method"}, {"access": "", "host": "NodeList", "name": "detach", "url": "NodeList.html#method_detach", "type": "method"}, {"access": "", "host": "NodeList", "name": "detachAll", "url": "NodeList.html#method_detachAll", "type": "method"}, {"access": "", "host": "Node", "name": "docHeight", "url": "Node.html#config_docHeight", "type": "config"}, {"access": "", "host": "Node", "name": "docScrollX", "url": "Node.html#config_docScrollX", "type": "config"}, {"access": "", "host": "Node", "name": "docScrollY", "url": "Node.html#config_docScrollY", "type": "config"}, {"access": "", "host": "NodeList", "name": "each", "url": "NodeList.html#method_each", "type": "method"}, {"access": "", "host": "Node", "name": "each", "url": "Node.html#method_each", "type": "method"}, {"access": "", "host": "NodeList", "name": "even", "url": "NodeList.html#method_even", "type": "method"}, {"access": "", "host": "NodeList", "name": "filter", "url": "NodeList.html#method_filter", "type": "method"}, {"access": "", "host": "Node", "name": "focus", "url": "Node.html#method_focus", "type": "method"}, {"access": "", "host": "NodeList", "name": "get", "url": "NodeList.html#method_get", "type": "method"}, {"access": "", "host": "Node", "name": "get", "url": "Node.html#method_get", "type": "method"}, {"access": "", "host": "NodeList", "name": "getAttribute", "url": "NodeList.html#method_getAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "getAttribute", "url": "Node.html#method_getAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "getAttrs", "url": "Node.html#method_getAttrs", "type": "method"}, {"access": "", "host": "NodeList", "name": "getComputedStyle", "url": "NodeList.html#method_getComputedStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getComputedStyle", "url": "Node.html#method_getComputedStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getElementsByTagName", "url": "Node.html#method_getElementsByTagName", "type": "method"}, {"access": "", "host": "NodeList", "name": "getStyle", "url": "NodeList.html#method_getStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getStyle", "url": "Node.html#method_getStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getX", "url": "Node.html#method_getX", "type": "method"}, {"access": "", "host": "Node", "name": "getXY", "url": "Node.html#method_getXY", "type": "method"}, {"access": "", "host": "Node", "name": "getY", "url": "Node.html#method_getY", "type": "method"}, {"access": "", "host": "Node", "name": "hasAttribute", "url": "Node.html#method_hasAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "hasChildNodes", "url": "Node.html#method_hasChildNodes", "type": "method"}, {"access": "", "host": "NodeList", "name": "hasClass", "url": "NodeList.html#method_hasClass", "type": "method"}, {"access": "", "host": "Node", "name": "hasClass", "url": "Node.html#method_hasClass", "type": "method"}, {"access": "", "host": "NodeList", "name": "indexOf", "url": "NodeList.html#method_indexOf", "type": "method"}, {"access": "", "host": "Node", "name": "inDoc", "url": "Node.html#method_inDoc", "type": "method"}, {"access": "", "host": "Node", "name": "inRegion", "url": "Node.html#method_inRegion", "type": "method"}, {"access": "", "host": "NodeList", "name": "insert", "url": "NodeList.html#method_insert", "type": "method"}, {"access": "", "host": "Node", "name": "insert", "url": "Node.html#method_insert", "type": "method"}, {"access": "", "host": "Node", "name": "insertBefore", "url": "Node.html#method_insertBefore", "type": "method"}, {"access": "", "host": "Node", "name": "intersect", "url": "Node.html#method_intersect", "type": "method"}, {"access": "", "host": "Node", "name": "invoke", "url": "Node.html#method_invoke", "type": "method"}, {"access": "", "host": "NodeList", "name": "item", "url": "NodeList.html#method_item", "type": "method"}, {"access": "", "host": "Node", "name": "item", "url": "Node.html#method_item", "type": "method"}, {"access": "", "host": "NodeList", "name": "modulus", "url": "NodeList.html#method_modulus", "type": "method"}, {"access": "", "host": "Node", "name": "next", "url": "Node.html#method_next", "type": "method"}, {"access": "", "host": "Node", "name": "Node.getDOMNode", "url": "Node.html#method_Node.getDOMNode", "type": "method"}, {"access": "", "host": "NodeList", "name": "NodeList.getDOMNodes", "url": "NodeList.html#method_NodeList.getDOMNodes", "type": "method"}, {"access": "", "host": "NodeList", "name": "odd", "url": "NodeList.html#method_odd", "type": "method"}, {"access": "", "host": "NodeList", "name": "on", "url": "NodeList.html#method_on", "type": "method"}, {"access": "", "host": "Node", "name": "one", "url": "Node.html#method_one", "type": "method"}, {"access": "", "host": "NodeList", "name": "prepend", "url": "NodeList.html#method_prepend", "type": "method"}, {"access": "", "host": "Node", "name": "prepend", "url": "Node.html#method_prepend", "type": "method"}, {"access": "", "host": "Node", "name": "previous", "url": "Node.html#method_previous", "type": "method"}, {"access": "", "host": "Node", "name": "query", "url": "Node.html#method_query", "type": "method"}, {"access": "", "host": "Node", "name": "queryAll", "url": "Node.html#method_queryAll", "type": "method"}, {"access": "", "host": "NodeList", "name": "refresh", "url": "NodeList.html#method_refresh", "type": "method"}, {"access": "", "host": "Node", "name": "region", "url": "Node.html#config_region", "type": "config"}, {"access": "", "host": "NodeList", "name": "remove", "url": "NodeList.html#method_remove", "type": "method"}, {"access": "", "host": "Node", "name": "remove", "url": "Node.html#method_remove", "type": "method"}, {"access": "", "host": "Node", "name": "removeAttribute", "url": "Node.html#method_removeAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "removeChild", "url": "Node.html#method_removeChild", "type": "method"}, {"access": "", "host": "NodeList", "name": "removeClass", "url": "NodeList.html#method_removeClass", "type": "method"}, {"access": "", "host": "Node", "name": "removeClass", "url": "Node.html#method_removeClass", "type": "method"}, {"access": "", "host": "Node", "name": "replace", "url": "Node.html#method_replace", "type": "method"}, {"access": "", "host": "Node", "name": "replaceChild", "url": "Node.html#method_replaceChild", "type": "method"}, {"access": "", "host": "NodeList", "name": "replaceClass", "url": "NodeList.html#method_replaceClass", "type": "method"}, {"access": "", "host": "Node", "name": "replaceClass", "url": "Node.html#method_replaceClass", "type": "method"}, {"access": "", "host": "Node", "name": "reset", "url": "Node.html#method_reset", "type": "method"}, {"access": "", "host": "Node", "name": "scrollIntoView", "url": "Node.html#method_scrollIntoView", "type": "method"}, {"access": "", "host": "Node", "name": "select", "url": "Node.html#method_select", "type": "method"}, {"access": "", "host": "NodeList", "name": "set", "url": "NodeList.html#method_set", "type": "method"}, {"access": "", "host": "Node", "name": "set", "url": "Node.html#method_set", "type": "method"}, {"access": "", "host": "NodeList", "name": "setAttribute", "url": "NodeList.html#method_setAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "setAttribute", "url": "Node.html#method_setAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "setAttrs", "url": "Node.html#method_setAttrs", "type": "method"}, {"access": "", "host": "NodeList", "name": "setContent", "url": "NodeList.html#method_setContent", "type": "method"}, {"access": "", "host": "Node", "name": "setContent", "url": "Node.html#method_setContent", "type": "method"}, {"access": "", "host": "NodeList", "name": "setStyle", "url": "NodeList.html#method_setStyle", "type": "method"}, {"access": "", "host": "Node", "name": "setStyle", "url": "Node.html#method_setStyle", "type": "method"}, {"access": "", "host": "NodeList", "name": "setStyles", "url": "NodeList.html#method_setStyles", "type": "method"}, {"access": "", "host": "Node", "name": "setStyles", "url": "Node.html#method_setStyles", "type": "method"}, {"access": "", "host": "Node", "name": "setX", "url": "Node.html#method_setX", "type": "method"}, {"access": "", "host": "Node", "name": "setXY", "url": "Node.html#method_setXY", "type": "method"}, {"access": "", "host": "Node", "name": "setY", "url": "Node.html#method_setY", "type": "method"}, {"access": "", "host": "Node", "name": "simulate", "url": "Node.html#method_simulate", "type": "method"}, {"access": "", "host": "NodeList", "name": "size", "url": "NodeList.html#method_size", "type": "method"}, {"access": "", "host": "Node", "name": "size", "url": "Node.html#method_size", "type": "method"}, {"access": "", "host": "NodeList", "name": "some", "url": "NodeList.html#method_some", "type": "method"}, {"access": "", "host": "Node", "name": "submit", "url": "Node.html#method_submit", "type": "method"}, {"access": "", "host": "Node", "name": "test", "url": "Node.html#method_test", "type": "method"}, {"access": "", "host": "Node", "name": "text", "url": "Node.html#config_text", "type": "config"}, {"access": "", "host": "NodeList", "name": "toDocFrag", "url": "NodeList.html#method_toDocFrag", "type": "method"}, {"access": "", "host": "NodeList", "name": "toggleClass", "url": "NodeList.html#method_toggleClass", "type": "method"}, {"access": "", "host": "Node", "name": "toggleClass", "url": "Node.html#method_toggleClass", "type": "method"}, {"access": "", "host": "Node", "name": "viewportRegion", "url": "Node.html#config_viewportRegion", "type": "config"}, {"access": "", "host": "Node", "name": "winHeight", "url": "Node.html#config_winHeight", "type": "config"}, {"access": "", "host": "Node", "name": "winWidth", "url": "Node.html#config_winWidth", "type": "config"}, {"access": "", "host": "Node", "name": "Y.get", "url": "Node.html#method_Y.get", "type": "method"}, {"access": "", "host": "Node", "name": "Y.one", "url": "Node.html#method_Y.one", "type": "method"}];
+</script>
+</body>
+</html>