|
0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
|
3 |
<head> |
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
5 |
<title>API: dom (YUI Library)</title> |
|
|
6 |
|
|
|
7 |
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
|
8 |
<link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
|
9 |
|
|
|
10 |
<script type="text/javascript" src="assets/api-js"></script> |
|
|
11 |
<script type="text/javascript" src="assets/ac-js"></script> |
|
|
12 |
</head> |
|
|
13 |
|
|
|
14 |
<body id="yahoo-com"> |
|
|
15 |
|
|
|
16 |
<div id="doc3" class="yui-t2"> |
|
|
17 |
<div id="hd"> |
|
|
18 |
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
|
19 |
<h3>dom <span class="subtitle">3.0.0</span></h3> |
|
|
20 |
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
|
21 |
> <a href="./module_dom.html" title="dom">dom</a> |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
<form onsubmit="return false"> |
|
|
25 |
<div id="propertysearch"> |
|
|
26 |
Search: <input autocomplete="off" id="searchinput" /> |
|
|
27 |
<div id="searchresults"> |
|
|
28 |
|
|
|
29 |
</div> |
|
|
30 |
</div> |
|
|
31 |
</form> |
|
|
32 |
</div> |
|
|
33 |
|
|
|
34 |
<div id="bd"> |
|
|
35 |
<div id="yui-main"> |
|
|
36 |
<div class="yui-b"> |
|
|
37 |
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
|
38 |
<fieldset> |
|
|
39 |
<legend>Filters</legend> |
|
|
40 |
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
|
41 |
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
|
42 |
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
|
43 |
</fieldset> |
|
|
44 |
</form> |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
<h3>Module: dom |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
</h3> |
|
|
52 |
<div class="description summary"> |
|
|
53 |
Add style management functionality to DOM. |
|
|
54 |
</div> |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
<div class="yui-gc"> |
|
|
59 |
<div class="yui-u first"> |
|
|
60 |
|
|
|
61 |
<p>This module contains the following classes:</p> |
|
|
62 |
<script> |
|
|
63 |
//var YUI_CLASS_LIST = [{"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "Provides DOM helper methods.", "guessedname": "DOM", "name": "DOM"}, {"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "Provides support for using CSS selectors to query the DOM", "guessedname": "Selector", "name": "Selector"}]; |
|
|
64 |
</script> |
|
|
65 |
<div id="splash_classList"> |
|
|
66 |
<ul> |
|
|
67 |
<li><a href="DOM.html" title="DOM" id="class_0">DOM</a></li> |
|
|
68 |
<li><a href="Selector.html" title="Selector" id="class_1">Selector</a></li> |
|
|
69 |
</ul> |
|
|
70 |
</div> |
|
|
71 |
</div> |
|
|
72 |
<div class="yui-u"> |
|
|
73 |
<div class="submodules"> |
|
|
74 |
<h4>Submodules:</h4> |
|
|
75 |
<dl> |
|
|
76 |
<dt><code>dom-style</code></dt> |
|
|
77 |
<dd>Add style management functionality to DOM.</dd> |
|
|
78 |
<dt><code>selector-native</code></dt> |
|
|
79 |
<dd>The selector-native module provides support for native querySelector</dd> |
|
|
80 |
<dt><code>dom-screen</code></dt> |
|
|
81 |
<dd>Adds position and region management functionality to DOM.</dd> |
|
|
82 |
<dt><code>dom-base</code></dt> |
|
|
83 |
<dd>The DOM utility provides a cross-browser abtraction layer |
|
|
84 |
normalizing DOM tasks, and adds extra helper functionality |
|
|
85 |
for other common tasks.</dd> |
|
|
86 |
<dt><code>selector-css3</code></dt> |
|
|
87 |
<dd>The selector css3 module provides support for css3 selectors.</dd> |
|
|
88 |
<dt><code>selector-css2</code></dt> |
|
|
89 |
<dd>The selector module provides helper methods allowing CSS2 Selectors to be used with DOM elements.</dd> |
|
|
90 |
</dl> |
|
|
91 |
</div> |
|
|
92 |
|
|
|
93 |
</div> |
|
|
94 |
</div> |
|
|
95 |
|
|
|
96 |
</div> |
|
|
97 |
</div> |
|
|
98 |
<div class="yui-b"> |
|
|
99 |
<div class="nav"> |
|
|
100 |
|
|
|
101 |
<div id="moduleList" class="module"> |
|
|
102 |
<h4>Modules</h4> |
|
|
103 |
<ul class="content"> |
|
|
104 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
105 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
|
106 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
107 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
108 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
109 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
110 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
111 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
112 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
113 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
114 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
115 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
116 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
117 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
118 |
<li class="selected"><a href="module_dom.html" title="dom">dom</a></li> |
|
|
119 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
120 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
121 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
122 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
123 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
124 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
125 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
|
126 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
127 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
|
128 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
129 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
130 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
131 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
132 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
133 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
134 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
|
135 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
136 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
137 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
138 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
139 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
140 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
141 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
142 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
143 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
144 |
<li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
|
145 |
</ul> |
|
|
146 |
</div> |
|
|
147 |
|
|
|
148 |
<div id="classList" class="module"> |
|
|
149 |
<h4>Classes</h4> |
|
|
150 |
<ul class="content"> |
|
|
151 |
<li class=""><a href="DOM.html" title="DOM">DOM</a></li> |
|
|
152 |
<li class=""><a href="Selector.html" title="Selector">Selector</a></li> |
|
|
153 |
</ul> |
|
|
154 |
</div> |
|
|
155 |
|
|
|
156 |
<div id="fileList" class="module"> |
|
|
157 |
<h4>Files</h4> |
|
|
158 |
<ul class="content"> |
|
|
159 |
<li class=""><a href="color.js.html" title="color.js">color.js</a></li> |
|
|
160 |
<li class=""><a href="dom-class.js.html" title="dom-class.js">dom-class.js</a></li> |
|
|
161 |
<li class=""><a href="dom-ie-style.js.html" title="dom-ie-style.js">dom-ie-style.js</a></li> |
|
|
162 |
<li class=""><a href="dom-region.js.html" title="dom-region.js">dom-region.js</a></li> |
|
|
163 |
<li class=""><a href="dom-screen.js.html" title="dom-screen.js">dom-screen.js</a></li> |
|
|
164 |
<li class=""><a href="dom-style.js.html" title="dom-style.js">dom-style.js</a></li> |
|
|
165 |
<li class=""><a href="dom.js.html" title="dom.js">dom.js</a></li> |
|
|
166 |
<li class=""><a href="selector-css2.js.html" title="selector-css2.js">selector-css2.js</a></li> |
|
|
167 |
<li class=""><a href="selector-css3.js.html" title="selector-css3.js">selector-css3.js</a></li> |
|
|
168 |
<li class=""><a href="selector-native.js.html" title="selector-native.js">selector-native.js</a></li> |
|
|
169 |
</ul> |
|
|
170 |
</div> |
|
|
171 |
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
</div> |
|
|
177 |
</div> |
|
|
178 |
</div> |
|
|
179 |
<div id="ft"> |
|
|
180 |
<hr /> |
|
|
181 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
182 |
</div> |
|
|
183 |
</div> |
|
|
184 |
<script type="text/javascript"> |
|
|
185 |
ALL_YUI_PROPS = [{"access": "", "host": "DOM", "name": "addClass", "url": "DOM.html#method_addClass", "type": "method"}, {"access": "", "host": "DOM", "name": "addHTML", "url": "DOM.html#method_addHTML", "type": "method"}, {"access": "private", "host": "DOM", "name": "_bruteContains", "url": "DOM.html#method__bruteContains", "type": "method"}, {"access": "", "host": "DOM", "name": "byId", "url": "DOM.html#method_byId", "type": "method"}, {"access": "", "host": "DOM", "name": "contains", "url": "DOM.html#method_contains", "type": "method"}, {"access": "", "host": "DOM", "name": "create", "url": "DOM.html#method_create", "type": "method"}, {"access": "", "host": "DOM", "name": "docHeight", "url": "DOM.html#method_docHeight", "type": "method"}, {"access": "", "host": "DOM", "name": "docScrollX", "url": "DOM.html#method_docScrollX", "type": "method"}, {"access": "", "host": "DOM", "name": "docScrollY", "url": "DOM.html#method_docScrollY", "type": "method"}, {"access": "", "host": "DOM", "name": "docWidth", "url": "DOM.html#method_docWidth", "type": "method"}, {"access": "", "host": "DOM", "name": "elementByAxis", "url": "DOM.html#method_elementByAxis", "type": "method"}, {"access": "", "host": "DOM", "name": "getAttibute", "url": "DOM.html#method_getAttibute", "type": "method"}, {"access": "", "host": "DOM", "name": "getComputedStyle", "url": "DOM.html#method_getComputedStyle", "type": "method"}, {"access": "private", "host": "DOM", "name": "_getDoc", "url": "DOM.html#method__getDoc", "type": "method"}, {"access": "private", "host": "DOM", "name": "_getRegExp", "url": "DOM.html#method__getRegExp", "type": "method"}, {"access": "", "host": "DOM", "name": "getStyle", "url": "DOM.html#method_getStyle", "type": "method"}, {"access": "", "host": "DOM", "name": "getText", "url": "DOM.html#method_getText", "type": "method"}, {"access": "private", "host": "DOM", "name": "_getWin", "url": "DOM.html#method__getWin", "type": "method"}, {"access": "", "host": "DOM", "name": "getX", "url": "DOM.html#method_getX", "type": "method"}, {"access": "", "host": "DOM", "name": "getXY", "url": "DOM.html#method_getXY", "type": "method"}, {"access": "", "host": "DOM", "name": "getY", "url": "DOM.html#method_getY", "type": "method"}, {"access": "", "host": "DOM", "name": "hasClass", "url": "DOM.html#method_hasClass", "type": "method"}, {"access": "", "host": "DOM", "name": "inDoc", "url": "DOM.html#method_inDoc", "type": "method"}, {"access": "", "host": "Selector", "name": "inRegion", "url": "Selector.html#method_inRegion", "type": "method"}, {"access": "", "host": "Selector", "name": "intersect", "url": "Selector.html#method_intersect", "type": "method"}, {"access": "", "host": "Selector", "name": "inViewportRegion", "url": "Selector.html#method_inViewportRegion", "type": "method"}, {"access": "", "host": "Selector", "name": "operators", "url": "Selector.html#property_operators", "type": "property"}, {"access": "", "host": "Selector", "name": "PARENT_NODE", "url": "Selector.html#property_PARENT_NODE", "type": "property"}, {"access": "", "host": "Selector", "name": "query", "url": "Selector.html#method_query", "type": "method"}, {"access": "", "host": "Selector", "name": "region", "url": "Selector.html#method_region", "type": "method"}, {"access": "", "host": "DOM", "name": "removeClass", "url": "DOM.html#method_removeClass", "type": "method"}, {"access": "", "host": "DOM", "name": "replaceClass", "url": "DOM.html#method_replaceClass", "type": "method"}, {"access": "", "host": "DOM", "name": "setAttibute", "url": "DOM.html#method_setAttibute", "type": "method"}, {"access": "", "host": "DOM", "name": "setStyle", "url": "DOM.html#method_setStyle", "type": "method"}, {"access": "", "host": "DOM", "name": "setStyles", "url": "DOM.html#method_setStyles", "type": "method"}, {"access": "", "host": "DOM", "name": "setText", "url": "DOM.html#method_setText", "type": "method"}, {"access": "", "host": "DOM", "name": "setX", "url": "DOM.html#method_setX", "type": "method"}, {"access": "", "host": "DOM", "name": "setXY", "url": "DOM.html#method_setXY", "type": "method"}, {"access": "", "host": "DOM", "name": "setY", "url": "DOM.html#method_setY", "type": "method"}, {"access": "", "host": "Selector", "name": "shorthand", "url": "Selector.html#property_shorthand", "type": "property"}, {"access": "", "host": "DOM", "name": "toggleClass", "url": "DOM.html#method_toggleClass", "type": "method"}, {"access": "", "host": "Selector", "name": "_tokenize", "url": "Selector.html#method__tokenize", "type": "method"}, {"access": "", "host": "Selector", "name": "viewportRegion", "url": "Selector.html#method_viewportRegion", "type": "method"}, {"access": "", "host": "DOM", "name": "winHeight", "url": "DOM.html#method_winHeight", "type": "method"}, {"access": "", "host": "DOM", "name": "winWidth", "url": "DOM.html#method_winWidth", "type": "method"}]; |
|
|
186 |
</script> |
|
|
187 |
</body> |
|
|
188 |
</html> |