~bcsaller/juju-gui/charmFind

« back to all changes in this revision

Viewing changes to lib/yui/api/classes/App.html

  • Committer: kapil.foss at gmail
  • Date: 2012-07-13 18:45:59 UTC
  • Revision ID: kapil.foss@gmail.com-20120713184559-2xl7be17egsrz0c9
reshape

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html>
2
 
<html lang="en">
3
 
<head>
4
 
    <meta charset="utf-8">
5
 
    <title>App - YUI 3</title>
6
 
    <link rel="stylesheet" href="http:&#x2F;&#x2F;yui.yahooapis.com&#x2F;3.5.0&#x2F;build&#x2F;cssgrids&#x2F;cssgrids-min.css">
7
 
    <link rel="stylesheet" href="..&#x2F;assets/vendor/prettify/prettify-min.css">
8
 
    <link rel="stylesheet" href="..&#x2F;assets/css/main.css" id="site_styles">
9
 
    <script src="http:&#x2F;&#x2F;yui.yahooapis.com&#x2F;3.5.0&#x2F;build&#x2F;yui&#x2F;yui-min.js"></script>
10
 
</head>
11
 
<body class="yui3-skin-sam">
12
 
 
13
 
<div id="doc">
14
 
    <div id="hd" class="yui3-g header">
15
 
        <div class="yui3-u-3-4">
16
 
            
17
 
                <h1><img src="..&#x2F;assets/css/logo.png" title="YUI 3"></h1>
18
 
            
19
 
        </div>
20
 
        <div class="yui3-u-1-4 version">
21
 
            <em>API Docs for: 3.5.1</em>
22
 
        </div>
23
 
    </div>
24
 
    <div id="bd" class="yui3-g">
25
 
 
26
 
        <div class="yui3-u-1-4">
27
 
            <div id="docs-sidebar" class="sidebar apidocs">
28
 
                <div id="api-list">
29
 
    <h2 class="off-left">APIs</h2>
30
 
    <div id="api-tabview" class="tabview">
31
 
        <ul class="tabs">
32
 
            <li><a href="#api-classes">Classes</a></li>
33
 
            <li><a href="#api-modules">Modules</a></li>
34
 
        </ul>
35
 
 
36
 
        <div id="api-tabview-filter">
37
 
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
38
 
        </div>
39
 
 
40
 
        <div id="api-tabview-panel">
41
 
            <ul id="api-classes" class="apis classes">
42
 
            
43
 
                <li><a href="..&#x2F;classes/Anim.html">Anim</a></li>
44
 
            
45
 
                <li><a href="..&#x2F;classes/App.html">App</a></li>
46
 
            
47
 
                <li><a href="..&#x2F;classes/App.Base.html">App.Base</a></li>
48
 
            
49
 
                <li><a href="..&#x2F;classes/App.Transitions.html">App.Transitions</a></li>
50
 
            
51
 
                <li><a href="..&#x2F;classes/App.TransitionsNative.html">App.TransitionsNative</a></li>
52
 
            
53
 
                <li><a href="..&#x2F;classes/AreaSeries.html">AreaSeries</a></li>
54
 
            
55
 
                <li><a href="..&#x2F;classes/AreaSplineSeries.html">AreaSplineSeries</a></li>
56
 
            
57
 
                <li><a href="..&#x2F;classes/Array.html">Array</a></li>
58
 
            
59
 
                <li><a href="..&#x2F;classes/ArrayList.html">ArrayList</a></li>
60
 
            
61
 
                <li><a href="..&#x2F;classes/ArraySort.html">ArraySort</a></li>
62
 
            
63
 
                <li><a href="..&#x2F;classes/AsyncQueue.html">AsyncQueue</a></li>
64
 
            
65
 
                <li><a href="..&#x2F;classes/Attribute.html">Attribute</a></li>
66
 
            
67
 
                <li><a href="..&#x2F;classes/AttributeCore.html">AttributeCore</a></li>
68
 
            
69
 
                <li><a href="..&#x2F;classes/AttributeEvents.html">AttributeEvents</a></li>
70
 
            
71
 
                <li><a href="..&#x2F;classes/AttributeExtras.html">AttributeExtras</a></li>
72
 
            
73
 
                <li><a href="..&#x2F;classes/AttributeLite.html">AttributeLite</a></li>
74
 
            
75
 
                <li><a href="..&#x2F;classes/AutoComplete.html">AutoComplete</a></li>
76
 
            
77
 
                <li><a href="..&#x2F;classes/AutoCompleteBase.html">AutoCompleteBase</a></li>
78
 
            
79
 
                <li><a href="..&#x2F;classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li>
80
 
            
81
 
                <li><a href="..&#x2F;classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li>
82
 
            
83
 
                <li><a href="..&#x2F;classes/AutoCompleteList.html">AutoCompleteList</a></li>
84
 
            
85
 
                <li><a href="..&#x2F;classes/Axis.html">Axis</a></li>
86
 
            
87
 
                <li><a href="..&#x2F;classes/AxisType.html">AxisType</a></li>
88
 
            
89
 
                <li><a href="..&#x2F;classes/BarSeries.html">BarSeries</a></li>
90
 
            
91
 
                <li><a href="..&#x2F;classes/Base.html">Base</a></li>
92
 
            
93
 
                <li><a href="..&#x2F;classes/BaseCore.html">BaseCore</a></li>
94
 
            
95
 
                <li><a href="..&#x2F;classes/BottomAxisLayout.html">BottomAxisLayout</a></li>
96
 
            
97
 
                <li><a href="..&#x2F;classes/Button.html">Button</a></li>
98
 
            
99
 
                <li><a href="..&#x2F;classes/ButtonCore.html">ButtonCore</a></li>
100
 
            
101
 
                <li><a href="..&#x2F;classes/ButtonGroup.html">ButtonGroup</a></li>
102
 
            
103
 
                <li><a href="..&#x2F;classes/ButtonPlugin.html">ButtonPlugin</a></li>
104
 
            
105
 
                <li><a href="..&#x2F;classes/Cache.html">Cache</a></li>
106
 
            
107
 
                <li><a href="..&#x2F;classes/CacheOffline.html">CacheOffline</a></li>
108
 
            
109
 
                <li><a href="..&#x2F;classes/Calendar.html">Calendar</a></li>
110
 
            
111
 
                <li><a href="..&#x2F;classes/CalendarBase.html">CalendarBase</a></li>
112
 
            
113
 
                <li><a href="..&#x2F;classes/CanvasCircle.html">CanvasCircle</a></li>
114
 
            
115
 
                <li><a href="..&#x2F;classes/CanvasDrawing.html">CanvasDrawing</a></li>
116
 
            
117
 
                <li><a href="..&#x2F;classes/CanvasEllipse.html">CanvasEllipse</a></li>
118
 
            
119
 
                <li><a href="..&#x2F;classes/CanvasGraphic.html">CanvasGraphic</a></li>
120
 
            
121
 
                <li><a href="..&#x2F;classes/CanvasPath.html">CanvasPath</a></li>
122
 
            
123
 
                <li><a href="..&#x2F;classes/CanvasPieSlice.html">CanvasPieSlice</a></li>
124
 
            
125
 
                <li><a href="..&#x2F;classes/CanvasRect.html">CanvasRect</a></li>
126
 
            
127
 
                <li><a href="..&#x2F;classes/CanvasShape.html">CanvasShape</a></li>
128
 
            
129
 
                <li><a href="..&#x2F;classes/CartesianChart.html">CartesianChart</a></li>
130
 
            
131
 
                <li><a href="..&#x2F;classes/CartesianSeries.html">CartesianSeries</a></li>
132
 
            
133
 
                <li><a href="..&#x2F;classes/CategoryAxis.html">CategoryAxis</a></li>
134
 
            
135
 
                <li><a href="..&#x2F;classes/Chart.html">Chart</a></li>
136
 
            
137
 
                <li><a href="..&#x2F;classes/ChartBase.html">ChartBase</a></li>
138
 
            
139
 
                <li><a href="..&#x2F;classes/ChartLegend.html">ChartLegend</a></li>
140
 
            
141
 
                <li><a href="..&#x2F;classes/Circle.html">Circle</a></li>
142
 
            
143
 
                <li><a href="..&#x2F;classes/ClassNameManager.html">ClassNameManager</a></li>
144
 
            
145
 
                <li><a href="..&#x2F;classes/ClickableRail.html">ClickableRail</a></li>
146
 
            
147
 
                <li><a href="..&#x2F;classes/ColumnSeries.html">ColumnSeries</a></li>
148
 
            
149
 
                <li><a href="..&#x2F;classes/ComboSeries.html">ComboSeries</a></li>
150
 
            
151
 
                <li><a href="..&#x2F;classes/ComboSplineSeries.html">ComboSplineSeries</a></li>
152
 
            
153
 
                <li><a href="..&#x2F;classes/config.html">config</a></li>
154
 
            
155
 
                <li><a href="..&#x2F;classes/Console.html">Console</a></li>
156
 
            
157
 
                <li><a href="..&#x2F;classes/Controller.html">Controller</a></li>
158
 
            
159
 
                <li><a href="..&#x2F;classes/Cookie.html">Cookie</a></li>
160
 
            
161
 
                <li><a href="..&#x2F;classes/CurveUtil.html">CurveUtil</a></li>
162
 
            
163
 
                <li><a href="..&#x2F;classes/CustomEvent.html">CustomEvent</a></li>
164
 
            
165
 
                <li><a href="..&#x2F;classes/DataSchema.Array.html">DataSchema.Array</a></li>
166
 
            
167
 
                <li><a href="..&#x2F;classes/DataSchema.Base.html">DataSchema.Base</a></li>
168
 
            
169
 
                <li><a href="..&#x2F;classes/DataSchema.JSON.html">DataSchema.JSON</a></li>
170
 
            
171
 
                <li><a href="..&#x2F;classes/DataSchema.Text.html">DataSchema.Text</a></li>
172
 
            
173
 
                <li><a href="..&#x2F;classes/DataSchema.XML.html">DataSchema.XML</a></li>
174
 
            
175
 
                <li><a href="..&#x2F;classes/DataSource.Function.html">DataSource.Function</a></li>
176
 
            
177
 
                <li><a href="..&#x2F;classes/DataSource.Get.html">DataSource.Get</a></li>
178
 
            
179
 
                <li><a href="..&#x2F;classes/DataSource.IO.html">DataSource.IO</a></li>
180
 
            
181
 
                <li><a href="..&#x2F;classes/DataSource.Local.html">DataSource.Local</a></li>
182
 
            
183
 
                <li><a href="..&#x2F;classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li>
184
 
            
185
 
                <li><a href="..&#x2F;classes/DataSourceCache.html">DataSourceCache</a></li>
186
 
            
187
 
                <li><a href="..&#x2F;classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li>
188
 
            
189
 
                <li><a href="..&#x2F;classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li>
190
 
            
191
 
                <li><a href="..&#x2F;classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li>
192
 
            
193
 
                <li><a href="..&#x2F;classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li>
194
 
            
195
 
                <li><a href="..&#x2F;classes/DataTable.html">DataTable</a></li>
196
 
            
197
 
                <li><a href="..&#x2F;classes/DataTable.Base.html">DataTable.Base</a></li>
198
 
            
199
 
                <li><a href="..&#x2F;classes/DataTable.BodyView.html">DataTable.BodyView</a></li>
200
 
            
201
 
                <li><a href="..&#x2F;classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li>
202
 
            
203
 
                <li><a href="..&#x2F;classes/DataTable.Core.html">DataTable.Core</a></li>
204
 
            
205
 
                <li><a href="..&#x2F;classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li>
206
 
            
207
 
                <li><a href="..&#x2F;classes/DataTable.Message.html">DataTable.Message</a></li>
208
 
            
209
 
                <li><a href="..&#x2F;classes/DataTable.Mutable.html">DataTable.Mutable</a></li>
210
 
            
211
 
                <li><a href="..&#x2F;classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li>
212
 
            
213
 
                <li><a href="..&#x2F;classes/DataTable.Sortable.html">DataTable.Sortable</a></li>
214
 
            
215
 
                <li><a href="..&#x2F;classes/DataType.Date.html">DataType.Date</a></li>
216
 
            
217
 
                <li><a href="..&#x2F;classes/DataType.Date.Locale.html">DataType.Date.Locale</a></li>
218
 
            
219
 
                <li><a href="..&#x2F;classes/DataType.Number.html">DataType.Number</a></li>
220
 
            
221
 
                <li><a href="..&#x2F;classes/DataType.XML.html">DataType.XML</a></li>
222
 
            
223
 
                <li><a href="..&#x2F;classes/DD.DDM.html">DD.DDM</a></li>
224
 
            
225
 
                <li><a href="..&#x2F;classes/DD.Delegate.html">DD.Delegate</a></li>
226
 
            
227
 
                <li><a href="..&#x2F;classes/DD.Drag.html">DD.Drag</a></li>
228
 
            
229
 
                <li><a href="..&#x2F;classes/DD.Drop.html">DD.Drop</a></li>
230
 
            
231
 
                <li><a href="..&#x2F;classes/DD.Scroll.html">DD.Scroll</a></li>
232
 
            
233
 
                <li><a href="..&#x2F;classes/Dial.html">Dial</a></li>
234
 
            
235
 
                <li><a href="..&#x2F;classes/Do.html">Do</a></li>
236
 
            
237
 
                <li><a href="..&#x2F;classes/Do.AlterArgs.html">Do.AlterArgs</a></li>
238
 
            
239
 
                <li><a href="..&#x2F;classes/Do.AlterReturn.html">Do.AlterReturn</a></li>
240
 
            
241
 
                <li><a href="..&#x2F;classes/Do.Error.html">Do.Error</a></li>
242
 
            
243
 
                <li><a href="..&#x2F;classes/Do.Halt.html">Do.Halt</a></li>
244
 
            
245
 
                <li><a href="..&#x2F;classes/Do.Method.html">Do.Method</a></li>
246
 
            
247
 
                <li><a href="..&#x2F;classes/Do.Prevent.html">Do.Prevent</a></li>
248
 
            
249
 
                <li><a href="..&#x2F;classes/DOM.html">DOM</a></li>
250
 
            
251
 
                <li><a href="..&#x2F;classes/DOMEventFacade.html">DOMEventFacade</a></li>
252
 
            
253
 
                <li><a href="..&#x2F;classes/Drawing.html">Drawing</a></li>
254
 
            
255
 
                <li><a href="..&#x2F;classes/Easing.html">Easing</a></li>
256
 
            
257
 
                <li><a href="..&#x2F;classes/EditorBase.html">EditorBase</a></li>
258
 
            
259
 
                <li><a href="..&#x2F;classes/EditorSelection.html">EditorSelection</a></li>
260
 
            
261
 
                <li><a href="..&#x2F;classes/Ellipse.html">Ellipse</a></li>
262
 
            
263
 
                <li><a href="..&#x2F;classes/EllipseGroup.html">EllipseGroup</a></li>
264
 
            
265
 
                <li><a href="..&#x2F;classes/Escape.html">Escape</a></li>
266
 
            
267
 
                <li><a href="..&#x2F;classes/Event.html">Event</a></li>
268
 
            
269
 
                <li><a href="..&#x2F;classes/EventFacade.html">EventFacade</a></li>
270
 
            
271
 
                <li><a href="..&#x2F;classes/EventHandle.html">EventHandle</a></li>
272
 
            
273
 
                <li><a href="..&#x2F;classes/EventTarget.html">EventTarget</a></li>
274
 
            
275
 
                <li><a href="..&#x2F;classes/ExecCommand.html">ExecCommand</a></li>
276
 
            
277
 
                <li><a href="..&#x2F;classes/Features.html">Features</a></li>
278
 
            
279
 
                <li><a href="..&#x2F;classes/File.html">File</a></li>
280
 
            
281
 
                <li><a href="..&#x2F;classes/FileFlash.html">FileFlash</a></li>
282
 
            
283
 
                <li><a href="..&#x2F;classes/FileHTML5.html">FileHTML5</a></li>
284
 
            
285
 
                <li><a href="..&#x2F;classes/Fills.html">Fills</a></li>
286
 
            
287
 
                <li><a href="..&#x2F;classes/Frame.html">Frame</a></li>
288
 
            
289
 
                <li><a href="..&#x2F;classes/Get.html">Get</a></li>
290
 
            
291
 
                <li><a href="..&#x2F;classes/Get.Transaction.html">Get.Transaction</a></li>
292
 
            
293
 
                <li><a href="..&#x2F;classes/GetNodeJS.html">GetNodeJS</a></li>
294
 
            
295
 
                <li><a href="..&#x2F;classes/Graph.html">Graph</a></li>
296
 
            
297
 
                <li><a href="..&#x2F;classes/Graphic.html">Graphic</a></li>
298
 
            
299
 
                <li><a href="..&#x2F;classes/GraphicBase.html">GraphicBase</a></li>
300
 
            
301
 
                <li><a href="..&#x2F;classes/Gridlines.html">Gridlines</a></li>
302
 
            
303
 
                <li><a href="..&#x2F;classes/GroupCircle.html">GroupCircle</a></li>
304
 
            
305
 
                <li><a href="..&#x2F;classes/GroupDiamond.html">GroupDiamond</a></li>
306
 
            
307
 
                <li><a href="..&#x2F;classes/GroupRect.html">GroupRect</a></li>
308
 
            
309
 
                <li><a href="..&#x2F;classes/Handlebars.html">Handlebars</a></li>
310
 
            
311
 
                <li><a href="..&#x2F;classes/Highlight.html">Highlight</a></li>
312
 
            
313
 
                <li><a href="..&#x2F;classes/Histogram.html">Histogram</a></li>
314
 
            
315
 
                <li><a href="..&#x2F;classes/HistoryBase.html">HistoryBase</a></li>
316
 
            
317
 
                <li><a href="..&#x2F;classes/HistoryHash.html">HistoryHash</a></li>
318
 
            
319
 
                <li><a href="..&#x2F;classes/HistoryHTML5.html">HistoryHTML5</a></li>
320
 
            
321
 
                <li><a href="..&#x2F;classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li>
322
 
            
323
 
                <li><a href="..&#x2F;classes/ImgLoadGroup.html">ImgLoadGroup</a></li>
324
 
            
325
 
                <li><a href="..&#x2F;classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li>
326
 
            
327
 
                <li><a href="..&#x2F;classes/Intl.html">Intl</a></li>
328
 
            
329
 
                <li><a href="..&#x2F;classes/IO.html">IO</a></li>
330
 
            
331
 
                <li><a href="..&#x2F;classes/JSON.html">JSON</a></li>
332
 
            
333
 
                <li><a href="..&#x2F;classes/JSONPRequest.html">JSONPRequest</a></li>
334
 
            
335
 
                <li><a href="..&#x2F;classes/Lang.html">Lang</a></li>
336
 
            
337
 
                <li><a href="..&#x2F;classes/LeftAxisLayout.html">LeftAxisLayout</a></li>
338
 
            
339
 
                <li><a href="..&#x2F;classes/Lines.html">Lines</a></li>
340
 
            
341
 
                <li><a href="..&#x2F;classes/LineSeries.html">LineSeries</a></li>
342
 
            
343
 
                <li><a href="..&#x2F;classes/Loader.html">Loader</a></li>
344
 
            
345
 
                <li><a href="..&#x2F;classes/MarkerSeries.html">MarkerSeries</a></li>
346
 
            
347
 
                <li><a href="..&#x2F;classes/Matrix.html">Matrix</a></li>
348
 
            
349
 
                <li><a href="..&#x2F;classes/Model.html">Model</a></li>
350
 
            
351
 
                <li><a href="..&#x2F;classes/ModelList.html">ModelList</a></li>
352
 
            
353
 
                <li><a href="..&#x2F;classes/Node.html">Node</a></li>
354
 
            
355
 
                <li><a href="..&#x2F;classes/NodeList.html">NodeList</a></li>
356
 
            
357
 
                <li><a href="..&#x2F;classes/NumericAxis.html">NumericAxis</a></li>
358
 
            
359
 
                <li><a href="..&#x2F;classes/Object.html">Object</a></li>
360
 
            
361
 
                <li><a href="..&#x2F;classes/Overlay.html">Overlay</a></li>
362
 
            
363
 
                <li><a href="..&#x2F;classes/Panel.html">Panel</a></li>
364
 
            
365
 
                <li><a href="..&#x2F;classes/Parallel.html">Parallel</a></li>
366
 
            
367
 
                <li><a href="..&#x2F;classes/Path.html">Path</a></li>
368
 
            
369
 
                <li><a href="..&#x2F;classes/PieChart.html">PieChart</a></li>
370
 
            
371
 
                <li><a href="..&#x2F;classes/PieSeries.html">PieSeries</a></li>
372
 
            
373
 
                <li><a href="..&#x2F;classes/Pjax.html">Pjax</a></li>
374
 
            
375
 
                <li><a href="..&#x2F;classes/PjaxBase.html">PjaxBase</a></li>
376
 
            
377
 
                <li><a href="..&#x2F;classes/Plots.html">Plots</a></li>
378
 
            
379
 
                <li><a href="..&#x2F;classes/Plugin.Align.html">Plugin.Align</a></li>
380
 
            
381
 
                <li><a href="..&#x2F;classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li>
382
 
            
383
 
                <li><a href="..&#x2F;classes/Plugin.Base.html">Plugin.Base</a></li>
384
 
            
385
 
                <li><a href="..&#x2F;classes/Plugin.Cache.html">Plugin.Cache</a></li>
386
 
            
387
 
                <li><a href="..&#x2F;classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li>
388
 
            
389
 
                <li><a href="..&#x2F;classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li>
390
 
            
391
 
                <li><a href="..&#x2F;classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li>
392
 
            
393
 
                <li><a href="..&#x2F;classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li>
394
 
            
395
 
                <li><a href="..&#x2F;classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li>
396
 
            
397
 
                <li><a href="..&#x2F;classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li>
398
 
            
399
 
                <li><a href="..&#x2F;classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li>
400
 
            
401
 
                <li><a href="..&#x2F;classes/Plugin.DDWindowScroll.html">Plugin.DDWindowScroll</a></li>
402
 
            
403
 
                <li><a href="..&#x2F;classes/Plugin.Drag.html">Plugin.Drag</a></li>
404
 
            
405
 
                <li><a href="..&#x2F;classes/Plugin.Drop.html">Plugin.Drop</a></li>
406
 
            
407
 
                <li><a href="..&#x2F;classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li>
408
 
            
409
 
                <li><a href="..&#x2F;classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li>
410
 
            
411
 
                <li><a href="..&#x2F;classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li>
412
 
            
413
 
                <li><a href="..&#x2F;classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li>
414
 
            
415
 
                <li><a href="..&#x2F;classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li>
416
 
            
417
 
                <li><a href="..&#x2F;classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li>
418
 
            
419
 
                <li><a href="..&#x2F;classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li>
420
 
            
421
 
                <li><a href="..&#x2F;classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li>
422
 
            
423
 
                <li><a href="..&#x2F;classes/Plugin.Flick.html">Plugin.Flick</a></li>
424
 
            
425
 
                <li><a href="..&#x2F;classes/Plugin.Host.html">Plugin.Host</a></li>
426
 
            
427
 
                <li><a href="..&#x2F;classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li>
428
 
            
429
 
                <li><a href="..&#x2F;classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li>
430
 
            
431
 
                <li><a href="..&#x2F;classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li>
432
 
            
433
 
                <li><a href="..&#x2F;classes/Plugin.Pjax.html">Plugin.Pjax</a></li>
434
 
            
435
 
                <li><a href="..&#x2F;classes/Plugin.Resize.html">Plugin.Resize</a></li>
436
 
            
437
 
                <li><a href="..&#x2F;classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li>
438
 
            
439
 
                <li><a href="..&#x2F;classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li>
440
 
            
441
 
                <li><a href="..&#x2F;classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li>
442
 
            
443
 
                <li><a href="..&#x2F;classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li>
444
 
            
445
 
                <li><a href="..&#x2F;classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li>
446
 
            
447
 
                <li><a href="..&#x2F;classes/Plugin.Shim.html">Plugin.Shim</a></li>
448
 
            
449
 
                <li><a href="..&#x2F;classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li>
450
 
            
451
 
                <li><a href="..&#x2F;classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li>
452
 
            
453
 
                <li><a href="..&#x2F;classes/Pollable.html">Pollable</a></li>
454
 
            
455
 
                <li><a href="..&#x2F;classes/Profiler.html">Profiler</a></li>
456
 
            
457
 
                <li><a href="..&#x2F;classes/QueryString.html">QueryString</a></li>
458
 
            
459
 
                <li><a href="..&#x2F;classes/Queue.html">Queue</a></li>
460
 
            
461
 
                <li><a href="..&#x2F;classes/Record.html">Record</a></li>
462
 
            
463
 
                <li><a href="..&#x2F;classes/Recordset.html">Recordset</a></li>
464
 
            
465
 
                <li><a href="..&#x2F;classes/RecordsetFilter.html">RecordsetFilter</a></li>
466
 
            
467
 
                <li><a href="..&#x2F;classes/RecordsetIndexer.html">RecordsetIndexer</a></li>
468
 
            
469
 
                <li><a href="..&#x2F;classes/RecordsetSort.html">RecordsetSort</a></li>
470
 
            
471
 
                <li><a href="..&#x2F;classes/Rect.html">Rect</a></li>
472
 
            
473
 
                <li><a href="..&#x2F;classes/Renderer.html">Renderer</a></li>
474
 
            
475
 
                <li><a href="..&#x2F;classes/Resize.html">Resize</a></li>
476
 
            
477
 
                <li><a href="..&#x2F;classes/RightAxisLayout.html">RightAxisLayout</a></li>
478
 
            
479
 
                <li><a href="..&#x2F;classes/Router.html">Router</a></li>
480
 
            
481
 
                <li><a href="..&#x2F;classes/ScrollView.html">ScrollView</a></li>
482
 
            
483
 
                <li><a href="..&#x2F;classes/Selector.html">Selector</a></li>
484
 
            
485
 
                <li><a href="..&#x2F;classes/Shape.html">Shape</a></li>
486
 
            
487
 
                <li><a href="..&#x2F;classes/ShapeGroup.html">ShapeGroup</a></li>
488
 
            
489
 
                <li><a href="..&#x2F;classes/Slider.html">Slider</a></li>
490
 
            
491
 
                <li><a href="..&#x2F;classes/SliderBase.html">SliderBase</a></li>
492
 
            
493
 
                <li><a href="..&#x2F;classes/SliderValueRange.html">SliderValueRange</a></li>
494
 
            
495
 
                <li><a href="..&#x2F;classes/Sortable.html">Sortable</a></li>
496
 
            
497
 
                <li><a href="..&#x2F;classes/SplineSeries.html">SplineSeries</a></li>
498
 
            
499
 
                <li><a href="..&#x2F;classes/StackedAreaSeries.html">StackedAreaSeries</a></li>
500
 
            
501
 
                <li><a href="..&#x2F;classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li>
502
 
            
503
 
                <li><a href="..&#x2F;classes/StackedAxis.html">StackedAxis</a></li>
504
 
            
505
 
                <li><a href="..&#x2F;classes/StackedBarSeries.html">StackedBarSeries</a></li>
506
 
            
507
 
                <li><a href="..&#x2F;classes/StackedColumnSeries.html">StackedColumnSeries</a></li>
508
 
            
509
 
                <li><a href="..&#x2F;classes/StackedComboSeries.html">StackedComboSeries</a></li>
510
 
            
511
 
                <li><a href="..&#x2F;classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li>
512
 
            
513
 
                <li><a href="..&#x2F;classes/StackedLineSeries.html">StackedLineSeries</a></li>
514
 
            
515
 
                <li><a href="..&#x2F;classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li>
516
 
            
517
 
                <li><a href="..&#x2F;classes/StackedSplineSeries.html">StackedSplineSeries</a></li>
518
 
            
519
 
                <li><a href="..&#x2F;classes/StackingUtil.html">StackingUtil</a></li>
520
 
            
521
 
                <li><a href="..&#x2F;classes/State.html">State</a></li>
522
 
            
523
 
                <li><a href="..&#x2F;classes/StyleSheet.html">StyleSheet</a></li>
524
 
            
525
 
                <li><a href="..&#x2F;classes/Subscriber.html">Subscriber</a></li>
526
 
            
527
 
                <li><a href="..&#x2F;classes/SVGCircle.html">SVGCircle</a></li>
528
 
            
529
 
                <li><a href="..&#x2F;classes/SVGDrawing.html">SVGDrawing</a></li>
530
 
            
531
 
                <li><a href="..&#x2F;classes/SVGEllipse.html">SVGEllipse</a></li>
532
 
            
533
 
                <li><a href="..&#x2F;classes/SVGGraphic.html">SVGGraphic</a></li>
534
 
            
535
 
                <li><a href="..&#x2F;classes/SVGPath.html">SVGPath</a></li>
536
 
            
537
 
                <li><a href="..&#x2F;classes/SVGPieSlice.html">SVGPieSlice</a></li>
538
 
            
539
 
                <li><a href="..&#x2F;classes/SVGRect.html">SVGRect</a></li>
540
 
            
541
 
                <li><a href="..&#x2F;classes/SVGShape.html">SVGShape</a></li>
542
 
            
543
 
                <li><a href="..&#x2F;classes/SWF.html">SWF</a></li>
544
 
            
545
 
                <li><a href="..&#x2F;classes/SWFDetect.html">SWFDetect</a></li>
546
 
            
547
 
                <li><a href="..&#x2F;classes/SyntheticEvent.html">SyntheticEvent</a></li>
548
 
            
549
 
                <li><a href="..&#x2F;classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li>
550
 
            
551
 
                <li><a href="..&#x2F;classes/SynthRegistry.html">SynthRegistry</a></li>
552
 
            
553
 
                <li><a href="..&#x2F;classes/Tab.html">Tab</a></li>
554
 
            
555
 
                <li><a href="..&#x2F;classes/TabView.html">TabView</a></li>
556
 
            
557
 
                <li><a href="..&#x2F;classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li>
558
 
            
559
 
                <li><a href="..&#x2F;classes/Test.Assert.html">Test.Assert</a></li>
560
 
            
561
 
                <li><a href="..&#x2F;classes/Test.AssertionError.html">Test.AssertionError</a></li>
562
 
            
563
 
                <li><a href="..&#x2F;classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li>
564
 
            
565
 
                <li><a href="..&#x2F;classes/Test.Console.html">Test.Console</a></li>
566
 
            
567
 
                <li><a href="..&#x2F;classes/Test.CoverageFormat.html">Test.CoverageFormat</a></li>
568
 
            
569
 
                <li><a href="..&#x2F;classes/Test.DateAssert.html">Test.DateAssert</a></li>
570
 
            
571
 
                <li><a href="..&#x2F;classes/Test.EventTarget.html">Test.EventTarget</a></li>
572
 
            
573
 
                <li><a href="..&#x2F;classes/Test.Mock.html">Test.Mock</a></li>
574
 
            
575
 
                <li><a href="..&#x2F;classes/Test.Mock.Value.html">Test.Mock.Value</a></li>
576
 
            
577
 
                <li><a href="..&#x2F;classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li>
578
 
            
579
 
                <li><a href="..&#x2F;classes/Test.Reporter.html">Test.Reporter</a></li>
580
 
            
581
 
                <li><a href="..&#x2F;classes/Test.Results.html">Test.Results</a></li>
582
 
            
583
 
                <li><a href="..&#x2F;classes/Test.Runner.html">Test.Runner</a></li>
584
 
            
585
 
                <li><a href="..&#x2F;classes/Test.ShouldError.html">Test.ShouldError</a></li>
586
 
            
587
 
                <li><a href="..&#x2F;classes/Test.ShouldFail.html">Test.ShouldFail</a></li>
588
 
            
589
 
                <li><a href="..&#x2F;classes/Test.TestCase.html">Test.TestCase</a></li>
590
 
            
591
 
                <li><a href="..&#x2F;classes/Test.TestFormat.html">Test.TestFormat</a></li>
592
 
            
593
 
                <li><a href="..&#x2F;classes/Test.TestNode.html">Test.TestNode</a></li>
594
 
            
595
 
                <li><a href="..&#x2F;classes/Test.TestRunner.html">Test.TestRunner</a></li>
596
 
            
597
 
                <li><a href="..&#x2F;classes/Test.TestSuite.html">Test.TestSuite</a></li>
598
 
            
599
 
                <li><a href="..&#x2F;classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li>
600
 
            
601
 
                <li><a href="..&#x2F;classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li>
602
 
            
603
 
                <li><a href="..&#x2F;classes/Test.Wait.html">Test.Wait</a></li>
604
 
            
605
 
                <li><a href="..&#x2F;classes/Text.AccentFold.html">Text.AccentFold</a></li>
606
 
            
607
 
                <li><a href="..&#x2F;classes/Text.WordBreak.html">Text.WordBreak</a></li>
608
 
            
609
 
                <li><a href="..&#x2F;classes/TimeAxis.html">TimeAxis</a></li>
610
 
            
611
 
                <li><a href="..&#x2F;classes/ToggleButton.html">ToggleButton</a></li>
612
 
            
613
 
                <li><a href="..&#x2F;classes/TopAxisLayout.html">TopAxisLayout</a></li>
614
 
            
615
 
                <li><a href="..&#x2F;classes/Transition.html">Transition</a></li>
616
 
            
617
 
                <li><a href="..&#x2F;classes/UA.html">UA</a></li>
618
 
            
619
 
                <li><a href="..&#x2F;classes/Uploader.html">Uploader</a></li>
620
 
            
621
 
                <li><a href="..&#x2F;classes/Uploader.Queue.html">Uploader.Queue</a></li>
622
 
            
623
 
                <li><a href="..&#x2F;classes/UploaderFlash.html">UploaderFlash</a></li>
624
 
            
625
 
                <li><a href="..&#x2F;classes/UploaderHTML5.html">UploaderHTML5</a></li>
626
 
            
627
 
                <li><a href="..&#x2F;classes/ValueChange.html">ValueChange</a></li>
628
 
            
629
 
                <li><a href="..&#x2F;classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li>
630
 
            
631
 
                <li><a href="..&#x2F;classes/View.html">View</a></li>
632
 
            
633
 
                <li><a href="..&#x2F;classes/View.NodeMap.html">View.NodeMap</a></li>
634
 
            
635
 
                <li><a href="..&#x2F;classes/VMLCircle.html">VMLCircle</a></li>
636
 
            
637
 
                <li><a href="..&#x2F;classes/VMLDrawing.html">VMLDrawing</a></li>
638
 
            
639
 
                <li><a href="..&#x2F;classes/VMLEllipse.html">VMLEllipse</a></li>
640
 
            
641
 
                <li><a href="..&#x2F;classes/VMLGraphic.html">VMLGraphic</a></li>
642
 
            
643
 
                <li><a href="..&#x2F;classes/VMLPath.html">VMLPath</a></li>
644
 
            
645
 
                <li><a href="..&#x2F;classes/VMLPieSlice.html">VMLPieSlice</a></li>
646
 
            
647
 
                <li><a href="..&#x2F;classes/VMLRect.html">VMLRect</a></li>
648
 
            
649
 
                <li><a href="..&#x2F;classes/VMLShape.html">VMLShape</a></li>
650
 
            
651
 
                <li><a href="..&#x2F;classes/Widget.html">Widget</a></li>
652
 
            
653
 
                <li><a href="..&#x2F;classes/WidgetAutohide.html">WidgetAutohide</a></li>
654
 
            
655
 
                <li><a href="..&#x2F;classes/WidgetButtons.html">WidgetButtons</a></li>
656
 
            
657
 
                <li><a href="..&#x2F;classes/WidgetChild.html">WidgetChild</a></li>
658
 
            
659
 
                <li><a href="..&#x2F;classes/WidgetModality.html">WidgetModality</a></li>
660
 
            
661
 
                <li><a href="..&#x2F;classes/WidgetParent.html">WidgetParent</a></li>
662
 
            
663
 
                <li><a href="..&#x2F;classes/WidgetPosition.html">WidgetPosition</a></li>
664
 
            
665
 
                <li><a href="..&#x2F;classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li>
666
 
            
667
 
                <li><a href="..&#x2F;classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li>
668
 
            
669
 
                <li><a href="..&#x2F;classes/WidgetStack.html">WidgetStack</a></li>
670
 
            
671
 
                <li><a href="..&#x2F;classes/WidgetStdMod.html">WidgetStdMod</a></li>
672
 
            
673
 
                <li><a href="..&#x2F;classes/YQL.html">YQL</a></li>
674
 
            
675
 
                <li><a href="..&#x2F;classes/YQLRequest.html">YQLRequest</a></li>
676
 
            
677
 
                <li><a href="..&#x2F;classes/YUI.html">YUI</a></li>
678
 
            
679
 
                <li><a href="..&#x2F;classes/YUI~substitute.html">YUI~substitute</a></li>
680
 
            
681
 
            </ul>
682
 
 
683
 
            <ul id="api-modules" class="apis modules">
684
 
            
685
 
                <li><a href="..&#x2F;modules/align-plugin.html">align-plugin</a></li>
686
 
            
687
 
                <li><a href="..&#x2F;modules/anim.html">anim</a></li>
688
 
            
689
 
                <li><a href="..&#x2F;modules/anim-base.html">anim-base</a></li>
690
 
            
691
 
                <li><a href="..&#x2F;modules/anim-color.html">anim-color</a></li>
692
 
            
693
 
                <li><a href="..&#x2F;modules/anim-curve.html">anim-curve</a></li>
694
 
            
695
 
                <li><a href="..&#x2F;modules/anim-easing.html">anim-easing</a></li>
696
 
            
697
 
                <li><a href="..&#x2F;modules/anim-node-plugin.html">anim-node-plugin</a></li>
698
 
            
699
 
                <li><a href="..&#x2F;modules/anim-scroll.html">anim-scroll</a></li>
700
 
            
701
 
                <li><a href="..&#x2F;modules/anim-shape-transform.html">anim-shape-transform</a></li>
702
 
            
703
 
                <li><a href="..&#x2F;modules/anim-xy.html">anim-xy</a></li>
704
 
            
705
 
                <li><a href="..&#x2F;modules/app.html">app</a></li>
706
 
            
707
 
                <li><a href="..&#x2F;modules/app-base.html">app-base</a></li>
708
 
            
709
 
                <li><a href="..&#x2F;modules/app-transitions.html">app-transitions</a></li>
710
 
            
711
 
                <li><a href="..&#x2F;modules/app-transitions-native.html">app-transitions-native</a></li>
712
 
            
713
 
                <li><a href="..&#x2F;modules/array-extras.html">array-extras</a></li>
714
 
            
715
 
                <li><a href="..&#x2F;modules/array-invoke.html">array-invoke</a></li>
716
 
            
717
 
                <li><a href="..&#x2F;modules/arraylist.html">arraylist</a></li>
718
 
            
719
 
                <li><a href="..&#x2F;modules/arraylist-add.html">arraylist-add</a></li>
720
 
            
721
 
                <li><a href="..&#x2F;modules/arraylist-filter.html">arraylist-filter</a></li>
722
 
            
723
 
                <li><a href="..&#x2F;modules/arraysort.html">arraysort</a></li>
724
 
            
725
 
                <li><a href="..&#x2F;modules/async-queue.html">async-queue</a></li>
726
 
            
727
 
                <li><a href="..&#x2F;modules/attribute.html">attribute</a></li>
728
 
            
729
 
                <li><a href="..&#x2F;modules/attribute-base.html">attribute-base</a></li>
730
 
            
731
 
                <li><a href="..&#x2F;modules/attribute-complex.html">attribute-complex</a></li>
732
 
            
733
 
                <li><a href="..&#x2F;modules/attribute-core.html">attribute-core</a></li>
734
 
            
735
 
                <li><a href="..&#x2F;modules/attribute-events.html">attribute-events</a></li>
736
 
            
737
 
                <li><a href="..&#x2F;modules/attribute-extras.html">attribute-extras</a></li>
738
 
            
739
 
                <li><a href="..&#x2F;modules/autocomplete.html">autocomplete</a></li>
740
 
            
741
 
                <li><a href="..&#x2F;modules/autocomplete-base.html">autocomplete-base</a></li>
742
 
            
743
 
                <li><a href="..&#x2F;modules/autocomplete-filters.html">autocomplete-filters</a></li>
744
 
            
745
 
                <li><a href="..&#x2F;modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li>
746
 
            
747
 
                <li><a href="..&#x2F;modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li>
748
 
            
749
 
                <li><a href="..&#x2F;modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li>
750
 
            
751
 
                <li><a href="..&#x2F;modules/autocomplete-list.html">autocomplete-list</a></li>
752
 
            
753
 
                <li><a href="..&#x2F;modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li>
754
 
            
755
 
                <li><a href="..&#x2F;modules/autocomplete-plugin.html">autocomplete-plugin</a></li>
756
 
            
757
 
                <li><a href="..&#x2F;modules/autocomplete-sources.html">autocomplete-sources</a></li>
758
 
            
759
 
                <li><a href="..&#x2F;modules/base.html">base</a></li>
760
 
            
761
 
                <li><a href="..&#x2F;modules/base-base.html">base-base</a></li>
762
 
            
763
 
                <li><a href="..&#x2F;modules/base-build.html">base-build</a></li>
764
 
            
765
 
                <li><a href="..&#x2F;modules/base-core.html">base-core</a></li>
766
 
            
767
 
                <li><a href="..&#x2F;modules/base-pluginhost.html">base-pluginhost</a></li>
768
 
            
769
 
                <li><a href="..&#x2F;modules/button.html">button</a></li>
770
 
            
771
 
                <li><a href="..&#x2F;modules/button-core.html">button-core</a></li>
772
 
            
773
 
                <li><a href="..&#x2F;modules/button-group.html">button-group</a></li>
774
 
            
775
 
                <li><a href="..&#x2F;modules/button-plugin.html">button-plugin</a></li>
776
 
            
777
 
                <li><a href="..&#x2F;modules/cache.html">cache</a></li>
778
 
            
779
 
                <li><a href="..&#x2F;modules/cache-base.html">cache-base</a></li>
780
 
            
781
 
                <li><a href="..&#x2F;modules/cache-offline.html">cache-offline</a></li>
782
 
            
783
 
                <li><a href="..&#x2F;modules/cache-plugin.html">cache-plugin</a></li>
784
 
            
785
 
                <li><a href="..&#x2F;modules/calendar.html">calendar</a></li>
786
 
            
787
 
                <li><a href="..&#x2F;modules/calendar-base.html">calendar-base</a></li>
788
 
            
789
 
                <li><a href="..&#x2F;modules/calendarnavigator.html">calendarnavigator</a></li>
790
 
            
791
 
                <li><a href="..&#x2F;modules/charts.html">charts</a></li>
792
 
            
793
 
                <li><a href="..&#x2F;modules/charts-legend.html">charts-legend</a></li>
794
 
            
795
 
                <li><a href="..&#x2F;modules/classnamemanager.html">classnamemanager</a></li>
796
 
            
797
 
                <li><a href="..&#x2F;modules/clickable-rail.html">clickable-rail</a></li>
798
 
            
799
 
                <li><a href="..&#x2F;modules/collection.html">collection</a></li>
800
 
            
801
 
                <li><a href="..&#x2F;modules/console.html">console</a></li>
802
 
            
803
 
                <li><a href="..&#x2F;modules/console-filters.html">console-filters</a></li>
804
 
            
805
 
                <li><a href="..&#x2F;modules/cookie.html">cookie</a></li>
806
 
            
807
 
                <li><a href="..&#x2F;modules/createlink-base.html">createlink-base</a></li>
808
 
            
809
 
                <li><a href="..&#x2F;modules/dataschema.html">dataschema</a></li>
810
 
            
811
 
                <li><a href="..&#x2F;modules/dataschema-array.html">dataschema-array</a></li>
812
 
            
813
 
                <li><a href="..&#x2F;modules/dataschema-base.html">dataschema-base</a></li>
814
 
            
815
 
                <li><a href="..&#x2F;modules/dataschema-json.html">dataschema-json</a></li>
816
 
            
817
 
                <li><a href="..&#x2F;modules/dataschema-text.html">dataschema-text</a></li>
818
 
            
819
 
                <li><a href="..&#x2F;modules/dataschema-xml.html">dataschema-xml</a></li>
820
 
            
821
 
                <li><a href="..&#x2F;modules/datasource.html">datasource</a></li>
822
 
            
823
 
                <li><a href="..&#x2F;modules/datasource-arrayschema.html">datasource-arrayschema</a></li>
824
 
            
825
 
                <li><a href="..&#x2F;modules/datasource-cache.html">datasource-cache</a></li>
826
 
            
827
 
                <li><a href="..&#x2F;modules/datasource-function.html">datasource-function</a></li>
828
 
            
829
 
                <li><a href="..&#x2F;modules/datasource-get.html">datasource-get</a></li>
830
 
            
831
 
                <li><a href="..&#x2F;modules/datasource-io.html">datasource-io</a></li>
832
 
            
833
 
                <li><a href="..&#x2F;modules/datasource-jsonschema.html">datasource-jsonschema</a></li>
834
 
            
835
 
                <li><a href="..&#x2F;modules/datasource-local.html">datasource-local</a></li>
836
 
            
837
 
                <li><a href="..&#x2F;modules/datasource-polling.html">datasource-polling</a></li>
838
 
            
839
 
                <li><a href="..&#x2F;modules/datasource-textschema.html">datasource-textschema</a></li>
840
 
            
841
 
                <li><a href="..&#x2F;modules/datasource-xmlschema.html">datasource-xmlschema</a></li>
842
 
            
843
 
                <li><a href="..&#x2F;modules/datatable.html">datatable</a></li>
844
 
            
845
 
                <li><a href="..&#x2F;modules/datatable-base.html">datatable-base</a></li>
846
 
            
847
 
                <li><a href="..&#x2F;modules/datatable-base-deprecated.html">datatable-base-deprecated</a></li>
848
 
            
849
 
                <li><a href="..&#x2F;modules/datatable-body.html">datatable-body</a></li>
850
 
            
851
 
                <li><a href="..&#x2F;modules/datatable-column-widths.html">datatable-column-widths</a></li>
852
 
            
853
 
                <li><a href="..&#x2F;modules/datatable-core.html">datatable-core</a></li>
854
 
            
855
 
                <li><a href="..&#x2F;modules/datatable-datasource.html">datatable-datasource</a></li>
856
 
            
857
 
                <li><a href="..&#x2F;modules/datatable-datasource-deprecated.html">datatable-datasource-deprecated</a></li>
858
 
            
859
 
                <li><a href="..&#x2F;modules/datatable-deprecated.html">datatable-deprecated</a></li>
860
 
            
861
 
                <li><a href="..&#x2F;modules/datatable-head.html">datatable-head</a></li>
862
 
            
863
 
                <li><a href="..&#x2F;modules/datatable-message.html">datatable-message</a></li>
864
 
            
865
 
                <li><a href="..&#x2F;modules/datatable-mutable.html">datatable-mutable</a></li>
866
 
            
867
 
                <li><a href="..&#x2F;modules/datatable-scroll.html">datatable-scroll</a></li>
868
 
            
869
 
                <li><a href="..&#x2F;modules/datatable-scroll-deprecated.html">datatable-scroll-deprecated</a></li>
870
 
            
871
 
                <li><a href="..&#x2F;modules/datatable-sort.html">datatable-sort</a></li>
872
 
            
873
 
                <li><a href="..&#x2F;modules/datatable-sort-deprecated.html">datatable-sort-deprecated</a></li>
874
 
            
875
 
                <li><a href="..&#x2F;modules/datatype.html">datatype</a></li>
876
 
            
877
 
                <li><a href="..&#x2F;modules/datatype-date.html">datatype-date</a></li>
878
 
            
879
 
                <li><a href="..&#x2F;modules/datatype-date-format.html">datatype-date-format</a></li>
880
 
            
881
 
                <li><a href="..&#x2F;modules/datatype-date-math.html">datatype-date-math</a></li>
882
 
            
883
 
                <li><a href="..&#x2F;modules/datatype-date-parse.html">datatype-date-parse</a></li>
884
 
            
885
 
                <li><a href="..&#x2F;modules/datatype-number.html">datatype-number</a></li>
886
 
            
887
 
                <li><a href="..&#x2F;modules/datatype-number-format.html">datatype-number-format</a></li>
888
 
            
889
 
                <li><a href="..&#x2F;modules/datatype-number-parse.html">datatype-number-parse</a></li>
890
 
            
891
 
                <li><a href="..&#x2F;modules/datatype-xml.html">datatype-xml</a></li>
892
 
            
893
 
                <li><a href="..&#x2F;modules/datatype-xml-format.html">datatype-xml-format</a></li>
894
 
            
895
 
                <li><a href="..&#x2F;modules/datatype-xml-parse.html">datatype-xml-parse</a></li>
896
 
            
897
 
                <li><a href="..&#x2F;modules/dd.html">dd</a></li>
898
 
            
899
 
                <li><a href="..&#x2F;modules/dd-constrain.html">dd-constrain</a></li>
900
 
            
901
 
                <li><a href="..&#x2F;modules/dd-ddm.html">dd-ddm</a></li>
902
 
            
903
 
                <li><a href="..&#x2F;modules/dd-ddm-base.html">dd-ddm-base</a></li>
904
 
            
905
 
                <li><a href="..&#x2F;modules/dd-ddm-drop.html">dd-ddm-drop</a></li>
906
 
            
907
 
                <li><a href="..&#x2F;modules/dd-delegate.html">dd-delegate</a></li>
908
 
            
909
 
                <li><a href="..&#x2F;modules/dd-drag.html">dd-drag</a></li>
910
 
            
911
 
                <li><a href="..&#x2F;modules/dd-drop.html">dd-drop</a></li>
912
 
            
913
 
                <li><a href="..&#x2F;modules/dd-drop-plugin.html">dd-drop-plugin</a></li>
914
 
            
915
 
                <li><a href="..&#x2F;modules/dd-plugin.html">dd-plugin</a></li>
916
 
            
917
 
                <li><a href="..&#x2F;modules/dd-proxy.html">dd-proxy</a></li>
918
 
            
919
 
                <li><a href="..&#x2F;modules/dd-scroll.html">dd-scroll</a></li>
920
 
            
921
 
                <li><a href="..&#x2F;modules/dial.html">dial</a></li>
922
 
            
923
 
                <li><a href="..&#x2F;modules/dom.html">dom</a></li>
924
 
            
925
 
                <li><a href="..&#x2F;modules/dom-base.html">dom-base</a></li>
926
 
            
927
 
                <li><a href="..&#x2F;modules/dom-screen.html">dom-screen</a></li>
928
 
            
929
 
                <li><a href="..&#x2F;modules/dom-style.html">dom-style</a></li>
930
 
            
931
 
                <li><a href="..&#x2F;modules/dump.html">dump</a></li>
932
 
            
933
 
                <li><a href="..&#x2F;modules/editor.html">editor</a></li>
934
 
            
935
 
                <li><a href="..&#x2F;modules/editor-base.html">editor-base</a></li>
936
 
            
937
 
                <li><a href="..&#x2F;modules/editor-bidi.html">editor-bidi</a></li>
938
 
            
939
 
                <li><a href="..&#x2F;modules/editor-br.html">editor-br</a></li>
940
 
            
941
 
                <li><a href="..&#x2F;modules/editor-lists.html">editor-lists</a></li>
942
 
            
943
 
                <li><a href="..&#x2F;modules/editor-para.html">editor-para</a></li>
944
 
            
945
 
                <li><a href="..&#x2F;modules/editor-para-base.html">editor-para-base</a></li>
946
 
            
947
 
                <li><a href="..&#x2F;modules/editor-para-ie.html">editor-para-ie</a></li>
948
 
            
949
 
                <li><a href="..&#x2F;modules/editor-tab.html">editor-tab</a></li>
950
 
            
951
 
                <li><a href="..&#x2F;modules/escape.html">escape</a></li>
952
 
            
953
 
                <li><a href="..&#x2F;modules/event.html">event</a></li>
954
 
            
955
 
                <li><a href="..&#x2F;modules/event-base.html">event-base</a></li>
956
 
            
957
 
                <li><a href="..&#x2F;modules/event-contextmenu.html">event-contextmenu</a></li>
958
 
            
959
 
                <li><a href="..&#x2F;modules/event-custom.html">event-custom</a></li>
960
 
            
961
 
                <li><a href="..&#x2F;modules/event-custom-base.html">event-custom-base</a></li>
962
 
            
963
 
                <li><a href="..&#x2F;modules/event-custom-complex.html">event-custom-complex</a></li>
964
 
            
965
 
                <li><a href="..&#x2F;modules/event-delegate.html">event-delegate</a></li>
966
 
            
967
 
                <li><a href="..&#x2F;modules/event-flick.html">event-flick</a></li>
968
 
            
969
 
                <li><a href="..&#x2F;modules/event-focus.html">event-focus</a></li>
970
 
            
971
 
                <li><a href="..&#x2F;modules/event-gestures.html">event-gestures</a></li>
972
 
            
973
 
                <li><a href="..&#x2F;modules/event-hover.html">event-hover</a></li>
974
 
            
975
 
                <li><a href="..&#x2F;modules/event-key.html">event-key</a></li>
976
 
            
977
 
                <li><a href="..&#x2F;modules/event-mouseenter.html">event-mouseenter</a></li>
978
 
            
979
 
                <li><a href="..&#x2F;modules/event-mousewheel.html">event-mousewheel</a></li>
980
 
            
981
 
                <li><a href="..&#x2F;modules/event-move.html">event-move</a></li>
982
 
            
983
 
                <li><a href="..&#x2F;modules/event-outside.html">event-outside</a></li>
984
 
            
985
 
                <li><a href="..&#x2F;modules/event-resize.html">event-resize</a></li>
986
 
            
987
 
                <li><a href="..&#x2F;modules/event-simulate.html">event-simulate</a></li>
988
 
            
989
 
                <li><a href="..&#x2F;modules/event-synthetic.html">event-synthetic</a></li>
990
 
            
991
 
                <li><a href="..&#x2F;modules/event-touch.html">event-touch</a></li>
992
 
            
993
 
                <li><a href="..&#x2F;modules/event-valuechange.html">event-valuechange</a></li>
994
 
            
995
 
                <li><a href="..&#x2F;modules/exec-command.html">exec-command</a></li>
996
 
            
997
 
                <li><a href="..&#x2F;modules/features.html">features</a></li>
998
 
            
999
 
                <li><a href="..&#x2F;modules/file.html">file</a></li>
1000
 
            
1001
 
                <li><a href="..&#x2F;modules/file-flash.html">file-flash</a></li>
1002
 
            
1003
 
                <li><a href="..&#x2F;modules/file-html5.html">file-html5</a></li>
1004
 
            
1005
 
                <li><a href="..&#x2F;modules/frame.html">frame</a></li>
1006
 
            
1007
 
                <li><a href="..&#x2F;modules/get.html">get</a></li>
1008
 
            
1009
 
                <li><a href="..&#x2F;modules/get-nodejs.html">get-nodejs</a></li>
1010
 
            
1011
 
                <li><a href="..&#x2F;modules/graphics.html">graphics</a></li>
1012
 
            
1013
 
                <li><a href="..&#x2F;modules/handlebars.html">handlebars</a></li>
1014
 
            
1015
 
                <li><a href="..&#x2F;modules/handlebars-base.html">handlebars-base</a></li>
1016
 
            
1017
 
                <li><a href="..&#x2F;modules/handlebars-compiler.html">handlebars-compiler</a></li>
1018
 
            
1019
 
                <li><a href="..&#x2F;modules/highlight.html">highlight</a></li>
1020
 
            
1021
 
                <li><a href="..&#x2F;modules/highlight-accentfold.html">highlight-accentfold</a></li>
1022
 
            
1023
 
                <li><a href="..&#x2F;modules/highlight-base.html">highlight-base</a></li>
1024
 
            
1025
 
                <li><a href="..&#x2F;modules/history.html">history</a></li>
1026
 
            
1027
 
                <li><a href="..&#x2F;modules/history-base.html">history-base</a></li>
1028
 
            
1029
 
                <li><a href="..&#x2F;modules/history-hash.html">history-hash</a></li>
1030
 
            
1031
 
                <li><a href="..&#x2F;modules/history-hash-ie.html">history-hash-ie</a></li>
1032
 
            
1033
 
                <li><a href="..&#x2F;modules/history-html5.html">history-html5</a></li>
1034
 
            
1035
 
                <li><a href="..&#x2F;modules/imageloader.html">imageloader</a></li>
1036
 
            
1037
 
                <li><a href="..&#x2F;modules/intl.html">intl</a></li>
1038
 
            
1039
 
                <li><a href="..&#x2F;modules/io.html">io</a></li>
1040
 
            
1041
 
                <li><a href="..&#x2F;modules/io-base.html">io-base</a></li>
1042
 
            
1043
 
                <li><a href="..&#x2F;modules/io-form.html">io-form</a></li>
1044
 
            
1045
 
                <li><a href="..&#x2F;modules/io-queue.html">io-queue</a></li>
1046
 
            
1047
 
                <li><a href="..&#x2F;modules/io-upload-iframe.html">io-upload-iframe</a></li>
1048
 
            
1049
 
                <li><a href="..&#x2F;modules/io-xdr.html">io-xdr</a></li>
1050
 
            
1051
 
                <li><a href="..&#x2F;modules/json.html">json</a></li>
1052
 
            
1053
 
                <li><a href="..&#x2F;modules/json-parse.html">json-parse</a></li>
1054
 
            
1055
 
                <li><a href="..&#x2F;modules/json-stringify.html">json-stringify</a></li>
1056
 
            
1057
 
                <li><a href="..&#x2F;modules/jsonp.html">jsonp</a></li>
1058
 
            
1059
 
                <li><a href="..&#x2F;modules/jsonp-url.html">jsonp-url</a></li>
1060
 
            
1061
 
                <li><a href="..&#x2F;modules/loader.html">loader</a></li>
1062
 
            
1063
 
                <li><a href="..&#x2F;modules/loader-base.html">loader-base</a></li>
1064
 
            
1065
 
                <li><a href="..&#x2F;modules/matrix.html">matrix</a></li>
1066
 
            
1067
 
                <li><a href="..&#x2F;modules/model.html">model</a></li>
1068
 
            
1069
 
                <li><a href="..&#x2F;modules/model-list.html">model-list</a></li>
1070
 
            
1071
 
                <li><a href="..&#x2F;modules/node.html">node</a></li>
1072
 
            
1073
 
                <li><a href="..&#x2F;modules/node-base.html">node-base</a></li>
1074
 
            
1075
 
                <li><a href="..&#x2F;modules/node-core.html">node-core</a></li>
1076
 
            
1077
 
                <li><a href="..&#x2F;modules/node-data.html">node-data</a></li>
1078
 
            
1079
 
                <li><a href="..&#x2F;modules/node-deprecated.html">node-deprecated</a></li>
1080
 
            
1081
 
                <li><a href="..&#x2F;modules/node-event-delegate.html">node-event-delegate</a></li>
1082
 
            
1083
 
                <li><a href="..&#x2F;modules/node-event-html5.html">node-event-html5</a></li>
1084
 
            
1085
 
                <li><a href="..&#x2F;modules/node-event-simulate.html">node-event-simulate</a></li>
1086
 
            
1087
 
                <li><a href="..&#x2F;modules/node-flick.html">node-flick</a></li>
1088
 
            
1089
 
                <li><a href="..&#x2F;modules/node-focusmanager.html">node-focusmanager</a></li>
1090
 
            
1091
 
                <li><a href="..&#x2F;modules/node-load.html">node-load</a></li>
1092
 
            
1093
 
                <li><a href="..&#x2F;modules/node-menunav.html">node-menunav</a></li>
1094
 
            
1095
 
                <li><a href="..&#x2F;modules/node-pluginhost.html">node-pluginhost</a></li>
1096
 
            
1097
 
                <li><a href="..&#x2F;modules/node-screen.html">node-screen</a></li>
1098
 
            
1099
 
                <li><a href="..&#x2F;modules/node-style.html">node-style</a></li>
1100
 
            
1101
 
                <li><a href="..&#x2F;modules/oop.html">oop</a></li>
1102
 
            
1103
 
                <li><a href="..&#x2F;modules/overlay.html">overlay</a></li>
1104
 
            
1105
 
                <li><a href="..&#x2F;modules/panel.html">panel</a></li>
1106
 
            
1107
 
                <li><a href="..&#x2F;modules/parallel.html">parallel</a></li>
1108
 
            
1109
 
                <li><a href="..&#x2F;modules/pjax.html">pjax</a></li>
1110
 
            
1111
 
                <li><a href="..&#x2F;modules/pjax-base.html">pjax-base</a></li>
1112
 
            
1113
 
                <li><a href="..&#x2F;modules/pjax-plugin.html">pjax-plugin</a></li>
1114
 
            
1115
 
                <li><a href="..&#x2F;modules/plugin.html">plugin</a></li>
1116
 
            
1117
 
                <li><a href="..&#x2F;modules/pluginhost.html">pluginhost</a></li>
1118
 
            
1119
 
                <li><a href="..&#x2F;modules/pluginhost-base.html">pluginhost-base</a></li>
1120
 
            
1121
 
                <li><a href="..&#x2F;modules/pluginhost-config.html">pluginhost-config</a></li>
1122
 
            
1123
 
                <li><a href="..&#x2F;modules/profiler.html">profiler</a></li>
1124
 
            
1125
 
                <li><a href="..&#x2F;modules/querystring.html">querystring</a></li>
1126
 
            
1127
 
                <li><a href="..&#x2F;modules/querystring-parse.html">querystring-parse</a></li>
1128
 
            
1129
 
                <li><a href="..&#x2F;modules/querystring-parse-simple.html">querystring-parse-simple</a></li>
1130
 
            
1131
 
                <li><a href="..&#x2F;modules/querystring-stringify.html">querystring-stringify</a></li>
1132
 
            
1133
 
                <li><a href="..&#x2F;modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li>
1134
 
            
1135
 
                <li><a href="..&#x2F;modules/queue-promote.html">queue-promote</a></li>
1136
 
            
1137
 
                <li><a href="..&#x2F;modules/range-slider.html">range-slider</a></li>
1138
 
            
1139
 
                <li><a href="..&#x2F;modules/recordset.html">recordset</a></li>
1140
 
            
1141
 
                <li><a href="..&#x2F;modules/recordset-base.html">recordset-base</a></li>
1142
 
            
1143
 
                <li><a href="..&#x2F;modules/recordset-filter.html">recordset-filter</a></li>
1144
 
            
1145
 
                <li><a href="..&#x2F;modules/recordset-indexer.html">recordset-indexer</a></li>
1146
 
            
1147
 
                <li><a href="..&#x2F;modules/recordset-sort.html">recordset-sort</a></li>
1148
 
            
1149
 
                <li><a href="..&#x2F;modules/resize.html">resize</a></li>
1150
 
            
1151
 
                <li><a href="..&#x2F;modules/resize-contrain.html">resize-contrain</a></li>
1152
 
            
1153
 
                <li><a href="..&#x2F;modules/resize-plugin.html">resize-plugin</a></li>
1154
 
            
1155
 
                <li><a href="..&#x2F;modules/resize-proxy.html">resize-proxy</a></li>
1156
 
            
1157
 
                <li><a href="..&#x2F;modules/rollup.html">rollup</a></li>
1158
 
            
1159
 
                <li><a href="..&#x2F;modules/router.html">router</a></li>
1160
 
            
1161
 
                <li><a href="..&#x2F;modules/scrollview.html">scrollview</a></li>
1162
 
            
1163
 
                <li><a href="..&#x2F;modules/scrollview-base.html">scrollview-base</a></li>
1164
 
            
1165
 
                <li><a href="..&#x2F;modules/scrollview-base-ie.html">scrollview-base-ie</a></li>
1166
 
            
1167
 
                <li><a href="..&#x2F;modules/scrollview-list.html">scrollview-list</a></li>
1168
 
            
1169
 
                <li><a href="..&#x2F;modules/scrollview-paginator.html">scrollview-paginator</a></li>
1170
 
            
1171
 
                <li><a href="..&#x2F;modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li>
1172
 
            
1173
 
                <li><a href="..&#x2F;modules/selection.html">selection</a></li>
1174
 
            
1175
 
                <li><a href="..&#x2F;modules/selector-css2.html">selector-css2</a></li>
1176
 
            
1177
 
                <li><a href="..&#x2F;modules/selector-css3.html">selector-css3</a></li>
1178
 
            
1179
 
                <li><a href="..&#x2F;modules/selector-native.html">selector-native</a></li>
1180
 
            
1181
 
                <li><a href="..&#x2F;modules/shim-plugin.html">shim-plugin</a></li>
1182
 
            
1183
 
                <li><a href="..&#x2F;modules/slider.html">slider</a></li>
1184
 
            
1185
 
                <li><a href="..&#x2F;modules/slider-base.html">slider-base</a></li>
1186
 
            
1187
 
                <li><a href="..&#x2F;modules/slider-value-range.html">slider-value-range</a></li>
1188
 
            
1189
 
                <li><a href="..&#x2F;modules/sortable.html">sortable</a></li>
1190
 
            
1191
 
                <li><a href="..&#x2F;modules/sortable-scroll.html">sortable-scroll</a></li>
1192
 
            
1193
 
                <li><a href="..&#x2F;modules/stylesheet.html">stylesheet</a></li>
1194
 
            
1195
 
                <li><a href="..&#x2F;modules/substitute.html">substitute</a></li>
1196
 
            
1197
 
                <li><a href="..&#x2F;modules/swf.html">swf</a></li>
1198
 
            
1199
 
                <li><a href="..&#x2F;modules/swfdetect.html">swfdetect</a></li>
1200
 
            
1201
 
                <li><a href="..&#x2F;modules/tabview.html">tabview</a></li>
1202
 
            
1203
 
                <li><a href="..&#x2F;modules/test.html">test</a></li>
1204
 
            
1205
 
                <li><a href="..&#x2F;modules/test-console.html">test-console</a></li>
1206
 
            
1207
 
                <li><a href="..&#x2F;modules/text.html">text</a></li>
1208
 
            
1209
 
                <li><a href="..&#x2F;modules/text-accentfold.html">text-accentfold</a></li>
1210
 
            
1211
 
                <li><a href="..&#x2F;modules/text-wordbreak.html">text-wordbreak</a></li>
1212
 
            
1213
 
                <li><a href="..&#x2F;modules/transition.html">transition</a></li>
1214
 
            
1215
 
                <li><a href="..&#x2F;modules/uploader.html">uploader</a></li>
1216
 
            
1217
 
                <li><a href="..&#x2F;modules/uploader-deprecated.html">uploader-deprecated</a></li>
1218
 
            
1219
 
                <li><a href="..&#x2F;modules/uploader-flash.html">uploader-flash</a></li>
1220
 
            
1221
 
                <li><a href="..&#x2F;modules/uploader-html5.html">uploader-html5</a></li>
1222
 
            
1223
 
                <li><a href="..&#x2F;modules/uploader-queue.html">uploader-queue</a></li>
1224
 
            
1225
 
                <li><a href="..&#x2F;modules/view.html">view</a></li>
1226
 
            
1227
 
                <li><a href="..&#x2F;modules/view-node-map.html">view-node-map</a></li>
1228
 
            
1229
 
                <li><a href="..&#x2F;modules/widget.html">widget</a></li>
1230
 
            
1231
 
                <li><a href="..&#x2F;modules/widget-anim.html">widget-anim</a></li>
1232
 
            
1233
 
                <li><a href="..&#x2F;modules/widget-autohide.html">widget-autohide</a></li>
1234
 
            
1235
 
                <li><a href="..&#x2F;modules/widget-base.html">widget-base</a></li>
1236
 
            
1237
 
                <li><a href="..&#x2F;modules/widget-base-ie.html">widget-base-ie</a></li>
1238
 
            
1239
 
                <li><a href="..&#x2F;modules/widget-buttons.html">widget-buttons</a></li>
1240
 
            
1241
 
                <li><a href="..&#x2F;modules/widget-child.html">widget-child</a></li>
1242
 
            
1243
 
                <li><a href="..&#x2F;modules/widget-htmlparser.html">widget-htmlparser</a></li>
1244
 
            
1245
 
                <li><a href="..&#x2F;modules/widget-locale.html">widget-locale</a></li>
1246
 
            
1247
 
                <li><a href="..&#x2F;modules/widget-modality.html">widget-modality</a></li>
1248
 
            
1249
 
                <li><a href="..&#x2F;modules/widget-parent.html">widget-parent</a></li>
1250
 
            
1251
 
                <li><a href="..&#x2F;modules/widget-position.html">widget-position</a></li>
1252
 
            
1253
 
                <li><a href="..&#x2F;modules/widget-position-align.html">widget-position-align</a></li>
1254
 
            
1255
 
                <li><a href="..&#x2F;modules/widget-position-constrain.html">widget-position-constrain</a></li>
1256
 
            
1257
 
                <li><a href="..&#x2F;modules/widget-skin.html">widget-skin</a></li>
1258
 
            
1259
 
                <li><a href="..&#x2F;modules/widget-stack.html">widget-stack</a></li>
1260
 
            
1261
 
                <li><a href="..&#x2F;modules/widget-stdmod.html">widget-stdmod</a></li>
1262
 
            
1263
 
                <li><a href="..&#x2F;modules/widget-uievents.html">widget-uievents</a></li>
1264
 
            
1265
 
                <li><a href="..&#x2F;modules/yql.html">yql</a></li>
1266
 
            
1267
 
                <li><a href="..&#x2F;modules/yui.html">yui</a></li>
1268
 
            
1269
 
                <li><a href="..&#x2F;modules/yui-base.html">yui-base</a></li>
1270
 
            
1271
 
                <li><a href="..&#x2F;modules/yui-later.html">yui-later</a></li>
1272
 
            
1273
 
                <li><a href="..&#x2F;modules/yui-log.html">yui-log</a></li>
1274
 
            
1275
 
                <li><a href="..&#x2F;modules/yui-throttle.html">yui-throttle</a></li>
1276
 
            
1277
 
                <li><a href="..&#x2F;modules/yui3.html">yui3</a></li>
1278
 
            
1279
 
            </ul>
1280
 
        </div>
1281
 
    </div>
1282
 
</div>
1283
 
 
1284
 
            </div>
1285
 
        </div>
1286
 
        <div class="yui3-u-3-4">
1287
 
                <div id="api-options">
1288
 
        Show:
1289
 
        <label for="api-show-inherited">
1290
 
            <input type="checkbox" id="api-show-inherited" checked>
1291
 
            Inherited
1292
 
        </label>
1293
 
 
1294
 
        <label for="api-show-protected">
1295
 
            <input type="checkbox" id="api-show-protected">
1296
 
            Protected
1297
 
        </label>
1298
 
 
1299
 
        <label for="api-show-private">
1300
 
            <input type="checkbox" id="api-show-private">
1301
 
            Private
1302
 
        </label>
1303
 
    </div>
1304
 
 
1305
 
 
1306
 
            <div class="apidocs">
1307
 
                <div id="docs-main">
1308
 
                    <div class="content">
1309
 
                        <h1>App Class</h1>
1310
 
<div class="box meta">
1311
 
    
1312
 
        <div class="uses">
1313
 
            Uses
1314
 
            <ul class="inline commas">
1315
 
                
1316
 
                    <li><a href="App.Transitions.html">App.Transitions</a></li>
1317
 
                
1318
 
            </ul>
1319
 
        </div>
1320
 
    
1321
 
 
1322
 
    
1323
 
        <div class="extends">
1324
 
            Extends <a href="../classes/App.Base.html" class="crosslink">App.Base</a>
1325
 
        </div>
1326
 
    
1327
 
 
1328
 
    
1329
 
        <div class="foundat">
1330
 
            Defined in: <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l1100"><code>app&#x2F;js&#x2F;app-base.js:1100</code></a>
1331
 
        </div>
1332
 
    
1333
 
 
1334
 
    
1335
 
        
1336
 
            Module: <a href="../modules/app-base.html">app-base</a><br>
1337
 
            Parent Module: <a href="../modules/app.html">app</a>
1338
 
        
1339
 
    
1340
 
 
1341
 
    
1342
 
        <p>Available since 3.5.0</p>
1343
 
    
1344
 
</div>
1345
 
 
1346
 
 
1347
 
 
1348
 
<div class="box intro">
1349
 
    <p>Provides a top-level application component which manages navigation and views.</p>
1350
 
 
1351
 
<p>This gives you a foundation and structure on which to build your application; it
1352
 
combines robust URL navigation with powerful routing and flexible view
1353
 
management.</p>
1354
 
 
1355
 
<p><code>Y.App</code> is both a namespace and constructor function. The <code>Y.App</code> class is
1356
 
special in that any <code>Y.App</code> class extensions that are included in the YUI
1357
 
instance will be <strong>auto-mixed</strong> on to the <code>Y.App</code> class. Consider this example:</p>
1358
 
 
1359
 
<pre class="code"><code class="prettyprint">YUI().use('app-base', 'app-transitions', function (Y) {
1360
 
    // This will create two YUI Apps, <code>basicApp</code> will not have transitions,
1361
 
    // but <code>fancyApp</code> will have transitions support included and turn it on.
1362
 
    var basicApp = new Y.App.Base(),
1363
 
        fancyApp = new Y.App({transitions: true});
1364
 
});
1365
 
</code></pre>
1366
 
</div>
1367
 
 
1368
 
 
1369
 
    <div class="constructor">
1370
 
        <h2>Constructor</h2>
1371
 
        <div id="method_App" class="method item">
1372
 
    <h3 class="name"><code>App</code></h3>
1373
 
 
1374
 
    
1375
 
        <div class="args">
1376
 
            <span class="paren">(</span><ul class="args-list inline commas">
1377
 
            
1378
 
                <li class="arg">
1379
 
                    
1380
 
                        <code class="optional">[config]</code>
1381
 
                    
1382
 
                </li>
1383
 
            
1384
 
            </ul><span class="paren">)</span>
1385
 
        </div>
1386
 
    
1387
 
 
1388
 
    
1389
 
 
1390
 
    
1391
 
 
1392
 
    
1393
 
 
1394
 
    
1395
 
 
1396
 
    
1397
 
 
1398
 
    
1399
 
 
1400
 
    <div class="meta">
1401
 
        
1402
 
            
1403
 
                
1404
 
                <p>
1405
 
                
1406
 
                Defined in
1407
 
                
1408
 
            
1409
 
        
1410
 
        
1411
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l1100"><code>app&#x2F;js&#x2F;app-base.js:1100</code></a>
1412
 
        
1413
 
        </p>
1414
 
 
1415
 
 
1416
 
        
1417
 
 
1418
 
        
1419
 
            <p>Available since 3.5.0</p>
1420
 
        
1421
 
    </div>
1422
 
 
1423
 
    <div class="description">
1424
 
        
1425
 
    </div>
1426
 
 
1427
 
    
1428
 
        <div class="params">
1429
 
            <h4>Parameters:</h4>
1430
 
 
1431
 
            <ul class="params-list">
1432
 
            
1433
 
                <li class="param">
1434
 
                    
1435
 
                        <code class="param-name optional">[config]</code>
1436
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1437
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
1438
 
                    
1439
 
 
1440
 
                    
1441
 
 
1442
 
                    <div class="param-description">
1443
 
                        <p>The following are configuration properties that can be
1444
 
    specified <em>in addition</em> to default attribute values and the non-attribute
1445
 
    properties provided by <code>Y.Base</code>:</p>
1446
 
                    </div>
1447
 
 
1448
 
                    
1449
 
                        <ul class="params-list">
1450
 
                            
1451
 
                            <li class="param">
1452
 
                                
1453
 
                                    <code class="param-name optional">[views]</code>
1454
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1455
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
1456
 
                                
1457
 
 
1458
 
                                <div class="param-description">
1459
 
                                    <p>Hash of view-name to metadata used to
1460
 
    declaratively describe an application's views and their relationship with
1461
 
    the app and other views. The views specified here will override any defaults
1462
 
    provided by the <code>views</code> object on the <code>prototype</code>.</p>
1463
 
                                </div>
1464
 
 
1465
 
                                
1466
 
                            </li>
1467
 
                            
1468
 
                        </ul>
1469
 
                    
1470
 
                </li>
1471
 
            
1472
 
            </ul>
1473
 
        </div>
1474
 
    
1475
 
 
1476
 
    
1477
 
 
1478
 
    
1479
 
</div>
1480
 
 
1481
 
    </div>
1482
 
 
1483
 
 
1484
 
<div id="classdocs" class="tabview">
1485
 
    <ul class="api-class-tabs">
1486
 
        <li class="api-class-tab index"><a href="#index">Index</a></li>
1487
 
 
1488
 
        
1489
 
            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1490
 
        
1491
 
        
1492
 
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1493
 
        
1494
 
        
1495
 
            <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
1496
 
        
1497
 
        
1498
 
            <li class="api-class-tab events"><a href="#events">Events</a></li>
1499
 
        
1500
 
    </ul>
1501
 
 
1502
 
    <div>
1503
 
        <div id="index" class="api-class-tabpanel index">
1504
 
            <h2 class="off-left">Item Index</h2>
1505
 
 
1506
 
            
1507
 
                <div class="index-section methods">
1508
 
                    <h3>Methods</h3>
1509
 
 
1510
 
                    <ul class="index-list methods">
1511
 
                        
1512
 
                            <li class="index-item method private inherited">
1513
 
                                <a href="#method__addAttrs">_addAttrs</a>
1514
 
 
1515
 
                                
1516
 
                            </li>
1517
 
                        
1518
 
                            <li class="index-item method private inherited">
1519
 
                                <a href="#method__addLazyAttr">_addLazyAttr</a>
1520
 
 
1521
 
                                
1522
 
                            </li>
1523
 
                        
1524
 
                            <li class="index-item method protected inherited">
1525
 
                                <a href="#method__afterActiveViewChange">_afterActiveViewChange</a>
1526
 
 
1527
 
                                
1528
 
                            </li>
1529
 
                        
1530
 
                            <li class="index-item method protected inherited">
1531
 
                                <a href="#method__afterContainerChange">_afterContainerChange</a>
1532
 
 
1533
 
                                
1534
 
                            </li>
1535
 
                        
1536
 
                            <li class="index-item method protected inherited">
1537
 
                                <a href="#method__afterHistoryChange">_afterHistoryChange</a>
1538
 
 
1539
 
                                
1540
 
                            </li>
1541
 
                        
1542
 
                            <li class="index-item method private inherited">
1543
 
                                <a href="#method__aggregateAttrs">_aggregateAttrs</a>
1544
 
 
1545
 
                                
1546
 
                            </li>
1547
 
                        
1548
 
                            <li class="index-item method protected inherited">
1549
 
                                <a href="#method__attachView">_attachView</a>
1550
 
 
1551
 
                                
1552
 
                            </li>
1553
 
                        
1554
 
                            <li class="index-item method private inherited inherited">
1555
 
                                <a href="#method__attrCfgHash">_attrCfgHash</a>
1556
 
 
1557
 
                                
1558
 
                            </li>
1559
 
                        
1560
 
                            <li class="index-item method private inherited">
1561
 
                                <a href="#method__baseDestroy">_baseDestroy</a>
1562
 
 
1563
 
                                
1564
 
                            </li>
1565
 
                        
1566
 
                            <li class="index-item method private inherited">
1567
 
                                <a href="#method__baseInit">_baseInit</a>
1568
 
 
1569
 
                                
1570
 
                            </li>
1571
 
                        
1572
 
                            <li class="index-item method protected inherited">
1573
 
                                <a href="#method__decode">_decode</a>
1574
 
 
1575
 
                                
1576
 
                            </li>
1577
 
                        
1578
 
                            <li class="index-item method private inherited">
1579
 
                                <a href="#method__defAttrChangeFn">_defAttrChangeFn</a>
1580
 
 
1581
 
                                
1582
 
                            </li>
1583
 
                        
1584
 
                            <li class="index-item method protected inherited">
1585
 
                                <a href="#method__defDestroyFn">_defDestroyFn</a>
1586
 
 
1587
 
                                
1588
 
                            </li>
1589
 
                        
1590
 
                            <li class="index-item method protected inherited">
1591
 
                                <a href="#method__defInitFn">_defInitFn</a>
1592
 
 
1593
 
                                
1594
 
                            </li>
1595
 
                        
1596
 
                            <li class="index-item method protected inherited">
1597
 
                                <a href="#method__defNavigateFn">_defNavigateFn</a>
1598
 
 
1599
 
                                
1600
 
                            </li>
1601
 
                        
1602
 
                            <li class="index-item method protected inherited">
1603
 
                                <a href="#method__defReadyFn">_defReadyFn</a>
1604
 
 
1605
 
                                
1606
 
                            </li>
1607
 
                        
1608
 
                            <li class="index-item method protected inherited">
1609
 
                                <a href="#method__dequeue">_dequeue</a>
1610
 
 
1611
 
                                
1612
 
                            </li>
1613
 
                        
1614
 
                            <li class="index-item method protected inherited inherited">
1615
 
                                <a href="#method__destroyContainer">_destroyContainer</a>
1616
 
 
1617
 
                                
1618
 
                            </li>
1619
 
                        
1620
 
                            <li class="index-item method private inherited">
1621
 
                                <a href="#method__destroyHierarchy">_destroyHierarchy</a>
1622
 
 
1623
 
                                
1624
 
                            </li>
1625
 
                        
1626
 
                            <li class="index-item method protected inherited">
1627
 
                                <a href="#method__detachView">_detachView</a>
1628
 
 
1629
 
                                
1630
 
                            </li>
1631
 
                        
1632
 
                            <li class="index-item method protected inherited">
1633
 
                                <a href="#method__dispatch">_dispatch</a>
1634
 
 
1635
 
                                
1636
 
                            </li>
1637
 
                        
1638
 
                            <li class="index-item method private inherited">
1639
 
                                <a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>
1640
 
 
1641
 
                                
1642
 
                            </li>
1643
 
                        
1644
 
                            <li class="index-item method private inherited">
1645
 
                                <a href="#method__filterAttrCfs">_filterAttrCfs</a>
1646
 
 
1647
 
                                
1648
 
                            </li>
1649
 
                        
1650
 
                            <li class="index-item method private inherited">
1651
 
                                <a href="#method__fireAttrChange">_fireAttrChange</a>
1652
 
 
1653
 
                                
1654
 
                            </li>
1655
 
                        
1656
 
                            <li class="index-item method protected inherited">
1657
 
                                <a href="#method__getAttr">_getAttr</a>
1658
 
 
1659
 
                                
1660
 
                            </li>
1661
 
                        
1662
 
                            <li class="index-item method protected inherited">
1663
 
                                <a href="#method__getAttrCfg">_getAttrCfg</a>
1664
 
 
1665
 
                                
1666
 
                            </li>
1667
 
                        
1668
 
                            <li class="index-item method protected inherited">
1669
 
                                <a href="#method__getAttrCfgs">_getAttrCfgs</a>
1670
 
 
1671
 
                                
1672
 
                            </li>
1673
 
                        
1674
 
                            <li class="index-item method private inherited inherited">
1675
 
                                <a href="#method__getAttrInitVal">_getAttrInitVal</a>
1676
 
 
1677
 
                                
1678
 
                            </li>
1679
 
                        
1680
 
                            <li class="index-item method protected inherited">
1681
 
                                <a href="#method__getAttrs">_getAttrs</a>
1682
 
 
1683
 
                                
1684
 
                            </li>
1685
 
                        
1686
 
                            <li class="index-item method protected inherited">
1687
 
                                <a href="#method__getClasses">_getClasses</a>
1688
 
 
1689
 
                                
1690
 
                            </li>
1691
 
                        
1692
 
                            <li class="index-item method protected inherited">
1693
 
                                <a href="#method__getContainer">_getContainer</a>
1694
 
 
1695
 
                                
1696
 
                            </li>
1697
 
                        
1698
 
                            <li class="index-item method protected inherited">
1699
 
                                <a href="#method__getHashPath">_getHashPath</a>
1700
 
 
1701
 
                                
1702
 
                            </li>
1703
 
                        
1704
 
                            <li class="index-item method protected inherited">
1705
 
                                <a href="#method__getOrigin">_getOrigin</a>
1706
 
 
1707
 
                                
1708
 
                            </li>
1709
 
                        
1710
 
                            <li class="index-item method protected inherited">
1711
 
                                <a href="#method__getPath">_getPath</a>
1712
 
 
1713
 
                                
1714
 
                            </li>
1715
 
                        
1716
 
                            <li class="index-item method protected inherited">
1717
 
                                <a href="#method__getQuery">_getQuery</a>
1718
 
 
1719
 
                                
1720
 
                            </li>
1721
 
                        
1722
 
                            <li class="index-item method protected inherited">
1723
 
                                <a href="#method__getRegex">_getRegex</a>
1724
 
 
1725
 
                                
1726
 
                            </li>
1727
 
                        
1728
 
                            <li class="index-item method protected inherited">
1729
 
                                <a href="#method__getRequest">_getRequest</a>
1730
 
 
1731
 
                                
1732
 
                            </li>
1733
 
                        
1734
 
                            <li class="index-item method protected inherited">
1735
 
                                <a href="#method__getResponse">_getResponse</a>
1736
 
 
1737
 
                                
1738
 
                            </li>
1739
 
                        
1740
 
                            <li class="index-item method protected inherited">
1741
 
                                <a href="#method__getRoot">_getRoot</a>
1742
 
 
1743
 
                                
1744
 
                            </li>
1745
 
                        
1746
 
                            <li class="index-item method protected inherited">
1747
 
                                <a href="#method__getRoutes">_getRoutes</a>
1748
 
 
1749
 
                                
1750
 
                            </li>
1751
 
                        
1752
 
                            <li class="index-item method private inherited">
1753
 
                                <a href="#method__getStateVal">_getStateVal</a>
1754
 
 
1755
 
                                
1756
 
                            </li>
1757
 
                        
1758
 
                            <li class="index-item method private inherited">
1759
 
                                <a href="#method__getType">_getType</a>
1760
 
 
1761
 
                                
1762
 
                            </li>
1763
 
                        
1764
 
                            <li class="index-item method protected inherited inherited">
1765
 
                                <a href="#method__getURL">_getURL</a>
1766
 
 
1767
 
                                
1768
 
                            </li>
1769
 
                        
1770
 
                            <li class="index-item method protected inherited">
1771
 
                                <a href="#method__getViewContainer">_getViewContainer</a>
1772
 
 
1773
 
                                
1774
 
                            </li>
1775
 
                        
1776
 
                            <li class="index-item method protected inherited">
1777
 
                                <a href="#method__hasSameOrigin">_hasSameOrigin</a>
1778
 
 
1779
 
                                
1780
 
                            </li>
1781
 
                        
1782
 
                            <li class="index-item method private inherited">
1783
 
                                <a href="#method__initAttrHost">_initAttrHost</a>
1784
 
 
1785
 
                                
1786
 
                            </li>
1787
 
                        
1788
 
                            <li class="index-item method private inherited inherited">
1789
 
                                <a href="#method__initAttribute">_initAttribute</a>
1790
 
 
1791
 
                                
1792
 
                            </li>
1793
 
                        
1794
 
                            <li class="index-item method protected inherited">
1795
 
                                <a href="#method__initAttrs">_initAttrs</a>
1796
 
 
1797
 
                                
1798
 
                            </li>
1799
 
                        
1800
 
                            <li class="index-item method private inherited inherited">
1801
 
                                <a href="#method__initBase">_initBase</a>
1802
 
 
1803
 
                                
1804
 
                            </li>
1805
 
                        
1806
 
                            <li class="index-item method private inherited">
1807
 
                                <a href="#method__initHierarchy">_initHierarchy</a>
1808
 
 
1809
 
                                
1810
 
                            </li>
1811
 
                        
1812
 
                            <li class="index-item method private inherited">
1813
 
                                <a href="#method__initHierarchyData">_initHierarchyData</a>
1814
 
 
1815
 
                                
1816
 
                            </li>
1817
 
                        
1818
 
                            <li class="index-item method protected inherited">
1819
 
                                <a href="#method__initHtml5">_initHtml5</a>
1820
 
 
1821
 
                                
1822
 
                            </li>
1823
 
                        
1824
 
                            <li class="index-item method protected inherited">
1825
 
                                <a href="#method__isChildView">_isChildView</a>
1826
 
 
1827
 
                                
1828
 
                            </li>
1829
 
                        
1830
 
                            <li class="index-item method private inherited">
1831
 
                                <a href="#method__isLazyAttr">_isLazyAttr</a>
1832
 
 
1833
 
                                
1834
 
                            </li>
1835
 
                        
1836
 
                            <li class="index-item method protected inherited">
1837
 
                                <a href="#method__isParentView">_isParentView</a>
1838
 
 
1839
 
                                
1840
 
                            </li>
1841
 
                        
1842
 
                            <li class="index-item method protected inherited">
1843
 
                                <a href="#method__joinURL">_joinURL</a>
1844
 
 
1845
 
                                
1846
 
                            </li>
1847
 
                        
1848
 
                            <li class="index-item method private inherited">
1849
 
                                <a href="#method__monitor">_monitor</a>
1850
 
 
1851
 
                                
1852
 
                            </li>
1853
 
                        
1854
 
                            <li class="index-item method protected inherited inherited">
1855
 
                                <a href="#method__navigate">_navigate</a>
1856
 
 
1857
 
                                
1858
 
                            </li>
1859
 
                        
1860
 
                            <li class="index-item method protected inherited">
1861
 
                                <a href="#method__normalizePath">_normalizePath</a>
1862
 
 
1863
 
                                
1864
 
                            </li>
1865
 
                        
1866
 
                            <li class="index-item method private inherited inherited">
1867
 
                                <a href="#method__normAttrVals">_normAttrVals</a>
1868
 
 
1869
 
                                
1870
 
                            </li>
1871
 
                        
1872
 
                            <li class="index-item method protected inherited">
1873
 
                                <a href="#method__onLinkClick">_onLinkClick</a>
1874
 
 
1875
 
                                
1876
 
                            </li>
1877
 
                        
1878
 
                            <li class="index-item method protected inherited">
1879
 
                                <a href="#method__parseQuery">_parseQuery</a>
1880
 
 
1881
 
                                
1882
 
                            </li>
1883
 
                        
1884
 
                            <li class="index-item method private inherited">
1885
 
                                <a href="#method__parseType">_parseType</a>
1886
 
 
1887
 
                                
1888
 
                            </li>
1889
 
                        
1890
 
                            <li class="index-item method protected inherited">
1891
 
                                <a href="#method__pjaxBindUI">_pjaxBindUI</a>
1892
 
 
1893
 
                                
1894
 
                            </li>
1895
 
                        
1896
 
                            <li class="index-item method private inherited">
1897
 
                                <a href="#method__preInitEventCfg">_preInitEventCfg</a>
1898
 
 
1899
 
                                
1900
 
                            </li>
1901
 
                        
1902
 
                            <li class="index-item method protected inherited">
1903
 
                                <a href="#method__protectAttrs">_protectAttrs</a>
1904
 
 
1905
 
                                
1906
 
                            </li>
1907
 
                        
1908
 
                            <li class="index-item method protected inherited">
1909
 
                                <a href="#method__queue">_queue</a>
1910
 
 
1911
 
                                
1912
 
                            </li>
1913
 
                        
1914
 
                            <li class="index-item method protected inherited">
1915
 
                                <a href="#method__resolvePath">_resolvePath</a>
1916
 
 
1917
 
                                
1918
 
                            </li>
1919
 
                        
1920
 
                            <li class="index-item method protected inherited">
1921
 
                                <a href="#method__resolveURL">_resolveURL</a>
1922
 
 
1923
 
                                
1924
 
                            </li>
1925
 
                        
1926
 
                            <li class="index-item method protected inherited inherited">
1927
 
                                <a href="#method__save">_save</a>
1928
 
 
1929
 
                                
1930
 
                            </li>
1931
 
                        
1932
 
                            <li class="index-item method protected inherited inherited">
1933
 
                                <a href="#method__set">_set</a>
1934
 
 
1935
 
                                
1936
 
                            </li>
1937
 
                        
1938
 
                            <li class="index-item method protected inherited">
1939
 
                                <a href="#method__setAttr">_setAttr</a>
1940
 
 
1941
 
                                
1942
 
                            </li>
1943
 
                        
1944
 
                            <li class="index-item method protected inherited">
1945
 
                                <a href="#method__setAttrs">_setAttrs</a>
1946
 
 
1947
 
                                
1948
 
                            </li>
1949
 
                        
1950
 
                            <li class="index-item method private inherited">
1951
 
                                <a href="#method__setAttrVal">_setAttrVal</a>
1952
 
 
1953
 
                                
1954
 
                            </li>
1955
 
                        
1956
 
                            <li class="index-item method protected inherited">
1957
 
                                <a href="#method__setRoutes">_setRoutes</a>
1958
 
 
1959
 
                                
1960
 
                            </li>
1961
 
                        
1962
 
                            <li class="index-item method private inherited">
1963
 
                                <a href="#method__setStateVal">_setStateVal</a>
1964
 
 
1965
 
                                
1966
 
                            </li>
1967
 
                        
1968
 
                            <li class="index-item method protected inherited">
1969
 
                                <a href="#method__setTransitions">_setTransitions</a>
1970
 
 
1971
 
                                
1972
 
                            </li>
1973
 
                        
1974
 
                            <li class="index-item method protected inherited">
1975
 
                                <a href="#method__uiSetActiveView">_uiSetActiveView</a>
1976
 
 
1977
 
                                
1978
 
                            </li>
1979
 
                        
1980
 
                            <li class="index-item method protected inherited">
1981
 
                                <a href="#method__upgradeURL">_upgradeURL</a>
1982
 
 
1983
 
                                
1984
 
                            </li>
1985
 
                        
1986
 
                            <li class="index-item method inherited">
1987
 
                                <a href="#method_addAttr">addAttr</a>
1988
 
 
1989
 
                                
1990
 
                            </li>
1991
 
                        
1992
 
                            <li class="index-item method inherited">
1993
 
                                <a href="#method_addAttrs">addAttrs</a>
1994
 
 
1995
 
                                
1996
 
                            </li>
1997
 
                        
1998
 
                            <li class="index-item method inherited">
1999
 
                                <a href="#method_addTarget">addTarget</a>
2000
 
 
2001
 
                                
2002
 
                            </li>
2003
 
                        
2004
 
                            <li class="index-item method inherited">
2005
 
                                <a href="#method_after">after</a>
2006
 
 
2007
 
                                
2008
 
                            </li>
2009
 
                        
2010
 
                            <li class="index-item method inherited">
2011
 
                                <a href="#method_attachEvents">attachEvents</a>
2012
 
 
2013
 
                                
2014
 
                            </li>
2015
 
                        
2016
 
                            <li class="index-item method inherited">
2017
 
                                <a href="#method_attrAdded">attrAdded</a>
2018
 
 
2019
 
                                
2020
 
                            </li>
2021
 
                        
2022
 
                            <li class="index-item method inherited">
2023
 
                                <a href="#method_before">before</a>
2024
 
 
2025
 
                                
2026
 
                            </li>
2027
 
                        
2028
 
                            <li class="index-item method inherited">
2029
 
                                <a href="#method_bubble">bubble</a>
2030
 
 
2031
 
                                
2032
 
                            </li>
2033
 
                        
2034
 
                            <li class="index-item method inherited">
2035
 
                                <a href="#method_create">create</a>
2036
 
 
2037
 
                                
2038
 
                            </li>
2039
 
                        
2040
 
                            <li class="index-item method inherited">
2041
 
                                <a href="#method_createView">createView</a>
2042
 
 
2043
 
                                
2044
 
                            </li>
2045
 
                        
2046
 
                            <li class="index-item method inherited inherited">
2047
 
                                <a href="#method_destroy">destroy</a>
2048
 
 
2049
 
                                
2050
 
                            </li>
2051
 
                        
2052
 
                            <li class="index-item method inherited">
2053
 
                                <a href="#method_detach">detach</a>
2054
 
 
2055
 
                                
2056
 
                            </li>
2057
 
                        
2058
 
                            <li class="index-item method inherited">
2059
 
                                <a href="#method_detachAll">detachAll</a>
2060
 
 
2061
 
                                
2062
 
                            </li>
2063
 
                        
2064
 
                            <li class="index-item method inherited">
2065
 
                                <a href="#method_detachEvents">detachEvents</a>
2066
 
 
2067
 
                                
2068
 
                            </li>
2069
 
                        
2070
 
                            <li class="index-item method inherited">
2071
 
                                <a href="#method_dispatch">dispatch</a>
2072
 
 
2073
 
                                
2074
 
                            </li>
2075
 
                        
2076
 
                            <li class="index-item method inherited">
2077
 
                                <a href="#method_fire">fire</a>
2078
 
 
2079
 
                                
2080
 
                            </li>
2081
 
                        
2082
 
                            <li class="index-item method inherited">
2083
 
                                <a href="#method_get">get</a>
2084
 
 
2085
 
                                
2086
 
                            </li>
2087
 
                        
2088
 
                            <li class="index-item method inherited">
2089
 
                                <a href="#method_getAttrs">getAttrs</a>
2090
 
 
2091
 
                                
2092
 
                            </li>
2093
 
                        
2094
 
                            <li class="index-item method inherited">
2095
 
                                <a href="#method_getEvent">getEvent</a>
2096
 
 
2097
 
                                
2098
 
                            </li>
2099
 
                        
2100
 
                            <li class="index-item method inherited">
2101
 
                                <a href="#method_getPath">getPath</a>
2102
 
 
2103
 
                                
2104
 
                            </li>
2105
 
                        
2106
 
                            <li class="index-item method inherited">
2107
 
                                <a href="#method_getTargets">getTargets</a>
2108
 
 
2109
 
                                
2110
 
                            </li>
2111
 
                        
2112
 
                            <li class="index-item method inherited">
2113
 
                                <a href="#method_getViewInfo">getViewInfo</a>
2114
 
 
2115
 
                                
2116
 
                            </li>
2117
 
                        
2118
 
                            <li class="index-item method inherited">
2119
 
                                <a href="#method_hasRoute">hasRoute</a>
2120
 
 
2121
 
                                
2122
 
                            </li>
2123
 
                        
2124
 
                            <li class="index-item method inherited inherited">
2125
 
                                <a href="#method_init">init</a>
2126
 
 
2127
 
                                
2128
 
                            </li>
2129
 
                        
2130
 
                            <li class="index-item method inherited">
2131
 
                                <a href="#method_match">match</a>
2132
 
 
2133
 
                                
2134
 
                            </li>
2135
 
                        
2136
 
                            <li class="index-item method inherited">
2137
 
                                <a href="#method_modifyAttr">modifyAttr</a>
2138
 
 
2139
 
                                
2140
 
                            </li>
2141
 
                        
2142
 
                            <li class="index-item method inherited inherited">
2143
 
                                <a href="#method_navigate">navigate</a>
2144
 
 
2145
 
                                
2146
 
                            </li>
2147
 
                        
2148
 
                            <li class="index-item method inherited">
2149
 
                                <a href="#method_on">on</a>
2150
 
 
2151
 
                                
2152
 
                            </li>
2153
 
                        
2154
 
                            <li class="index-item method inherited">
2155
 
                                <a href="#method_once">once</a>
2156
 
 
2157
 
                                
2158
 
                            </li>
2159
 
                        
2160
 
                            <li class="index-item method inherited">
2161
 
                                <a href="#method_onceAfter">onceAfter</a>
2162
 
 
2163
 
                                
2164
 
                            </li>
2165
 
                        
2166
 
                            <li class="index-item method inherited">
2167
 
                                <a href="#method_parseType">parseType</a>
2168
 
 
2169
 
                                
2170
 
                            </li>
2171
 
                        
2172
 
                            <li class="index-item method inherited">
2173
 
                                <a href="#method_publish">publish</a>
2174
 
 
2175
 
                                
2176
 
                            </li>
2177
 
                        
2178
 
                            <li class="index-item method inherited">
2179
 
                                <a href="#method_remove">remove</a>
2180
 
 
2181
 
                                
2182
 
                            </li>
2183
 
                        
2184
 
                            <li class="index-item method inherited">
2185
 
                                <a href="#method_removeAttr">removeAttr</a>
2186
 
 
2187
 
                                
2188
 
                            </li>
2189
 
                        
2190
 
                            <li class="index-item method inherited">
2191
 
                                <a href="#method_removeQuery">removeQuery</a>
2192
 
 
2193
 
                                
2194
 
                            </li>
2195
 
                        
2196
 
                            <li class="index-item method inherited">
2197
 
                                <a href="#method_removeRoot">removeRoot</a>
2198
 
 
2199
 
                                
2200
 
                            </li>
2201
 
                        
2202
 
                            <li class="index-item method inherited">
2203
 
                                <a href="#method_removeTarget">removeTarget</a>
2204
 
 
2205
 
                                
2206
 
                            </li>
2207
 
                        
2208
 
                            <li class="index-item method inherited inherited">
2209
 
                                <a href="#method_render">render</a>
2210
 
 
2211
 
                                
2212
 
                            </li>
2213
 
                        
2214
 
                            <li class="index-item method inherited">
2215
 
                                <a href="#method_replace">replace</a>
2216
 
 
2217
 
                                
2218
 
                            </li>
2219
 
                        
2220
 
                            <li class="index-item method inherited">
2221
 
                                <a href="#method_reset">reset</a>
2222
 
 
2223
 
                                
2224
 
                            </li>
2225
 
                        
2226
 
                            <li class="index-item method inherited">
2227
 
                                <a href="#method_route">route</a>
2228
 
 
2229
 
                                
2230
 
                            </li>
2231
 
                        
2232
 
                            <li class="index-item method inherited">
2233
 
                                <a href="#method_save">save</a>
2234
 
 
2235
 
                                
2236
 
                            </li>
2237
 
                        
2238
 
                            <li class="index-item method inherited inherited">
2239
 
                                <a href="#method_set">set</a>
2240
 
 
2241
 
                                
2242
 
                            </li>
2243
 
                        
2244
 
                            <li class="index-item method inherited inherited">
2245
 
                                <a href="#method_setAttrs">setAttrs</a>
2246
 
 
2247
 
                                
2248
 
                            </li>
2249
 
                        
2250
 
                            <li class="index-item method inherited inherited">
2251
 
                                <a href="#method_showView">showView</a>
2252
 
 
2253
 
                                
2254
 
                            </li>
2255
 
                        
2256
 
                            <li class="index-item method deprecated inherited">
2257
 
                                <a href="#method_subscribe">subscribe</a>
2258
 
 
2259
 
                                
2260
 
                            </li>
2261
 
                        
2262
 
                            <li class="index-item method inherited">
2263
 
                                <a href="#method_toString">toString</a>
2264
 
 
2265
 
                                
2266
 
                            </li>
2267
 
                        
2268
 
                            <li class="index-item method deprecated inherited">
2269
 
                                <a href="#method_unsubscribe">unsubscribe</a>
2270
 
 
2271
 
                                
2272
 
                            </li>
2273
 
                        
2274
 
                            <li class="index-item method deprecated inherited">
2275
 
                                <a href="#method_unsubscribeAll">unsubscribeAll</a>
2276
 
 
2277
 
                                
2278
 
                            </li>
2279
 
                        
2280
 
                            <li class="index-item method inherited">
2281
 
                                <a href="#method_upgrade">upgrade</a>
2282
 
 
2283
 
                                
2284
 
                            </li>
2285
 
                        
2286
 
                    </ul>
2287
 
                </div>
2288
 
            
2289
 
 
2290
 
            
2291
 
                <div class="index-section properties">
2292
 
                    <h3>Properties</h3>
2293
 
 
2294
 
                    <ul class="index-list properties">
2295
 
                        
2296
 
                            <li class="index-item property protected inherited inherited">
2297
 
                                <a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>
2298
 
 
2299
 
                                
2300
 
                            </li>
2301
 
                        
2302
 
                            <li class="index-item property protected inherited">
2303
 
                                <a href="#property__dispatched">_dispatched</a>
2304
 
 
2305
 
                                
2306
 
                            </li>
2307
 
                        
2308
 
                            <li class="index-item property protected inherited">
2309
 
                                <a href="#property__dispatching">_dispatching</a>
2310
 
 
2311
 
                                
2312
 
                            </li>
2313
 
                        
2314
 
                            <li class="index-item property protected inherited">
2315
 
                                <a href="#property__html5">_html5</a>
2316
 
 
2317
 
                                
2318
 
                            </li>
2319
 
                        
2320
 
                            <li class="index-item property protected inherited">
2321
 
                                <a href="#property__pjaxEvents">_pjaxEvents</a>
2322
 
 
2323
 
                                
2324
 
                            </li>
2325
 
                        
2326
 
                            <li class="index-item property protected inherited">
2327
 
                                <a href="#property__ready">_ready</a>
2328
 
 
2329
 
                                
2330
 
                            </li>
2331
 
                        
2332
 
                            <li class="index-item property protected inherited">
2333
 
                                <a href="#property__regexPathParam">_regexPathParam</a>
2334
 
 
2335
 
                                
2336
 
                            </li>
2337
 
                        
2338
 
                            <li class="index-item property protected inherited">
2339
 
                                <a href="#property__regexURL">_regexURL</a>
2340
 
 
2341
 
                                
2342
 
                            </li>
2343
 
                        
2344
 
                            <li class="index-item property protected inherited">
2345
 
                                <a href="#property__regexUrlOrigin">_regexUrlOrigin</a>
2346
 
 
2347
 
                                
2348
 
                            </li>
2349
 
                        
2350
 
                            <li class="index-item property protected inherited">
2351
 
                                <a href="#property__regexUrlQuery">_regexUrlQuery</a>
2352
 
 
2353
 
                                
2354
 
                            </li>
2355
 
                        
2356
 
                            <li class="index-item property protected inherited">
2357
 
                                <a href="#property__viewInfoMap">_viewInfoMap</a>
2358
 
 
2359
 
                                
2360
 
                            </li>
2361
 
                        
2362
 
                            <li class="index-item property inherited">
2363
 
                                <a href="#property_containerTemplate">containerTemplate</a>
2364
 
 
2365
 
                                
2366
 
                            </li>
2367
 
                        
2368
 
                            <li class="index-item property inherited">
2369
 
                                <a href="#property_events">events</a>
2370
 
 
2371
 
                                
2372
 
                            </li>
2373
 
                        
2374
 
                            <li class="index-item property deprecated inherited">
2375
 
                                <a href="#property_name">name</a>
2376
 
 
2377
 
                                
2378
 
                            </li>
2379
 
                        
2380
 
                            <li class="index-item property inherited">
2381
 
                                <a href="#property_template">template</a>
2382
 
 
2383
 
                                
2384
 
                            </li>
2385
 
                        
2386
 
                            <li class="index-item property inherited">
2387
 
                                <a href="#property_transitions">transitions</a>
2388
 
 
2389
 
                                
2390
 
                            </li>
2391
 
                        
2392
 
                            <li class="index-item property inherited">
2393
 
                                <a href="#property_views">views</a>
2394
 
 
2395
 
                                
2396
 
                            </li>
2397
 
                        
2398
 
                    </ul>
2399
 
                </div>
2400
 
            
2401
 
 
2402
 
            
2403
 
                <div class="index-section attrs">
2404
 
                    <h3>Attributes</h3>
2405
 
 
2406
 
                    <ul class="index-list attrs">
2407
 
                        
2408
 
                            <li class="index-item attr inherited">
2409
 
                                <a href="#attr_activeView">activeView</a>
2410
 
                            </li>
2411
 
                        
2412
 
                            <li class="index-item attr inherited inherited">
2413
 
                                <a href="#attr_container">container</a>
2414
 
                            </li>
2415
 
                        
2416
 
                            <li class="index-item attr inherited">
2417
 
                                <a href="#attr_destroyed">destroyed</a>
2418
 
                            </li>
2419
 
                        
2420
 
                            <li class="index-item attr inherited inherited">
2421
 
                                <a href="#attr_html5">html5</a>
2422
 
                            </li>
2423
 
                        
2424
 
                            <li class="index-item attr inherited">
2425
 
                                <a href="#attr_initialized">initialized</a>
2426
 
                            </li>
2427
 
                        
2428
 
                            <li class="index-item attr inherited inherited">
2429
 
                                <a href="#attr_linkSelector">linkSelector</a>
2430
 
                            </li>
2431
 
                        
2432
 
                            <li class="index-item attr inherited">
2433
 
                                <a href="#attr_navigateOnHash">navigateOnHash</a>
2434
 
                            </li>
2435
 
                        
2436
 
                            <li class="index-item attr inherited">
2437
 
                                <a href="#attr_root">root</a>
2438
 
                            </li>
2439
 
                        
2440
 
                            <li class="index-item attr inherited">
2441
 
                                <a href="#attr_routes">routes</a>
2442
 
                            </li>
2443
 
                        
2444
 
                            <li class="index-item attr inherited">
2445
 
                                <a href="#attr_scrollToTop">scrollToTop</a>
2446
 
                            </li>
2447
 
                        
2448
 
                            <li class="index-item attr inherited">
2449
 
                                <a href="#attr_serverRouting">serverRouting</a>
2450
 
                            </li>
2451
 
                        
2452
 
                            <li class="index-item attr inherited">
2453
 
                                <a href="#attr_transitions">transitions</a>
2454
 
                            </li>
2455
 
                        
2456
 
                            <li class="index-item attr inherited">
2457
 
                                <a href="#attr_viewContainer">viewContainer</a>
2458
 
                            </li>
2459
 
                        
2460
 
                    </ul>
2461
 
                </div>
2462
 
            
2463
 
 
2464
 
            
2465
 
                <div class="index-section events">
2466
 
                    <h3>Events</h3>
2467
 
 
2468
 
                    <ul class="index-list events">
2469
 
                        
2470
 
                            <li class="index-item event inherited">
2471
 
                                <a href="#event_destroy">destroy</a>
2472
 
 
2473
 
                                
2474
 
                            </li>
2475
 
                        
2476
 
                            <li class="index-item event inherited">
2477
 
                                <a href="#event_init">init</a>
2478
 
 
2479
 
                                
2480
 
                            </li>
2481
 
                        
2482
 
                            <li class="index-item event inherited">
2483
 
                                <a href="#event_navigate">navigate</a>
2484
 
 
2485
 
                                
2486
 
                            </li>
2487
 
                        
2488
 
                            <li class="index-item event inherited">
2489
 
                                <a href="#event_ready">ready</a>
2490
 
 
2491
 
                                
2492
 
                            </li>
2493
 
                        
2494
 
                    </ul>
2495
 
                </div>
2496
 
            
2497
 
        </div>
2498
 
 
2499
 
        
2500
 
            <div id="methods" class="api-class-tabpanel">
2501
 
                <h2 class="off-left">Methods</h2>
2502
 
 
2503
 
                
2504
 
                    <div id="method__addAttrs" class="method item private inherited">
2505
 
    <h3 class="name"><code>_addAttrs</code></h3>
2506
 
 
2507
 
    
2508
 
        <div class="args">
2509
 
            <span class="paren">(</span><ul class="args-list inline commas">
2510
 
            
2511
 
                <li class="arg">
2512
 
                    
2513
 
                        <code>cfgs</code>
2514
 
                    
2515
 
                </li>
2516
 
            
2517
 
                <li class="arg">
2518
 
                    
2519
 
                        <code>values</code>
2520
 
                    
2521
 
                </li>
2522
 
            
2523
 
                <li class="arg">
2524
 
                    
2525
 
                        <code>lazy</code>
2526
 
                    
2527
 
                </li>
2528
 
            
2529
 
            </ul><span class="paren">)</span>
2530
 
        </div>
2531
 
    
2532
 
 
2533
 
    
2534
 
 
2535
 
    
2536
 
 
2537
 
    
2538
 
        <span class="flag private">private</span>
2539
 
    
2540
 
 
2541
 
    
2542
 
 
2543
 
    
2544
 
 
2545
 
    
2546
 
 
2547
 
    <div class="meta">
2548
 
        
2549
 
            
2550
 
                <p>Inherited from
2551
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__addAttrs">AttributeCore</a>:
2552
 
            
2553
 
        
2554
 
        
2555
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l740"><code>attribute&#x2F;js&#x2F;AttributeCore.js:740</code></a>
2556
 
        
2557
 
        </p>
2558
 
 
2559
 
 
2560
 
        
2561
 
 
2562
 
        
2563
 
    </div>
2564
 
 
2565
 
    <div class="description">
2566
 
        <p>Implementation behind the public addAttrs method. </p>
2567
 
 
2568
 
<p>This method is invoked directly by get if it encounters a scenario 
2569
 
in which an attribute's valueFn attempts to obtain the 
2570
 
value an attribute in the same group of attributes, which has not yet 
2571
 
been added (on demand initialization).</p>
2572
 
    </div>
2573
 
 
2574
 
    
2575
 
        <div class="params">
2576
 
            <h4>Parameters:</h4>
2577
 
 
2578
 
            <ul class="params-list">
2579
 
            
2580
 
                <li class="param">
2581
 
                    
2582
 
                        <code class="param-name">cfgs</code>
2583
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2584
 
                    
2585
 
 
2586
 
                    
2587
 
 
2588
 
                    <div class="param-description">
2589
 
                        <p>An object with attribute name/configuration pairs.</p>
2590
 
                    </div>
2591
 
 
2592
 
                    
2593
 
                </li>
2594
 
            
2595
 
                <li class="param">
2596
 
                    
2597
 
                        <code class="param-name">values</code>
2598
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2599
 
                    
2600
 
 
2601
 
                    
2602
 
 
2603
 
                    <div class="param-description">
2604
 
                        <p>An object with attribute name/value pairs, defining the initial values to apply.
2605
 
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
2606
 
                    </div>
2607
 
 
2608
 
                    
2609
 
                </li>
2610
 
            
2611
 
                <li class="param">
2612
 
                    
2613
 
                        <code class="param-name">lazy</code>
2614
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2615
 
                    
2616
 
 
2617
 
                    
2618
 
 
2619
 
                    <div class="param-description">
2620
 
                        <p>Whether or not to delay the intialization of these attributes until the first call to get/set.
2621
 
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
2622
 
See <a href="#method_addAttr">addAttr</a>.</p>
2623
 
                    </div>
2624
 
 
2625
 
                    
2626
 
                </li>
2627
 
            
2628
 
            </ul>
2629
 
        </div>
2630
 
    
2631
 
 
2632
 
    
2633
 
 
2634
 
    
2635
 
</div>
2636
 
 
2637
 
                
2638
 
                    <div id="method__addLazyAttr" class="method item private inherited">
2639
 
    <h3 class="name"><code>_addLazyAttr</code></h3>
2640
 
 
2641
 
    
2642
 
        <div class="args">
2643
 
            <span class="paren">(</span><ul class="args-list inline commas">
2644
 
            
2645
 
                <li class="arg">
2646
 
                    
2647
 
                        <code>name</code>
2648
 
                    
2649
 
                </li>
2650
 
            
2651
 
            </ul><span class="paren">)</span>
2652
 
        </div>
2653
 
    
2654
 
 
2655
 
    
2656
 
 
2657
 
    
2658
 
 
2659
 
    
2660
 
        <span class="flag private">private</span>
2661
 
    
2662
 
 
2663
 
    
2664
 
 
2665
 
    
2666
 
 
2667
 
    
2668
 
 
2669
 
    <div class="meta">
2670
 
        
2671
 
            
2672
 
                <p>Inherited from
2673
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
2674
 
            
2675
 
        
2676
 
        
2677
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l312"><code>attribute&#x2F;js&#x2F;AttributeCore.js:312</code></a>
2678
 
        
2679
 
        </p>
2680
 
 
2681
 
 
2682
 
        
2683
 
 
2684
 
        
2685
 
    </div>
2686
 
 
2687
 
    <div class="description">
2688
 
        <p>Finishes initializing an attribute which has been lazily added.</p>
2689
 
    </div>
2690
 
 
2691
 
    
2692
 
        <div class="params">
2693
 
            <h4>Parameters:</h4>
2694
 
 
2695
 
            <ul class="params-list">
2696
 
            
2697
 
                <li class="param">
2698
 
                    
2699
 
                        <code class="param-name">name</code>
2700
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2701
 
                    
2702
 
 
2703
 
                    
2704
 
 
2705
 
                    <div class="param-description">
2706
 
                        <p>The name of the attribute</p>
2707
 
                    </div>
2708
 
 
2709
 
                    
2710
 
                </li>
2711
 
            
2712
 
            </ul>
2713
 
        </div>
2714
 
    
2715
 
 
2716
 
    
2717
 
 
2718
 
    
2719
 
</div>
2720
 
 
2721
 
                
2722
 
                    <div id="method__afterActiveViewChange" class="method item protected inherited">
2723
 
    <h3 class="name"><code>_afterActiveViewChange</code></h3>
2724
 
 
2725
 
    
2726
 
        <div class="args">
2727
 
            <span class="paren">(</span><ul class="args-list inline commas">
2728
 
            
2729
 
                <li class="arg">
2730
 
                    
2731
 
                        <code>e</code>
2732
 
                    
2733
 
                </li>
2734
 
            
2735
 
            </ul><span class="paren">)</span>
2736
 
        </div>
2737
 
    
2738
 
 
2739
 
    
2740
 
 
2741
 
    
2742
 
 
2743
 
    
2744
 
        <span class="flag protected">protected</span>
2745
 
    
2746
 
 
2747
 
    
2748
 
 
2749
 
    
2750
 
 
2751
 
    
2752
 
 
2753
 
    <div class="meta">
2754
 
        
2755
 
            
2756
 
                <p>Inherited from
2757
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__afterActiveViewChange">App.Base</a>:
2758
 
            
2759
 
        
2760
 
        
2761
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l840"><code>app&#x2F;js&#x2F;app-base.js:840</code></a>
2762
 
        
2763
 
        </p>
2764
 
 
2765
 
 
2766
 
        
2767
 
 
2768
 
        
2769
 
            <p>Available since 3.5.0</p>
2770
 
        
2771
 
    </div>
2772
 
 
2773
 
    <div class="description">
2774
 
        <p>Handles the application's <code>activeViewChange</code> event (which is fired when the
2775
 
<code>activeView</code> attribute changes) by detaching the old view, attaching the new
2776
 
view.</p>
2777
 
 
2778
 
<p>The <code>activeView</code> attribute is read-only, so the public API to change its
2779
 
value is through the <code>showView()</code> method.</p>
2780
 
    </div>
2781
 
 
2782
 
    
2783
 
        <div class="params">
2784
 
            <h4>Parameters:</h4>
2785
 
 
2786
 
            <ul class="params-list">
2787
 
            
2788
 
                <li class="param">
2789
 
                    
2790
 
                        <code class="param-name">e</code>
2791
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2792
 
                    
2793
 
 
2794
 
                    
2795
 
 
2796
 
                    <div class="param-description">
2797
 
                        
2798
 
                    </div>
2799
 
 
2800
 
                    
2801
 
                </li>
2802
 
            
2803
 
            </ul>
2804
 
        </div>
2805
 
    
2806
 
 
2807
 
    
2808
 
 
2809
 
    
2810
 
</div>
2811
 
 
2812
 
                
2813
 
                    <div id="method__afterContainerChange" class="method item protected inherited">
2814
 
    <h3 class="name"><code>_afterContainerChange</code></h3>
2815
 
 
2816
 
    
2817
 
        <span class="paren">()</span>
2818
 
    
2819
 
 
2820
 
    
2821
 
 
2822
 
    
2823
 
 
2824
 
    
2825
 
        <span class="flag protected">protected</span>
2826
 
    
2827
 
 
2828
 
    
2829
 
 
2830
 
    
2831
 
 
2832
 
    
2833
 
 
2834
 
    <div class="meta">
2835
 
        
2836
 
            
2837
 
                <p>Inherited from
2838
 
                <a href="..&#x2F;classes&#x2F;View.html#method__afterContainerChange">View</a>:
2839
 
            
2840
 
        
2841
 
        
2842
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l348"><code>app&#x2F;js&#x2F;view.js:348</code></a>
2843
 
        
2844
 
        </p>
2845
 
 
2846
 
 
2847
 
        
2848
 
 
2849
 
        
2850
 
            <p>Available since 3.5.0</p>
2851
 
        
2852
 
    </div>
2853
 
 
2854
 
    <div class="description">
2855
 
        <p>Handles <code>containerChange</code> events. Detaches event handlers from the old
2856
 
container (if any) and attaches them to the new container.</p>
2857
 
 
2858
 
<p>Right now the <code>container</code> attr is initOnly so this event should only ever
2859
 
fire the first time the container is created, but in the future (once Y.App
2860
 
can handle it) we may allow runtime container changes.</p>
2861
 
    </div>
2862
 
 
2863
 
    
2864
 
 
2865
 
    
2866
 
 
2867
 
    
2868
 
</div>
2869
 
 
2870
 
                
2871
 
                    <div id="method__afterHistoryChange" class="method item protected inherited">
2872
 
    <h3 class="name"><code>_afterHistoryChange</code></h3>
2873
 
 
2874
 
    
2875
 
        <div class="args">
2876
 
            <span class="paren">(</span><ul class="args-list inline commas">
2877
 
            
2878
 
                <li class="arg">
2879
 
                    
2880
 
                        <code>e</code>
2881
 
                    
2882
 
                </li>
2883
 
            
2884
 
            </ul><span class="paren">)</span>
2885
 
        </div>
2886
 
    
2887
 
 
2888
 
    
2889
 
 
2890
 
    
2891
 
 
2892
 
    
2893
 
        <span class="flag protected">protected</span>
2894
 
    
2895
 
 
2896
 
    
2897
 
 
2898
 
    
2899
 
 
2900
 
    
2901
 
 
2902
 
    <div class="meta">
2903
 
        
2904
 
            
2905
 
                <p>Inherited from
2906
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__afterHistoryChange">Router</a>:
2907
 
            
2908
 
        
2909
 
        
2910
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l940"><code>app&#x2F;js&#x2F;router.js:940</code></a>
2911
 
        
2912
 
        </p>
2913
 
 
2914
 
 
2915
 
        
2916
 
 
2917
 
        
2918
 
    </div>
2919
 
 
2920
 
    <div class="description">
2921
 
        <p>Handles <code>history:change</code> and <code>hashchange</code> events.</p>
2922
 
    </div>
2923
 
 
2924
 
    
2925
 
        <div class="params">
2926
 
            <h4>Parameters:</h4>
2927
 
 
2928
 
            <ul class="params-list">
2929
 
            
2930
 
                <li class="param">
2931
 
                    
2932
 
                        <code class="param-name">e</code>
2933
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2934
 
                    
2935
 
 
2936
 
                    
2937
 
 
2938
 
                    <div class="param-description">
2939
 
                        
2940
 
                    </div>
2941
 
 
2942
 
                    
2943
 
                </li>
2944
 
            
2945
 
            </ul>
2946
 
        </div>
2947
 
    
2948
 
 
2949
 
    
2950
 
 
2951
 
    
2952
 
</div>
2953
 
 
2954
 
                
2955
 
                    <div id="method__aggregateAttrs" class="method item private inherited">
2956
 
    <h3 class="name"><code>_aggregateAttrs</code></h3>
2957
 
 
2958
 
    
2959
 
        <div class="args">
2960
 
            <span class="paren">(</span><ul class="args-list inline commas">
2961
 
            
2962
 
                <li class="arg">
2963
 
                    
2964
 
                        <code>allAttrs</code>
2965
 
                    
2966
 
                </li>
2967
 
            
2968
 
            </ul><span class="paren">)</span>
2969
 
        </div>
2970
 
    
2971
 
 
2972
 
    
2973
 
        <span class="returns-inline">
2974
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2975
 
        </span>
2976
 
    
2977
 
 
2978
 
    
2979
 
 
2980
 
    
2981
 
        <span class="flag private">private</span>
2982
 
    
2983
 
 
2984
 
    
2985
 
 
2986
 
    
2987
 
 
2988
 
    
2989
 
 
2990
 
    <div class="meta">
2991
 
        
2992
 
            
2993
 
                <p>Inherited from
2994
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__aggregateAttrs">BaseCore</a>:
2995
 
            
2996
 
        
2997
 
        
2998
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l426"><code>base&#x2F;js&#x2F;BaseCore.js:426</code></a>
2999
 
        
3000
 
        </p>
3001
 
 
3002
 
 
3003
 
        
3004
 
 
3005
 
        
3006
 
    </div>
3007
 
 
3008
 
    <div class="description">
3009
 
        <p>A helper method, used by _initHierarchyData to aggregate 
3010
 
attribute configuration across the instances class hierarchy.</p>
3011
 
 
3012
 
<p>The method will protect the attribute configuration value to protect the statically defined 
3013
 
default value in ATTRS if required (if the value is an object literal, array or the 
3014
 
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
3015
 
    </div>
3016
 
 
3017
 
    
3018
 
        <div class="params">
3019
 
            <h4>Parameters:</h4>
3020
 
 
3021
 
            <ul class="params-list">
3022
 
            
3023
 
                <li class="param">
3024
 
                    
3025
 
                        <code class="param-name">allAttrs</code>
3026
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
3027
 
                    
3028
 
 
3029
 
                    
3030
 
 
3031
 
                    <div class="param-description">
3032
 
                        <p>An array of ATTRS definitions across classes in the hierarchy 
3033
 
(subclass first, Base last)</p>
3034
 
                    </div>
3035
 
 
3036
 
                    
3037
 
                </li>
3038
 
            
3039
 
            </ul>
3040
 
        </div>
3041
 
    
3042
 
 
3043
 
    
3044
 
        <div class="returns">
3045
 
            <h4>Returns:</h4>
3046
 
 
3047
 
            <div class="returns-description">
3048
 
                
3049
 
                    
3050
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3051
 
                    
3052
 
                    The aggregate set of ATTRS definitions for the instance
3053
 
                
3054
 
            </div>
3055
 
        </div>
3056
 
    
3057
 
 
3058
 
    
3059
 
</div>
3060
 
 
3061
 
                
3062
 
                    <div id="method__attachView" class="method item protected inherited">
3063
 
    <h3 class="name"><code>_attachView</code></h3>
3064
 
 
3065
 
    
3066
 
        <div class="args">
3067
 
            <span class="paren">(</span><ul class="args-list inline commas">
3068
 
            
3069
 
                <li class="arg">
3070
 
                    
3071
 
                        <code>view</code>
3072
 
                    
3073
 
                </li>
3074
 
            
3075
 
                <li class="arg">
3076
 
                    
3077
 
                        <code>prepend=false</code>
3078
 
                    
3079
 
                </li>
3080
 
            
3081
 
            </ul><span class="paren">)</span>
3082
 
        </div>
3083
 
    
3084
 
 
3085
 
    
3086
 
 
3087
 
    
3088
 
 
3089
 
    
3090
 
        <span class="flag protected">protected</span>
3091
 
    
3092
 
 
3093
 
    
3094
 
 
3095
 
    
3096
 
 
3097
 
    
3098
 
 
3099
 
    <div class="meta">
3100
 
        
3101
 
            
3102
 
                <p>Inherited from
3103
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__attachView">App.Base</a>:
3104
 
            
3105
 
        
3106
 
        
3107
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l431"><code>app&#x2F;js&#x2F;app-base.js:431</code></a>
3108
 
        
3109
 
        </p>
3110
 
 
3111
 
 
3112
 
        
3113
 
 
3114
 
        
3115
 
            <p>Available since 3.5.0</p>
3116
 
        
3117
 
    </div>
3118
 
 
3119
 
    <div class="description">
3120
 
        <p>Helper method to attach the view instance to the application by making the
3121
 
app a bubble target of the view, append the view to the <code>viewContainer</code>, and
3122
 
assign it to the <code>instance</code> property of the associated view info metadata.</p>
3123
 
    </div>
3124
 
 
3125
 
    
3126
 
        <div class="params">
3127
 
            <h4>Parameters:</h4>
3128
 
 
3129
 
            <ul class="params-list">
3130
 
            
3131
 
                <li class="param">
3132
 
                    
3133
 
                        <code class="param-name">view</code>
3134
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
3135
 
                    
3136
 
 
3137
 
                    
3138
 
 
3139
 
                    <div class="param-description">
3140
 
                        <p>View to attach.</p>
3141
 
                    </div>
3142
 
 
3143
 
                    
3144
 
                </li>
3145
 
            
3146
 
                <li class="param">
3147
 
                    
3148
 
                        <code class="param-name">prepend=false</code>
3149
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
3150
 
                    
3151
 
 
3152
 
                    
3153
 
 
3154
 
                    <div class="param-description">
3155
 
                        <p>Whether the view should be prepended instead
3156
 
  of appended to the <code>viewContainer</code>.</p>
3157
 
                    </div>
3158
 
 
3159
 
                    
3160
 
                </li>
3161
 
            
3162
 
            </ul>
3163
 
        </div>
3164
 
    
3165
 
 
3166
 
    
3167
 
 
3168
 
    
3169
 
</div>
3170
 
 
3171
 
                
3172
 
                    <div id="method__attrCfgHash" class="method item private inherited">
3173
 
    <h3 class="name"><code>_attrCfgHash</code></h3>
3174
 
 
3175
 
    
3176
 
        <span class="paren">()</span>
3177
 
    
3178
 
 
3179
 
    
3180
 
 
3181
 
    
3182
 
 
3183
 
    
3184
 
        <span class="flag private">private</span>
3185
 
    
3186
 
 
3187
 
    
3188
 
 
3189
 
    
3190
 
 
3191
 
    
3192
 
 
3193
 
    <div class="meta">
3194
 
        
3195
 
            <p>Inherited from
3196
 
            <a href="..&#x2F;classes&#x2F;BaseCore.html#method__attrCfgHash">
3197
 
                BaseCore
3198
 
            </a>
3199
 
            
3200
 
            but overwritten in
3201
 
            
3202
 
        
3203
 
        
3204
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l180"><code>base&#x2F;js&#x2F;Base.js:180</code></a>
3205
 
        
3206
 
        </p>
3207
 
 
3208
 
 
3209
 
        
3210
 
 
3211
 
        
3212
 
    </div>
3213
 
 
3214
 
    <div class="description">
3215
 
        <p>Utility method to define the attribute hash used to filter/whitelist property mixes for 
3216
 
this class.</p>
3217
 
    </div>
3218
 
 
3219
 
    
3220
 
 
3221
 
    
3222
 
 
3223
 
    
3224
 
</div>
3225
 
 
3226
 
                
3227
 
                    <div id="method__baseDestroy" class="method item private inherited">
3228
 
    <h3 class="name"><code>_baseDestroy</code></h3>
3229
 
 
3230
 
    
3231
 
        <span class="paren">()</span>
3232
 
    
3233
 
 
3234
 
    
3235
 
 
3236
 
    
3237
 
 
3238
 
    
3239
 
        <span class="flag private">private</span>
3240
 
    
3241
 
 
3242
 
    
3243
 
 
3244
 
    
3245
 
 
3246
 
    
3247
 
 
3248
 
    <div class="meta">
3249
 
        
3250
 
            
3251
 
                <p>Inherited from
3252
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__baseDestroy">BaseCore</a>:
3253
 
            
3254
 
        
3255
 
        
3256
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l263"><code>base&#x2F;js&#x2F;BaseCore.js:263</code></a>
3257
 
        
3258
 
        </p>
3259
 
 
3260
 
 
3261
 
        
3262
 
 
3263
 
        
3264
 
    </div>
3265
 
 
3266
 
    <div class="description">
3267
 
        <p>Internal destroy implementation for BaseCore</p>
3268
 
    </div>
3269
 
 
3270
 
    
3271
 
 
3272
 
    
3273
 
 
3274
 
    
3275
 
</div>
3276
 
 
3277
 
                
3278
 
                    <div id="method__baseInit" class="method item private inherited">
3279
 
    <h3 class="name"><code>_baseInit</code></h3>
3280
 
 
3281
 
    
3282
 
        <span class="paren">()</span>
3283
 
    
3284
 
 
3285
 
    
3286
 
 
3287
 
    
3288
 
 
3289
 
    
3290
 
        <span class="flag private">private</span>
3291
 
    
3292
 
 
3293
 
    
3294
 
 
3295
 
    
3296
 
 
3297
 
    
3298
 
 
3299
 
    <div class="meta">
3300
 
        
3301
 
            
3302
 
                <p>Inherited from
3303
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__baseInit">BaseCore</a>:
3304
 
            
3305
 
        
3306
 
        
3307
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l235"><code>base&#x2F;js&#x2F;BaseCore.js:235</code></a>
3308
 
        
3309
 
        </p>
3310
 
 
3311
 
 
3312
 
        
3313
 
 
3314
 
        
3315
 
    </div>
3316
 
 
3317
 
    <div class="description">
3318
 
        <p>Internal initialization implementation for BaseCore</p>
3319
 
    </div>
3320
 
 
3321
 
    
3322
 
 
3323
 
    
3324
 
 
3325
 
    
3326
 
</div>
3327
 
 
3328
 
                
3329
 
                    <div id="method__decode" class="method item protected inherited">
3330
 
    <h3 class="name"><code>_decode</code></h3>
3331
 
 
3332
 
    
3333
 
        <div class="args">
3334
 
            <span class="paren">(</span><ul class="args-list inline commas">
3335
 
            
3336
 
                <li class="arg">
3337
 
                    
3338
 
                        <code>string</code>
3339
 
                    
3340
 
                </li>
3341
 
            
3342
 
            </ul><span class="paren">)</span>
3343
 
        </div>
3344
 
    
3345
 
 
3346
 
    
3347
 
        <span class="returns-inline">
3348
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3349
 
        </span>
3350
 
    
3351
 
 
3352
 
    
3353
 
 
3354
 
    
3355
 
        <span class="flag protected">protected</span>
3356
 
    
3357
 
 
3358
 
    
3359
 
 
3360
 
    
3361
 
 
3362
 
    
3363
 
 
3364
 
    <div class="meta">
3365
 
        
3366
 
            
3367
 
                <p>Inherited from
3368
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__decode">Router</a>:
3369
 
            
3370
 
        
3371
 
        
3372
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l489"><code>app&#x2F;js&#x2F;router.js:489</code></a>
3373
 
        
3374
 
        </p>
3375
 
 
3376
 
 
3377
 
        
3378
 
 
3379
 
        
3380
 
    </div>
3381
 
 
3382
 
    <div class="description">
3383
 
        <p>Wrapper around <code>decodeURIComponent</code> that also converts <code>+</code> chars into
3384
 
spaces.</p>
3385
 
    </div>
3386
 
 
3387
 
    
3388
 
        <div class="params">
3389
 
            <h4>Parameters:</h4>
3390
 
 
3391
 
            <ul class="params-list">
3392
 
            
3393
 
                <li class="param">
3394
 
                    
3395
 
                        <code class="param-name">string</code>
3396
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3397
 
                    
3398
 
 
3399
 
                    
3400
 
 
3401
 
                    <div class="param-description">
3402
 
                        <p>String to decode.</p>
3403
 
                    </div>
3404
 
 
3405
 
                    
3406
 
                </li>
3407
 
            
3408
 
            </ul>
3409
 
        </div>
3410
 
    
3411
 
 
3412
 
    
3413
 
        <div class="returns">
3414
 
            <h4>Returns:</h4>
3415
 
 
3416
 
            <div class="returns-description">
3417
 
                
3418
 
                    
3419
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
3420
 
                    
3421
 
                    Decoded string.
3422
 
                
3423
 
            </div>
3424
 
        </div>
3425
 
    
3426
 
 
3427
 
    
3428
 
</div>
3429
 
 
3430
 
                
3431
 
                    <div id="method__defAttrChangeFn" class="method item private inherited">
3432
 
    <h3 class="name"><code>_defAttrChangeFn</code></h3>
3433
 
 
3434
 
    
3435
 
        <div class="args">
3436
 
            <span class="paren">(</span><ul class="args-list inline commas">
3437
 
            
3438
 
                <li class="arg">
3439
 
                    
3440
 
                        <code>e</code>
3441
 
                    
3442
 
                </li>
3443
 
            
3444
 
            </ul><span class="paren">)</span>
3445
 
        </div>
3446
 
    
3447
 
 
3448
 
    
3449
 
 
3450
 
    
3451
 
 
3452
 
    
3453
 
        <span class="flag private">private</span>
3454
 
    
3455
 
 
3456
 
    
3457
 
 
3458
 
    
3459
 
 
3460
 
    
3461
 
 
3462
 
    <div class="meta">
3463
 
        
3464
 
            
3465
 
                <p>Inherited from
3466
 
                <a href="..&#x2F;classes&#x2F;AttributeEvents.html#method__defAttrChangeFn">AttributeEvents</a>:
3467
 
            
3468
 
        
3469
 
        
3470
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeEvents.js.html#l148"><code>attribute&#x2F;js&#x2F;AttributeEvents.js:148</code></a>
3471
 
        
3472
 
        </p>
3473
 
 
3474
 
 
3475
 
        
3476
 
 
3477
 
        
3478
 
    </div>
3479
 
 
3480
 
    <div class="description">
3481
 
        <p>Default function for attribute change events.</p>
3482
 
    </div>
3483
 
 
3484
 
    
3485
 
        <div class="params">
3486
 
            <h4>Parameters:</h4>
3487
 
 
3488
 
            <ul class="params-list">
3489
 
            
3490
 
                <li class="param">
3491
 
                    
3492
 
                        <code class="param-name">e</code>
3493
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3494
 
                    
3495
 
 
3496
 
                    
3497
 
 
3498
 
                    <div class="param-description">
3499
 
                        <p>The event object for attribute change events.</p>
3500
 
                    </div>
3501
 
 
3502
 
                    
3503
 
                </li>
3504
 
            
3505
 
            </ul>
3506
 
        </div>
3507
 
    
3508
 
 
3509
 
    
3510
 
 
3511
 
    
3512
 
</div>
3513
 
 
3514
 
                
3515
 
                    <div id="method__defDestroyFn" class="method item protected inherited">
3516
 
    <h3 class="name"><code>_defDestroyFn</code></h3>
3517
 
 
3518
 
    
3519
 
        <div class="args">
3520
 
            <span class="paren">(</span><ul class="args-list inline commas">
3521
 
            
3522
 
                <li class="arg">
3523
 
                    
3524
 
                        <code>e</code>
3525
 
                    
3526
 
                </li>
3527
 
            
3528
 
            </ul><span class="paren">)</span>
3529
 
        </div>
3530
 
    
3531
 
 
3532
 
    
3533
 
 
3534
 
    
3535
 
 
3536
 
    
3537
 
        <span class="flag protected">protected</span>
3538
 
    
3539
 
 
3540
 
    
3541
 
 
3542
 
    
3543
 
 
3544
 
    
3545
 
 
3546
 
    <div class="meta">
3547
 
        
3548
 
            
3549
 
                <p>Inherited from
3550
 
                <a href="..&#x2F;classes&#x2F;Base.html#method__defDestroyFn">Base</a>:
3551
 
            
3552
 
        
3553
 
        
3554
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l325"><code>base&#x2F;js&#x2F;Base.js:325</code></a>
3555
 
        
3556
 
        </p>
3557
 
 
3558
 
 
3559
 
        
3560
 
 
3561
 
        
3562
 
    </div>
3563
 
 
3564
 
    <div class="description">
3565
 
        <p>Default destroy event handler</p>
3566
 
    </div>
3567
 
 
3568
 
    
3569
 
        <div class="params">
3570
 
            <h4>Parameters:</h4>
3571
 
 
3572
 
            <ul class="params-list">
3573
 
            
3574
 
                <li class="param">
3575
 
                    
3576
 
                        <code class="param-name">e</code>
3577
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3578
 
                    
3579
 
 
3580
 
                    
3581
 
 
3582
 
                    <div class="param-description">
3583
 
                        <p>Event object</p>
3584
 
                    </div>
3585
 
 
3586
 
                    
3587
 
                </li>
3588
 
            
3589
 
            </ul>
3590
 
        </div>
3591
 
    
3592
 
 
3593
 
    
3594
 
 
3595
 
    
3596
 
</div>
3597
 
 
3598
 
                
3599
 
                    <div id="method__defInitFn" class="method item protected inherited">
3600
 
    <h3 class="name"><code>_defInitFn</code></h3>
3601
 
 
3602
 
    
3603
 
        <div class="args">
3604
 
            <span class="paren">(</span><ul class="args-list inline commas">
3605
 
            
3606
 
                <li class="arg">
3607
 
                    
3608
 
                        <code>e</code>
3609
 
                    
3610
 
                </li>
3611
 
            
3612
 
            </ul><span class="paren">)</span>
3613
 
        </div>
3614
 
    
3615
 
 
3616
 
    
3617
 
 
3618
 
    
3619
 
 
3620
 
    
3621
 
        <span class="flag protected">protected</span>
3622
 
    
3623
 
 
3624
 
    
3625
 
 
3626
 
    
3627
 
 
3628
 
    
3629
 
 
3630
 
    <div class="meta">
3631
 
        
3632
 
            
3633
 
                <p>Inherited from
3634
 
                <a href="..&#x2F;classes&#x2F;Base.html#method__defInitFn">Base</a>:
3635
 
            
3636
 
        
3637
 
        
3638
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l313"><code>base&#x2F;js&#x2F;Base.js:313</code></a>
3639
 
        
3640
 
        </p>
3641
 
 
3642
 
 
3643
 
        
3644
 
 
3645
 
        
3646
 
    </div>
3647
 
 
3648
 
    <div class="description">
3649
 
        <p>Default init event handler</p>
3650
 
    </div>
3651
 
 
3652
 
    
3653
 
        <div class="params">
3654
 
            <h4>Parameters:</h4>
3655
 
 
3656
 
            <ul class="params-list">
3657
 
            
3658
 
                <li class="param">
3659
 
                    
3660
 
                        <code class="param-name">e</code>
3661
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3662
 
                    
3663
 
 
3664
 
                    
3665
 
 
3666
 
                    <div class="param-description">
3667
 
                        <p>Event object, with a cfg property which 
3668
 
refers to the configuration object passed to the constructor.</p>
3669
 
                    </div>
3670
 
 
3671
 
                    
3672
 
                </li>
3673
 
            
3674
 
            </ul>
3675
 
        </div>
3676
 
    
3677
 
 
3678
 
    
3679
 
 
3680
 
    
3681
 
</div>
3682
 
 
3683
 
                
3684
 
                    <div id="method__defNavigateFn" class="method item protected inherited">
3685
 
    <h3 class="name"><code>_defNavigateFn</code></h3>
3686
 
 
3687
 
    
3688
 
        <div class="args">
3689
 
            <span class="paren">(</span><ul class="args-list inline commas">
3690
 
            
3691
 
                <li class="arg">
3692
 
                    
3693
 
                        <code>e</code>
3694
 
                    
3695
 
                </li>
3696
 
            
3697
 
            </ul><span class="paren">)</span>
3698
 
        </div>
3699
 
    
3700
 
 
3701
 
    
3702
 
 
3703
 
    
3704
 
 
3705
 
    
3706
 
        <span class="flag protected">protected</span>
3707
 
    
3708
 
 
3709
 
    
3710
 
 
3711
 
    
3712
 
 
3713
 
    
3714
 
 
3715
 
    <div class="meta">
3716
 
        
3717
 
            
3718
 
                <p>Inherited from
3719
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__defNavigateFn">PjaxBase</a>:
3720
 
            
3721
 
        
3722
 
        
3723
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l392"><code>pjax&#x2F;js&#x2F;pjax-base.js:392</code></a>
3724
 
        
3725
 
        </p>
3726
 
 
3727
 
 
3728
 
        
3729
 
 
3730
 
        
3731
 
            <p>Available since 3.5.0</p>
3732
 
        
3733
 
    </div>
3734
 
 
3735
 
    <div class="description">
3736
 
        <p>Default handler for the <code>navigate</code> event.</p>
3737
 
 
3738
 
<p>Adds a new history entry or replaces the current entry for the specified URL
3739
 
and will scroll the page to the top if configured to do so.</p>
3740
 
    </div>
3741
 
 
3742
 
    
3743
 
        <div class="params">
3744
 
            <h4>Parameters:</h4>
3745
 
 
3746
 
            <ul class="params-list">
3747
 
            
3748
 
                <li class="param">
3749
 
                    
3750
 
                        <code class="param-name">e</code>
3751
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3752
 
                    
3753
 
 
3754
 
                    
3755
 
 
3756
 
                    <div class="param-description">
3757
 
                        
3758
 
                    </div>
3759
 
 
3760
 
                    
3761
 
                </li>
3762
 
            
3763
 
            </ul>
3764
 
        </div>
3765
 
    
3766
 
 
3767
 
    
3768
 
 
3769
 
    
3770
 
</div>
3771
 
 
3772
 
                
3773
 
                    <div id="method__defReadyFn" class="method item protected inherited">
3774
 
    <h3 class="name"><code>_defReadyFn</code></h3>
3775
 
 
3776
 
    
3777
 
        <div class="args">
3778
 
            <span class="paren">(</span><ul class="args-list inline commas">
3779
 
            
3780
 
                <li class="arg">
3781
 
                    
3782
 
                        <code>e</code>
3783
 
                    
3784
 
                </li>
3785
 
            
3786
 
            </ul><span class="paren">)</span>
3787
 
        </div>
3788
 
    
3789
 
 
3790
 
    
3791
 
 
3792
 
    
3793
 
 
3794
 
    
3795
 
        <span class="flag protected">protected</span>
3796
 
    
3797
 
 
3798
 
    
3799
 
 
3800
 
    
3801
 
 
3802
 
    
3803
 
 
3804
 
    <div class="meta">
3805
 
        
3806
 
            
3807
 
                <p>Inherited from
3808
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__defReadyFn">Router</a>:
3809
 
            
3810
 
        
3811
 
        
3812
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l971"><code>app&#x2F;js&#x2F;router.js:971</code></a>
3813
 
        
3814
 
        </p>
3815
 
 
3816
 
 
3817
 
        
3818
 
 
3819
 
        
3820
 
    </div>
3821
 
 
3822
 
    <div class="description">
3823
 
        <p>Default handler for the <code>ready</code> event.</p>
3824
 
    </div>
3825
 
 
3826
 
    
3827
 
        <div class="params">
3828
 
            <h4>Parameters:</h4>
3829
 
 
3830
 
            <ul class="params-list">
3831
 
            
3832
 
                <li class="param">
3833
 
                    
3834
 
                        <code class="param-name">e</code>
3835
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3836
 
                    
3837
 
 
3838
 
                    
3839
 
 
3840
 
                    <div class="param-description">
3841
 
                        
3842
 
                    </div>
3843
 
 
3844
 
                    
3845
 
                </li>
3846
 
            
3847
 
            </ul>
3848
 
        </div>
3849
 
    
3850
 
 
3851
 
    
3852
 
 
3853
 
    
3854
 
</div>
3855
 
 
3856
 
                
3857
 
                    <div id="method__dequeue" class="method item protected inherited">
3858
 
    <h3 class="name"><code>_dequeue</code></h3>
3859
 
 
3860
 
    
3861
 
        <span class="paren">()</span>
3862
 
    
3863
 
 
3864
 
    
3865
 
 
3866
 
    
3867
 
 
3868
 
    
3869
 
        <span class="flag protected">protected</span>
3870
 
    
3871
 
 
3872
 
    
3873
 
 
3874
 
    
3875
 
 
3876
 
    
3877
 
        <span class="flag chainable">chainable</span>
3878
 
    
3879
 
 
3880
 
    <div class="meta">
3881
 
        
3882
 
            
3883
 
                <p>Inherited from
3884
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__dequeue">Router</a>:
3885
 
            
3886
 
        
3887
 
        
3888
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l502"><code>app&#x2F;js&#x2F;router.js:502</code></a>
3889
 
        
3890
 
        </p>
3891
 
 
3892
 
 
3893
 
        
3894
 
 
3895
 
        
3896
 
    </div>
3897
 
 
3898
 
    <div class="description">
3899
 
        <p>Shifts the topmost <code>_save()</code> call off the queue and executes it. Does
3900
 
nothing if the queue is empty.</p>
3901
 
    </div>
3902
 
 
3903
 
    
3904
 
 
3905
 
    
3906
 
 
3907
 
    
3908
 
</div>
3909
 
 
3910
 
                
3911
 
                    <div id="method__destroyContainer" class="method item protected inherited">
3912
 
    <h3 class="name"><code>_destroyContainer</code></h3>
3913
 
 
3914
 
    
3915
 
        <span class="paren">()</span>
3916
 
    
3917
 
 
3918
 
    
3919
 
 
3920
 
    
3921
 
 
3922
 
    
3923
 
        <span class="flag protected">protected</span>
3924
 
    
3925
 
 
3926
 
    
3927
 
 
3928
 
    
3929
 
 
3930
 
    
3931
 
 
3932
 
    <div class="meta">
3933
 
        
3934
 
            <p>Inherited from
3935
 
            <a href="..&#x2F;classes&#x2F;View.html#method__destroyContainer">
3936
 
                View
3937
 
            </a>
3938
 
            
3939
 
            but overwritten in
3940
 
            
3941
 
        
3942
 
        
3943
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l464"><code>app&#x2F;js&#x2F;app-base.js:464</code></a>
3944
 
        
3945
 
        </p>
3946
 
 
3947
 
 
3948
 
        
3949
 
 
3950
 
        
3951
 
    </div>
3952
 
 
3953
 
    <div class="description">
3954
 
        <p>Overrides View's container destruction to deal with the <code>viewContainer</code> and
3955
 
checks to make sure not to remove and purge the <code>&lt;body&gt;</code>.</p>
3956
 
    </div>
3957
 
 
3958
 
    
3959
 
 
3960
 
    
3961
 
 
3962
 
    
3963
 
</div>
3964
 
 
3965
 
                
3966
 
                    <div id="method__destroyHierarchy" class="method item private inherited">
3967
 
    <h3 class="name"><code>_destroyHierarchy</code></h3>
3968
 
 
3969
 
    
3970
 
        <span class="paren">()</span>
3971
 
    
3972
 
 
3973
 
    
3974
 
 
3975
 
    
3976
 
 
3977
 
    
3978
 
        <span class="flag private">private</span>
3979
 
    
3980
 
 
3981
 
    
3982
 
 
3983
 
    
3984
 
 
3985
 
    
3986
 
 
3987
 
    <div class="meta">
3988
 
        
3989
 
            
3990
 
                <p>Inherited from
3991
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__destroyHierarchy">BaseCore</a>:
3992
 
            
3993
 
        
3994
 
        
3995
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l559"><code>base&#x2F;js&#x2F;BaseCore.js:559</code></a>
3996
 
        
3997
 
        </p>
3998
 
 
3999
 
 
4000
 
        
4001
 
 
4002
 
        
4003
 
    </div>
4004
 
 
4005
 
    <div class="description">
4006
 
        <p>Destroys the class hierarchy for this instance by invoking
4007
 
the destructor method on the prototype of each class in the hierarchy.</p>
4008
 
    </div>
4009
 
 
4010
 
    
4011
 
 
4012
 
    
4013
 
 
4014
 
    
4015
 
</div>
4016
 
 
4017
 
                
4018
 
                    <div id="method__detachView" class="method item protected inherited">
4019
 
    <h3 class="name"><code>_detachView</code></h3>
4020
 
 
4021
 
    
4022
 
        <div class="args">
4023
 
            <span class="paren">(</span><ul class="args-list inline commas">
4024
 
            
4025
 
                <li class="arg">
4026
 
                    
4027
 
                        <code>view</code>
4028
 
                    
4029
 
                </li>
4030
 
            
4031
 
            </ul><span class="paren">)</span>
4032
 
        </div>
4033
 
    
4034
 
 
4035
 
    
4036
 
 
4037
 
    
4038
 
 
4039
 
    
4040
 
        <span class="flag protected">protected</span>
4041
 
    
4042
 
 
4043
 
    
4044
 
 
4045
 
    
4046
 
 
4047
 
    
4048
 
 
4049
 
    <div class="meta">
4050
 
        
4051
 
            
4052
 
                <p>Inherited from
4053
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__detachView">App.Base</a>:
4054
 
            
4055
 
        
4056
 
        
4057
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l501"><code>app&#x2F;js&#x2F;app-base.js:501</code></a>
4058
 
        
4059
 
        </p>
4060
 
 
4061
 
 
4062
 
        
4063
 
 
4064
 
        
4065
 
            <p>Available since 3.5.0</p>
4066
 
        
4067
 
    </div>
4068
 
 
4069
 
    <div class="description">
4070
 
        <p>Helper method to detach the view instance from the application by removing
4071
 
the application as a bubble target of the view, and either just removing the
4072
 
view if it is intended to be preserved, or destroying the instance
4073
 
completely.</p>
4074
 
    </div>
4075
 
 
4076
 
    
4077
 
        <div class="params">
4078
 
            <h4>Parameters:</h4>
4079
 
 
4080
 
            <ul class="params-list">
4081
 
            
4082
 
                <li class="param">
4083
 
                    
4084
 
                        <code class="param-name">view</code>
4085
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
4086
 
                    
4087
 
 
4088
 
                    
4089
 
 
4090
 
                    <div class="param-description">
4091
 
                        <p>View to detach.</p>
4092
 
                    </div>
4093
 
 
4094
 
                    
4095
 
                </li>
4096
 
            
4097
 
            </ul>
4098
 
        </div>
4099
 
    
4100
 
 
4101
 
    
4102
 
 
4103
 
    
4104
 
</div>
4105
 
 
4106
 
                
4107
 
                    <div id="method__dispatch" class="method item protected inherited">
4108
 
    <h3 class="name"><code>_dispatch</code></h3>
4109
 
 
4110
 
    
4111
 
        <div class="args">
4112
 
            <span class="paren">(</span><ul class="args-list inline commas">
4113
 
            
4114
 
                <li class="arg">
4115
 
                    
4116
 
                        <code>path</code>
4117
 
                    
4118
 
                </li>
4119
 
            
4120
 
                <li class="arg">
4121
 
                    
4122
 
                        <code>url</code>
4123
 
                    
4124
 
                </li>
4125
 
            
4126
 
                <li class="arg">
4127
 
                    
4128
 
                        <code>src</code>
4129
 
                    
4130
 
                </li>
4131
 
            
4132
 
            </ul><span class="paren">)</span>
4133
 
        </div>
4134
 
    
4135
 
 
4136
 
    
4137
 
 
4138
 
    
4139
 
 
4140
 
    
4141
 
        <span class="flag protected">protected</span>
4142
 
    
4143
 
 
4144
 
    
4145
 
 
4146
 
    
4147
 
 
4148
 
    
4149
 
        <span class="flag chainable">chainable</span>
4150
 
    
4151
 
 
4152
 
    <div class="meta">
4153
 
        
4154
 
            
4155
 
                <p>Inherited from
4156
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__dispatch">Router</a>:
4157
 
            
4158
 
        
4159
 
        
4160
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l530"><code>app&#x2F;js&#x2F;router.js:530</code></a>
4161
 
        
4162
 
        </p>
4163
 
 
4164
 
 
4165
 
        
4166
 
 
4167
 
        
4168
 
    </div>
4169
 
 
4170
 
    <div class="description">
4171
 
        <p>Dispatches to the first route handler that matches the specified <em>path</em>.</p>
4172
 
 
4173
 
<p>If called before the <code>ready</code> event has fired, the dispatch will be aborted.
4174
 
This ensures normalized behavior between Chrome (which fires a <code>popstate</code>
4175
 
event on every pageview) and other browsers (which do not).</p>
4176
 
    </div>
4177
 
 
4178
 
    
4179
 
        <div class="params">
4180
 
            <h4>Parameters:</h4>
4181
 
 
4182
 
            <ul class="params-list">
4183
 
            
4184
 
                <li class="param">
4185
 
                    
4186
 
                        <code class="param-name">path</code>
4187
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4188
 
                    
4189
 
 
4190
 
                    
4191
 
 
4192
 
                    <div class="param-description">
4193
 
                        <p>URL path.</p>
4194
 
                    </div>
4195
 
 
4196
 
                    
4197
 
                </li>
4198
 
            
4199
 
                <li class="param">
4200
 
                    
4201
 
                        <code class="param-name">url</code>
4202
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4203
 
                    
4204
 
 
4205
 
                    
4206
 
 
4207
 
                    <div class="param-description">
4208
 
                        <p>Full URL.</p>
4209
 
                    </div>
4210
 
 
4211
 
                    
4212
 
                </li>
4213
 
            
4214
 
                <li class="param">
4215
 
                    
4216
 
                        <code class="param-name">src</code>
4217
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4218
 
                    
4219
 
 
4220
 
                    
4221
 
 
4222
 
                    <div class="param-description">
4223
 
                        <p>What initiated the dispatch.</p>
4224
 
                    </div>
4225
 
 
4226
 
                    
4227
 
                </li>
4228
 
            
4229
 
            </ul>
4230
 
        </div>
4231
 
    
4232
 
 
4233
 
    
4234
 
 
4235
 
    
4236
 
</div>
4237
 
 
4238
 
                
4239
 
                    <div id="method__filterAdHocAttrs" class="method item private inherited">
4240
 
    <h3 class="name"><code>_filterAdHocAttrs</code></h3>
4241
 
 
4242
 
    
4243
 
        <div class="args">
4244
 
            <span class="paren">(</span><ul class="args-list inline commas">
4245
 
            
4246
 
                <li class="arg">
4247
 
                    
4248
 
                        <code>allAttrs</code>
4249
 
                    
4250
 
                </li>
4251
 
            
4252
 
                <li class="arg">
4253
 
                    
4254
 
                        <code>userVals</code>
4255
 
                    
4256
 
                </li>
4257
 
            
4258
 
            </ul><span class="paren">)</span>
4259
 
        </div>
4260
 
    
4261
 
 
4262
 
    
4263
 
        <span class="returns-inline">
4264
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4265
 
        </span>
4266
 
    
4267
 
 
4268
 
    
4269
 
 
4270
 
    
4271
 
        <span class="flag private">private</span>
4272
 
    
4273
 
 
4274
 
    
4275
 
 
4276
 
    
4277
 
 
4278
 
    
4279
 
 
4280
 
    <div class="meta">
4281
 
        
4282
 
            
4283
 
                <p>Inherited from
4284
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
4285
 
            
4286
 
        
4287
 
        
4288
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l342"><code>base&#x2F;js&#x2F;BaseCore.js:342</code></a>
4289
 
        
4290
 
        </p>
4291
 
 
4292
 
 
4293
 
        
4294
 
 
4295
 
        
4296
 
    </div>
4297
 
 
4298
 
    <div class="description">
4299
 
        
4300
 
    </div>
4301
 
 
4302
 
    
4303
 
        <div class="params">
4304
 
            <h4>Parameters:</h4>
4305
 
 
4306
 
            <ul class="params-list">
4307
 
            
4308
 
                <li class="param">
4309
 
                    
4310
 
                        <code class="param-name">allAttrs</code>
4311
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4312
 
                    
4313
 
 
4314
 
                    
4315
 
 
4316
 
                    <div class="param-description">
4317
 
                        <p>The set of all attribute configurations for this instance. 
4318
 
Attributes will be removed from this set, if they belong to the filtered class, so
4319
 
that by the time all classes are processed, allCfgs will be empty.</p>
4320
 
                    </div>
4321
 
 
4322
 
                    
4323
 
                </li>
4324
 
            
4325
 
                <li class="param">
4326
 
                    
4327
 
                        <code class="param-name">userVals</code>
4328
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4329
 
                    
4330
 
 
4331
 
                    
4332
 
 
4333
 
                    <div class="param-description">
4334
 
                        <p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
4335
 
                    </div>
4336
 
 
4337
 
                    
4338
 
                </li>
4339
 
            
4340
 
            </ul>
4341
 
        </div>
4342
 
    
4343
 
 
4344
 
    
4345
 
        <div class="returns">
4346
 
            <h4>Returns:</h4>
4347
 
 
4348
 
            <div class="returns-description">
4349
 
                
4350
 
                    
4351
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4352
 
                    
4353
 
                    The set of adhoc attributes passed in, in the form
4354
 
of an object with attribute name/configuration pairs.
4355
 
                
4356
 
            </div>
4357
 
        </div>
4358
 
    
4359
 
 
4360
 
    
4361
 
</div>
4362
 
 
4363
 
                
4364
 
                    <div id="method__filterAttrCfs" class="method item private inherited">
4365
 
    <h3 class="name"><code>_filterAttrCfs</code></h3>
4366
 
 
4367
 
    
4368
 
        <div class="args">
4369
 
            <span class="paren">(</span><ul class="args-list inline commas">
4370
 
            
4371
 
                <li class="arg">
4372
 
                    
4373
 
                        <code>clazz</code>
4374
 
                    
4375
 
                </li>
4376
 
            
4377
 
                <li class="arg">
4378
 
                    
4379
 
                        <code>allCfgs</code>
4380
 
                    
4381
 
                </li>
4382
 
            
4383
 
            </ul><span class="paren">)</span>
4384
 
        </div>
4385
 
    
4386
 
 
4387
 
    
4388
 
        <span class="returns-inline">
4389
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4390
 
        </span>
4391
 
    
4392
 
 
4393
 
    
4394
 
 
4395
 
    
4396
 
        <span class="flag private">private</span>
4397
 
    
4398
 
 
4399
 
    
4400
 
 
4401
 
    
4402
 
 
4403
 
    
4404
 
 
4405
 
    <div class="meta">
4406
 
        
4407
 
            
4408
 
                <p>Inherited from
4409
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__filterAttrCfs">BaseCore</a>:
4410
 
            
4411
 
        
4412
 
        
4413
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l310"><code>base&#x2F;js&#x2F;BaseCore.js:310</code></a>
4414
 
        
4415
 
        </p>
4416
 
 
4417
 
 
4418
 
        
4419
 
 
4420
 
        
4421
 
    </div>
4422
 
 
4423
 
    <div class="description">
4424
 
        <p>A helper method used when processing ATTRS across the class hierarchy during 
4425
 
initialization. Returns a disposable object with the attributes defined for 
4426
 
the provided class, extracted from the set of all attributes passed in.</p>
4427
 
    </div>
4428
 
 
4429
 
    
4430
 
        <div class="params">
4431
 
            <h4>Parameters:</h4>
4432
 
 
4433
 
            <ul class="params-list">
4434
 
            
4435
 
                <li class="param">
4436
 
                    
4437
 
                        <code class="param-name">clazz</code>
4438
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
4439
 
                    
4440
 
 
4441
 
                    
4442
 
 
4443
 
                    <div class="param-description">
4444
 
                        <p>The class for which the desired attributes are required.</p>
4445
 
                    </div>
4446
 
 
4447
 
                    
4448
 
                </li>
4449
 
            
4450
 
                <li class="param">
4451
 
                    
4452
 
                        <code class="param-name">allCfgs</code>
4453
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4454
 
                    
4455
 
 
4456
 
                    
4457
 
 
4458
 
                    <div class="param-description">
4459
 
                        <p>The set of all attribute configurations for this instance. 
4460
 
Attributes will be removed from this set, if they belong to the filtered class, so
4461
 
that by the time all classes are processed, allCfgs will be empty.</p>
4462
 
                    </div>
4463
 
 
4464
 
                    
4465
 
                </li>
4466
 
            
4467
 
            </ul>
4468
 
        </div>
4469
 
    
4470
 
 
4471
 
    
4472
 
        <div class="returns">
4473
 
            <h4>Returns:</h4>
4474
 
 
4475
 
            <div class="returns-description">
4476
 
                
4477
 
                    
4478
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4479
 
                    
4480
 
                    The set of attributes belonging to the class passed in, in the form
4481
 
of an object with attribute name/configuration pairs.
4482
 
                
4483
 
            </div>
4484
 
        </div>
4485
 
    
4486
 
 
4487
 
    
4488
 
</div>
4489
 
 
4490
 
                
4491
 
                    <div id="method__fireAttrChange" class="method item private inherited">
4492
 
    <h3 class="name"><code>_fireAttrChange</code></h3>
4493
 
 
4494
 
    
4495
 
        <div class="args">
4496
 
            <span class="paren">(</span><ul class="args-list inline commas">
4497
 
            
4498
 
                <li class="arg">
4499
 
                    
4500
 
                        <code>attrName</code>
4501
 
                    
4502
 
                </li>
4503
 
            
4504
 
                <li class="arg">
4505
 
                    
4506
 
                        <code>subAttrName</code>
4507
 
                    
4508
 
                </li>
4509
 
            
4510
 
                <li class="arg">
4511
 
                    
4512
 
                        <code>currVal</code>
4513
 
                    
4514
 
                </li>
4515
 
            
4516
 
                <li class="arg">
4517
 
                    
4518
 
                        <code>newVal</code>
4519
 
                    
4520
 
                </li>
4521
 
            
4522
 
                <li class="arg">
4523
 
                    
4524
 
                        <code>opts</code>
4525
 
                    
4526
 
                </li>
4527
 
            
4528
 
            </ul><span class="paren">)</span>
4529
 
        </div>
4530
 
    
4531
 
 
4532
 
    
4533
 
 
4534
 
    
4535
 
 
4536
 
    
4537
 
        <span class="flag private">private</span>
4538
 
    
4539
 
 
4540
 
    
4541
 
 
4542
 
    
4543
 
 
4544
 
    
4545
 
 
4546
 
    <div class="meta">
4547
 
        
4548
 
            
4549
 
                <p>Inherited from
4550
 
                <a href="..&#x2F;classes&#x2F;AttributeEvents.html#method__fireAttrChange">AttributeEvents</a>:
4551
 
            
4552
 
        
4553
 
        
4554
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeEvents.js.html#l94"><code>attribute&#x2F;js&#x2F;AttributeEvents.js:94</code></a>
4555
 
        
4556
 
        </p>
4557
 
 
4558
 
 
4559
 
        
4560
 
 
4561
 
        
4562
 
    </div>
4563
 
 
4564
 
    <div class="description">
4565
 
        <p>Utility method to help setup the event payload and fire the attribute change event.</p>
4566
 
    </div>
4567
 
 
4568
 
    
4569
 
        <div class="params">
4570
 
            <h4>Parameters:</h4>
4571
 
 
4572
 
            <ul class="params-list">
4573
 
            
4574
 
                <li class="param">
4575
 
                    
4576
 
                        <code class="param-name">attrName</code>
4577
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4578
 
                    
4579
 
 
4580
 
                    
4581
 
 
4582
 
                    <div class="param-description">
4583
 
                        <p>The name of the attribute</p>
4584
 
                    </div>
4585
 
 
4586
 
                    
4587
 
                </li>
4588
 
            
4589
 
                <li class="param">
4590
 
                    
4591
 
                        <code class="param-name">subAttrName</code>
4592
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4593
 
                    
4594
 
 
4595
 
                    
4596
 
 
4597
 
                    <div class="param-description">
4598
 
                        <p>The full path of the property being changed, 
4599
 
if this is a sub-attribute value being change. Otherwise null.</p>
4600
 
                    </div>
4601
 
 
4602
 
                    
4603
 
                </li>
4604
 
            
4605
 
                <li class="param">
4606
 
                    
4607
 
                        <code class="param-name">currVal</code>
4608
 
                        <span class="type">Any</span>
4609
 
                    
4610
 
 
4611
 
                    
4612
 
 
4613
 
                    <div class="param-description">
4614
 
                        <p>The current value of the attribute</p>
4615
 
                    </div>
4616
 
 
4617
 
                    
4618
 
                </li>
4619
 
            
4620
 
                <li class="param">
4621
 
                    
4622
 
                        <code class="param-name">newVal</code>
4623
 
                        <span class="type">Any</span>
4624
 
                    
4625
 
 
4626
 
                    
4627
 
 
4628
 
                    <div class="param-description">
4629
 
                        <p>The new value of the attribute</p>
4630
 
                    </div>
4631
 
 
4632
 
                    
4633
 
                </li>
4634
 
            
4635
 
                <li class="param">
4636
 
                    
4637
 
                        <code class="param-name">opts</code>
4638
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4639
 
                    
4640
 
 
4641
 
                    
4642
 
 
4643
 
                    <div class="param-description">
4644
 
                        <p>Any additional event data to mix into the attribute change event's event facade.</p>
4645
 
                    </div>
4646
 
 
4647
 
                    
4648
 
                </li>
4649
 
            
4650
 
            </ul>
4651
 
        </div>
4652
 
    
4653
 
 
4654
 
    
4655
 
 
4656
 
    
4657
 
</div>
4658
 
 
4659
 
                
4660
 
                    <div id="method__getAttr" class="method item protected inherited">
4661
 
    <h3 class="name"><code>_getAttr</code></h3>
4662
 
 
4663
 
    
4664
 
        <div class="args">
4665
 
            <span class="paren">(</span><ul class="args-list inline commas">
4666
 
            
4667
 
                <li class="arg">
4668
 
                    
4669
 
                        <code>name</code>
4670
 
                    
4671
 
                </li>
4672
 
            
4673
 
            </ul><span class="paren">)</span>
4674
 
        </div>
4675
 
    
4676
 
 
4677
 
    
4678
 
        <span class="returns-inline">
4679
 
            <span class="type">Any</span>
4680
 
        </span>
4681
 
    
4682
 
 
4683
 
    
4684
 
 
4685
 
    
4686
 
        <span class="flag protected">protected</span>
4687
 
    
4688
 
 
4689
 
    
4690
 
 
4691
 
    
4692
 
 
4693
 
    
4694
 
        <span class="flag chainable">chainable</span>
4695
 
    
4696
 
 
4697
 
    <div class="meta">
4698
 
        
4699
 
            
4700
 
                <p>Inherited from
4701
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__getAttr">AttributeCore</a>:
4702
 
            
4703
 
        
4704
 
        
4705
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l468"><code>attribute&#x2F;js&#x2F;AttributeCore.js:468</code></a>
4706
 
        
4707
 
        </p>
4708
 
 
4709
 
 
4710
 
        
4711
 
 
4712
 
        
4713
 
    </div>
4714
 
 
4715
 
    <div class="description">
4716
 
        <p>Provides the common implementation for the public get method,
4717
 
allowing Attribute hosts to over-ride either method.</p>
4718
 
 
4719
 
<p>See <a href="#method_get">get</a> for argument details.</p>
4720
 
    </div>
4721
 
 
4722
 
    
4723
 
        <div class="params">
4724
 
            <h4>Parameters:</h4>
4725
 
 
4726
 
            <ul class="params-list">
4727
 
            
4728
 
                <li class="param">
4729
 
                    
4730
 
                        <code class="param-name">name</code>
4731
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4732
 
                    
4733
 
 
4734
 
                    
4735
 
 
4736
 
                    <div class="param-description">
4737
 
                        <p>The name of the attribute.</p>
4738
 
                    </div>
4739
 
 
4740
 
                    
4741
 
                </li>
4742
 
            
4743
 
            </ul>
4744
 
        </div>
4745
 
    
4746
 
 
4747
 
    
4748
 
        <div class="returns">
4749
 
            <h4>Returns:</h4>
4750
 
 
4751
 
            <div class="returns-description">
4752
 
                
4753
 
                    
4754
 
                        <span class="type">Any</span>:
4755
 
                    
4756
 
                    The value of the attribute.
4757
 
                
4758
 
            </div>
4759
 
        </div>
4760
 
    
4761
 
 
4762
 
    
4763
 
</div>
4764
 
 
4765
 
                
4766
 
                    <div id="method__getAttrCfg" class="method item protected inherited">
4767
 
    <h3 class="name"><code>_getAttrCfg</code></h3>
4768
 
 
4769
 
    
4770
 
        <div class="args">
4771
 
            <span class="paren">(</span><ul class="args-list inline commas">
4772
 
            
4773
 
                <li class="arg">
4774
 
                    
4775
 
                        <code>name</code>
4776
 
                    
4777
 
                </li>
4778
 
            
4779
 
            </ul><span class="paren">)</span>
4780
 
        </div>
4781
 
    
4782
 
 
4783
 
    
4784
 
        <span class="returns-inline">
4785
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4786
 
        </span>
4787
 
    
4788
 
 
4789
 
    
4790
 
 
4791
 
    
4792
 
        <span class="flag protected">protected</span>
4793
 
    
4794
 
 
4795
 
    
4796
 
 
4797
 
    
4798
 
 
4799
 
    
4800
 
 
4801
 
    <div class="meta">
4802
 
        
4803
 
            
4804
 
                <p>Inherited from
4805
 
                <a href="..&#x2F;classes&#x2F;AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
4806
 
            
4807
 
        
4808
 
        
4809
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeExtras.js.html#l112"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:112</code></a>
4810
 
        
4811
 
        </p>
4812
 
 
4813
 
 
4814
 
        
4815
 
 
4816
 
        
4817
 
    </div>
4818
 
 
4819
 
    <div class="description">
4820
 
        <p>Returns an object with the configuration properties (and value)
4821
 
for the given attribute. If attrName is not provided, returns the
4822
 
configuration properties for all attributes.</p>
4823
 
    </div>
4824
 
 
4825
 
    
4826
 
        <div class="params">
4827
 
            <h4>Parameters:</h4>
4828
 
 
4829
 
            <ul class="params-list">
4830
 
            
4831
 
                <li class="param">
4832
 
                    
4833
 
                        <code class="param-name">name</code>
4834
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4835
 
                    
4836
 
 
4837
 
                    
4838
 
 
4839
 
                    <div class="param-description">
4840
 
                        <p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
4841
 
                    </div>
4842
 
 
4843
 
                    
4844
 
                </li>
4845
 
            
4846
 
            </ul>
4847
 
        </div>
4848
 
    
4849
 
 
4850
 
    
4851
 
        <div class="returns">
4852
 
            <h4>Returns:</h4>
4853
 
 
4854
 
            <div class="returns-description">
4855
 
                
4856
 
                    
4857
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4858
 
                    
4859
 
                    The configuration properties for the given attribute, or all attributes.
4860
 
                
4861
 
            </div>
4862
 
        </div>
4863
 
    
4864
 
 
4865
 
    
4866
 
</div>
4867
 
 
4868
 
                
4869
 
                    <div id="method__getAttrCfgs" class="method item protected inherited">
4870
 
    <h3 class="name"><code>_getAttrCfgs</code></h3>
4871
 
 
4872
 
    
4873
 
        <span class="paren">()</span>
4874
 
    
4875
 
 
4876
 
    
4877
 
        <span class="returns-inline">
4878
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4879
 
        </span>
4880
 
    
4881
 
 
4882
 
    
4883
 
 
4884
 
    
4885
 
        <span class="flag protected">protected</span>
4886
 
    
4887
 
 
4888
 
    
4889
 
 
4890
 
    
4891
 
 
4892
 
    
4893
 
 
4894
 
    <div class="meta">
4895
 
        
4896
 
            
4897
 
                <p>Inherited from
4898
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__getAttrCfgs">BaseCore</a>:
4899
 
            
4900
 
        
4901
 
        
4902
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l293"><code>base&#x2F;js&#x2F;BaseCore.js:293</code></a>
4903
 
        
4904
 
        </p>
4905
 
 
4906
 
 
4907
 
        
4908
 
 
4909
 
        
4910
 
    </div>
4911
 
 
4912
 
    <div class="description">
4913
 
        <p>Returns an aggregated set of attribute configurations, by traversing 
4914
 
the class hierarchy.</p>
4915
 
    </div>
4916
 
 
4917
 
    
4918
 
 
4919
 
    
4920
 
        <div class="returns">
4921
 
            <h4>Returns:</h4>
4922
 
 
4923
 
            <div class="returns-description">
4924
 
                
4925
 
                    
4926
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4927
 
                    
4928
 
                    The hash of attribute configurations, aggregated across classes in the hierarchy
4929
 
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
4930
 
the cached value.
4931
 
                
4932
 
            </div>
4933
 
        </div>
4934
 
    
4935
 
 
4936
 
    
4937
 
</div>
4938
 
 
4939
 
                
4940
 
                    <div id="method__getAttrInitVal" class="method item private inherited">
4941
 
    <h3 class="name"><code>_getAttrInitVal</code></h3>
4942
 
 
4943
 
    
4944
 
        <div class="args">
4945
 
            <span class="paren">(</span><ul class="args-list inline commas">
4946
 
            
4947
 
                <li class="arg">
4948
 
                    
4949
 
                        <code>attr</code>
4950
 
                    
4951
 
                </li>
4952
 
            
4953
 
                <li class="arg">
4954
 
                    
4955
 
                        <code>cfg</code>
4956
 
                    
4957
 
                </li>
4958
 
            
4959
 
                <li class="arg">
4960
 
                    
4961
 
                        <code>initValues</code>
4962
 
                    
4963
 
                </li>
4964
 
            
4965
 
            </ul><span class="paren">)</span>
4966
 
        </div>
4967
 
    
4968
 
 
4969
 
    
4970
 
        <span class="returns-inline">
4971
 
            <span class="type">Any</span>
4972
 
        </span>
4973
 
    
4974
 
 
4975
 
    
4976
 
 
4977
 
    
4978
 
        <span class="flag private">private</span>
4979
 
    
4980
 
 
4981
 
    
4982
 
 
4983
 
    
4984
 
 
4985
 
    
4986
 
 
4987
 
    <div class="meta">
4988
 
        
4989
 
            <p>Inherited from
4990
 
            <a href="..&#x2F;classes&#x2F;Attribute.html#method__getAttrInitVal">
4991
 
                Attribute
4992
 
            </a>
4993
 
            
4994
 
            but overwritten in
4995
 
            
4996
 
        
4997
 
        
4998
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l823"><code>attribute&#x2F;js&#x2F;AttributeCore.js:823</code></a>
4999
 
        
5000
 
        </p>
5001
 
 
5002
 
 
5003
 
        
5004
 
 
5005
 
        
5006
 
    </div>
5007
 
 
5008
 
    <div class="description">
5009
 
        <p>Returns the initial value of the given attribute from
5010
 
either the default configuration provided, or the 
5011
 
over-ridden value if it exists in the set of initValues 
5012
 
provided and the attribute is not read-only.</p>
5013
 
    </div>
5014
 
 
5015
 
    
5016
 
        <div class="params">
5017
 
            <h4>Parameters:</h4>
5018
 
 
5019
 
            <ul class="params-list">
5020
 
            
5021
 
                <li class="param">
5022
 
                    
5023
 
                        <code class="param-name">attr</code>
5024
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5025
 
                    
5026
 
 
5027
 
                    
5028
 
 
5029
 
                    <div class="param-description">
5030
 
                        <p>The name of the attribute</p>
5031
 
                    </div>
5032
 
 
5033
 
                    
5034
 
                </li>
5035
 
            
5036
 
                <li class="param">
5037
 
                    
5038
 
                        <code class="param-name">cfg</code>
5039
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5040
 
                    
5041
 
 
5042
 
                    
5043
 
 
5044
 
                    <div class="param-description">
5045
 
                        <p>The attribute configuration object</p>
5046
 
                    </div>
5047
 
 
5048
 
                    
5049
 
                </li>
5050
 
            
5051
 
                <li class="param">
5052
 
                    
5053
 
                        <code class="param-name">initValues</code>
5054
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5055
 
                    
5056
 
 
5057
 
                    
5058
 
 
5059
 
                    <div class="param-description">
5060
 
                        <p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
5061
 
                    </div>
5062
 
 
5063
 
                    
5064
 
                </li>
5065
 
            
5066
 
            </ul>
5067
 
        </div>
5068
 
    
5069
 
 
5070
 
    
5071
 
        <div class="returns">
5072
 
            <h4>Returns:</h4>
5073
 
 
5074
 
            <div class="returns-description">
5075
 
                
5076
 
                    
5077
 
                        <span class="type">Any</span>:
5078
 
                    
5079
 
                    The initial value of the attribute.
5080
 
                
5081
 
            </div>
5082
 
        </div>
5083
 
    
5084
 
 
5085
 
    
5086
 
</div>
5087
 
 
5088
 
                
5089
 
                    <div id="method__getAttrs" class="method item protected inherited">
5090
 
    <h3 class="name"><code>_getAttrs</code></h3>
5091
 
 
5092
 
    
5093
 
        <div class="args">
5094
 
            <span class="paren">(</span><ul class="args-list inline commas">
5095
 
            
5096
 
                <li class="arg">
5097
 
                    
5098
 
                        <code>attrs</code>
5099
 
                    
5100
 
                </li>
5101
 
            
5102
 
            </ul><span class="paren">)</span>
5103
 
        </div>
5104
 
    
5105
 
 
5106
 
    
5107
 
        <span class="returns-inline">
5108
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5109
 
        </span>
5110
 
    
5111
 
 
5112
 
    
5113
 
 
5114
 
    
5115
 
        <span class="flag protected">protected</span>
5116
 
    
5117
 
 
5118
 
    
5119
 
 
5120
 
    
5121
 
 
5122
 
    
5123
 
 
5124
 
    <div class="meta">
5125
 
        
5126
 
            
5127
 
                <p>Inherited from
5128
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__getAttrs">AttributeCore</a>:
5129
 
            
5130
 
        
5131
 
        
5132
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l677"><code>attribute&#x2F;js&#x2F;AttributeCore.js:677</code></a>
5133
 
        
5134
 
        </p>
5135
 
 
5136
 
 
5137
 
        
5138
 
 
5139
 
        
5140
 
    </div>
5141
 
 
5142
 
    <div class="description">
5143
 
        <p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
5144
 
    </div>
5145
 
 
5146
 
    
5147
 
        <div class="params">
5148
 
            <h4>Parameters:</h4>
5149
 
 
5150
 
            <ul class="params-list">
5151
 
            
5152
 
                <li class="param">
5153
 
                    
5154
 
                        <code class="param-name">attrs</code>
5155
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
5156
 
                    
5157
 
 
5158
 
                    
5159
 
 
5160
 
                    <div class="param-description">
5161
 
                        <p>Optional. An array of attribute names. If omitted, all attribute values are
5162
 
returned. If set to true, all attributes modified from their initial values are returned.</p>
5163
 
                    </div>
5164
 
 
5165
 
                    
5166
 
                </li>
5167
 
            
5168
 
            </ul>
5169
 
        </div>
5170
 
    
5171
 
 
5172
 
    
5173
 
        <div class="returns">
5174
 
            <h4>Returns:</h4>
5175
 
 
5176
 
            <div class="returns-description">
5177
 
                
5178
 
                    
5179
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5180
 
                    
5181
 
                    An object with attribute name/value pairs.
5182
 
                
5183
 
            </div>
5184
 
        </div>
5185
 
    
5186
 
 
5187
 
    
5188
 
</div>
5189
 
 
5190
 
                
5191
 
                    <div id="method__getClasses" class="method item protected inherited">
5192
 
    <h3 class="name"><code>_getClasses</code></h3>
5193
 
 
5194
 
    
5195
 
        <span class="paren">()</span>
5196
 
    
5197
 
 
5198
 
    
5199
 
        <span class="returns-inline">
5200
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
5201
 
        </span>
5202
 
    
5203
 
 
5204
 
    
5205
 
 
5206
 
    
5207
 
        <span class="flag protected">protected</span>
5208
 
    
5209
 
 
5210
 
    
5211
 
 
5212
 
    
5213
 
 
5214
 
    
5215
 
 
5216
 
    <div class="meta">
5217
 
        
5218
 
            
5219
 
                <p>Inherited from
5220
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__getClasses">BaseCore</a>:
5221
 
            
5222
 
        
5223
 
        
5224
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l277"><code>base&#x2F;js&#x2F;BaseCore.js:277</code></a>
5225
 
        
5226
 
        </p>
5227
 
 
5228
 
 
5229
 
        
5230
 
 
5231
 
        
5232
 
    </div>
5233
 
 
5234
 
    <div class="description">
5235
 
        <p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
5236
 
    </div>
5237
 
 
5238
 
    
5239
 
 
5240
 
    
5241
 
        <div class="returns">
5242
 
            <h4>Returns:</h4>
5243
 
 
5244
 
            <div class="returns-description">
5245
 
                
5246
 
                    
5247
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
5248
 
                    
5249
 
                    An array of classes (constructor functions), making up the class hierarchy for this object.
5250
 
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the 
5251
 
cached value.
5252
 
                
5253
 
            </div>
5254
 
        </div>
5255
 
    
5256
 
 
5257
 
    
5258
 
</div>
5259
 
 
5260
 
                
5261
 
                    <div id="method__getContainer" class="method item protected inherited">
5262
 
    <h3 class="name"><code>_getContainer</code></h3>
5263
 
 
5264
 
    
5265
 
        <div class="args">
5266
 
            <span class="paren">(</span><ul class="args-list inline commas">
5267
 
            
5268
 
                <li class="arg">
5269
 
                    
5270
 
                        <code>value</code>
5271
 
                    
5272
 
                </li>
5273
 
            
5274
 
            </ul><span class="paren">)</span>
5275
 
        </div>
5276
 
    
5277
 
 
5278
 
    
5279
 
        <span class="returns-inline">
5280
 
            <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
5281
 
        </span>
5282
 
    
5283
 
 
5284
 
    
5285
 
 
5286
 
    
5287
 
        <span class="flag protected">protected</span>
5288
 
    
5289
 
 
5290
 
    
5291
 
 
5292
 
    
5293
 
 
5294
 
    
5295
 
 
5296
 
    <div class="meta">
5297
 
        
5298
 
            
5299
 
                <p>Inherited from
5300
 
                <a href="..&#x2F;classes&#x2F;View.html#method__getContainer">View</a>:
5301
 
            
5302
 
        
5303
 
        
5304
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l314"><code>app&#x2F;js&#x2F;view.js:314</code></a>
5305
 
        
5306
 
        </p>
5307
 
 
5308
 
 
5309
 
        
5310
 
 
5311
 
        
5312
 
            <p>Available since 3.5.0</p>
5313
 
        
5314
 
    </div>
5315
 
 
5316
 
    <div class="description">
5317
 
        <p>Getter for the <code>container</code> attribute.</p>
5318
 
    </div>
5319
 
 
5320
 
    
5321
 
        <div class="params">
5322
 
            <h4>Parameters:</h4>
5323
 
 
5324
 
            <ul class="params-list">
5325
 
            
5326
 
                <li class="param">
5327
 
                    
5328
 
                        <code class="param-name">value</code>
5329
 
                        <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | Null</span>
5330
 
                    
5331
 
 
5332
 
                    
5333
 
 
5334
 
                    <div class="param-description">
5335
 
                        <p>Current attribute value.</p>
5336
 
                    </div>
5337
 
 
5338
 
                    
5339
 
                </li>
5340
 
            
5341
 
            </ul>
5342
 
        </div>
5343
 
    
5344
 
 
5345
 
    
5346
 
        <div class="returns">
5347
 
            <h4>Returns:</h4>
5348
 
 
5349
 
            <div class="returns-description">
5350
 
                
5351
 
                    
5352
 
                        <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>:
5353
 
                    
5354
 
                    Container node.
5355
 
                
5356
 
            </div>
5357
 
        </div>
5358
 
    
5359
 
 
5360
 
    
5361
 
</div>
5362
 
 
5363
 
                
5364
 
                    <div id="method__getHashPath" class="method item protected inherited">
5365
 
    <h3 class="name"><code>_getHashPath</code></h3>
5366
 
 
5367
 
    
5368
 
        <span class="paren">()</span>
5369
 
    
5370
 
 
5371
 
    
5372
 
        <span class="returns-inline">
5373
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5374
 
        </span>
5375
 
    
5376
 
 
5377
 
    
5378
 
 
5379
 
    
5380
 
        <span class="flag protected">protected</span>
5381
 
    
5382
 
 
5383
 
    
5384
 
 
5385
 
    
5386
 
 
5387
 
    
5388
 
 
5389
 
    <div class="meta">
5390
 
        
5391
 
            
5392
 
                <p>Inherited from
5393
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getHashPath">Router</a>:
5394
 
            
5395
 
        
5396
 
        
5397
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l587"><code>app&#x2F;js&#x2F;router.js:587</code></a>
5398
 
        
5399
 
        </p>
5400
 
 
5401
 
 
5402
 
        
5403
 
 
5404
 
        
5405
 
    </div>
5406
 
 
5407
 
    <div class="description">
5408
 
        <p>Gets the current path from the location hash, or an empty string if the
5409
 
hash is empty.</p>
5410
 
    </div>
5411
 
 
5412
 
    
5413
 
 
5414
 
    
5415
 
        <div class="returns">
5416
 
            <h4>Returns:</h4>
5417
 
 
5418
 
            <div class="returns-description">
5419
 
                
5420
 
                    
5421
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
5422
 
                    
5423
 
                    Current hash path, or an empty string if the hash is empty.
5424
 
                
5425
 
            </div>
5426
 
        </div>
5427
 
    
5428
 
 
5429
 
    
5430
 
</div>
5431
 
 
5432
 
                
5433
 
                    <div id="method__getOrigin" class="method item protected inherited">
5434
 
    <h3 class="name"><code>_getOrigin</code></h3>
5435
 
 
5436
 
    
5437
 
        <span class="paren">()</span>
5438
 
    
5439
 
 
5440
 
    
5441
 
        <span class="returns-inline">
5442
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5443
 
        </span>
5444
 
    
5445
 
 
5446
 
    
5447
 
 
5448
 
    
5449
 
        <span class="flag protected">protected</span>
5450
 
    
5451
 
 
5452
 
    
5453
 
 
5454
 
    
5455
 
 
5456
 
    
5457
 
 
5458
 
    <div class="meta">
5459
 
        
5460
 
            
5461
 
                <p>Inherited from
5462
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getOrigin">Router</a>:
5463
 
            
5464
 
        
5465
 
        
5466
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l599"><code>app&#x2F;js&#x2F;router.js:599</code></a>
5467
 
        
5468
 
        </p>
5469
 
 
5470
 
 
5471
 
        
5472
 
 
5473
 
        
5474
 
    </div>
5475
 
 
5476
 
    <div class="description">
5477
 
        <p>Gets the location origin (i.e., protocol, host, and port) as a URL.</p>
5478
 
    </div>
5479
 
 
5480
 
    
5481
 
 
5482
 
    
5483
 
        <div class="returns">
5484
 
            <h4>Returns:</h4>
5485
 
 
5486
 
            <div class="returns-description">
5487
 
                
5488
 
                    
5489
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
5490
 
                    
5491
 
                    Location origin (i.e., protocol, host, and port).
5492
 
                
5493
 
            </div>
5494
 
        </div>
5495
 
    
5496
 
 
5497
 
    
5498
 
        <div class="example">
5499
 
            <h4>Example:</h4>
5500
 
 
5501
 
            <div class="example-content">
5502
 
                <pre class="code"><code class="prettyprint">http://example.com
5503
 
</code></pre>
5504
 
            </div>
5505
 
        </div>
5506
 
    
5507
 
</div>
5508
 
 
5509
 
                
5510
 
                    <div id="method__getPath" class="method item protected inherited">
5511
 
    <h3 class="name"><code>_getPath</code></h3>
5512
 
 
5513
 
    
5514
 
        <span class="paren">()</span>
5515
 
    
5516
 
 
5517
 
    
5518
 
        <span class="returns-inline">
5519
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5520
 
        </span>
5521
 
    
5522
 
 
5523
 
    
5524
 
 
5525
 
    
5526
 
        <span class="flag protected">protected</span>
5527
 
    
5528
 
 
5529
 
    
5530
 
 
5531
 
    
5532
 
 
5533
 
    
5534
 
 
5535
 
    <div class="meta">
5536
 
        
5537
 
            
5538
 
                <p>Inherited from
5539
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getPath">Router</a>:
5540
 
            
5541
 
        
5542
 
        
5543
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l614"><code>app&#x2F;js&#x2F;router.js:614</code></a>
5544
 
        
5545
 
        </p>
5546
 
 
5547
 
 
5548
 
        
5549
 
 
5550
 
        
5551
 
    </div>
5552
 
 
5553
 
    <div class="description">
5554
 
        <p>Gets the current route path, relative to the <code>root</code> (if any).</p>
5555
 
    </div>
5556
 
 
5557
 
    
5558
 
 
5559
 
    
5560
 
        <div class="returns">
5561
 
            <h4>Returns:</h4>
5562
 
 
5563
 
            <div class="returns-description">
5564
 
                
5565
 
                    
5566
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
5567
 
                    
5568
 
                    Current route path.
5569
 
                
5570
 
            </div>
5571
 
        </div>
5572
 
    
5573
 
 
5574
 
    
5575
 
</div>
5576
 
 
5577
 
                
5578
 
                    <div id="method__getQuery" class="method item protected inherited">
5579
 
    <h3 class="name"><code>_getQuery</code></h3>
5580
 
 
5581
 
    
5582
 
        <span class="paren">()</span>
5583
 
    
5584
 
 
5585
 
    
5586
 
        <span class="returns-inline">
5587
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5588
 
        </span>
5589
 
    
5590
 
 
5591
 
    
5592
 
 
5593
 
    
5594
 
        <span class="flag protected">protected</span>
5595
 
    
5596
 
 
5597
 
    
5598
 
 
5599
 
    
5600
 
 
5601
 
    
5602
 
 
5603
 
    <div class="meta">
5604
 
        
5605
 
            
5606
 
                <p>Inherited from
5607
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getQuery">Router</a>:
5608
 
            
5609
 
        
5610
 
        
5611
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l628"><code>app&#x2F;js&#x2F;router.js:628</code></a>
5612
 
        
5613
 
        </p>
5614
 
 
5615
 
 
5616
 
        
5617
 
 
5618
 
        
5619
 
    </div>
5620
 
 
5621
 
    <div class="description">
5622
 
        <p>Gets the current route query string.</p>
5623
 
    </div>
5624
 
 
5625
 
    
5626
 
 
5627
 
    
5628
 
        <div class="returns">
5629
 
            <h4>Returns:</h4>
5630
 
 
5631
 
            <div class="returns-description">
5632
 
                
5633
 
                    
5634
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
5635
 
                    
5636
 
                    Current route query string.
5637
 
                
5638
 
            </div>
5639
 
        </div>
5640
 
    
5641
 
 
5642
 
    
5643
 
</div>
5644
 
 
5645
 
                
5646
 
                    <div id="method__getRegex" class="method item protected inherited">
5647
 
    <h3 class="name"><code>_getRegex</code></h3>
5648
 
 
5649
 
    
5650
 
        <div class="args">
5651
 
            <span class="paren">(</span><ul class="args-list inline commas">
5652
 
            
5653
 
                <li class="arg">
5654
 
                    
5655
 
                        <code>path</code>
5656
 
                    
5657
 
                </li>
5658
 
            
5659
 
                <li class="arg">
5660
 
                    
5661
 
                        <code>keys</code>
5662
 
                    
5663
 
                </li>
5664
 
            
5665
 
            </ul><span class="paren">)</span>
5666
 
        </div>
5667
 
    
5668
 
 
5669
 
    
5670
 
        <span class="returns-inline">
5671
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
5672
 
        </span>
5673
 
    
5674
 
 
5675
 
    
5676
 
 
5677
 
    
5678
 
        <span class="flag protected">protected</span>
5679
 
    
5680
 
 
5681
 
    
5682
 
 
5683
 
    
5684
 
 
5685
 
    
5686
 
 
5687
 
    <div class="meta">
5688
 
        
5689
 
            
5690
 
                <p>Inherited from
5691
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getRegex">Router</a>:
5692
 
            
5693
 
        
5694
 
        
5695
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l649"><code>app&#x2F;js&#x2F;router.js:649</code></a>
5696
 
        
5697
 
        </p>
5698
 
 
5699
 
 
5700
 
        
5701
 
 
5702
 
        
5703
 
    </div>
5704
 
 
5705
 
    <div class="description">
5706
 
        <p>Creates a regular expression from the given route specification. If <em>path</em>
5707
 
is already a regex, it will be returned unmodified.</p>
5708
 
    </div>
5709
 
 
5710
 
    
5711
 
        <div class="params">
5712
 
            <h4>Parameters:</h4>
5713
 
 
5714
 
            <ul class="params-list">
5715
 
            
5716
 
                <li class="param">
5717
 
                    
5718
 
                        <code class="param-name">path</code>
5719
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
5720
 
                    
5721
 
 
5722
 
                    
5723
 
 
5724
 
                    <div class="param-description">
5725
 
                        <p>Route path specification.</p>
5726
 
                    </div>
5727
 
 
5728
 
                    
5729
 
                </li>
5730
 
            
5731
 
                <li class="param">
5732
 
                    
5733
 
                        <code class="param-name">keys</code>
5734
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
5735
 
                    
5736
 
 
5737
 
                    
5738
 
 
5739
 
                    <div class="param-description">
5740
 
                        <p>Array reference to which route parameter names will be
5741
 
  added.</p>
5742
 
                    </div>
5743
 
 
5744
 
                    
5745
 
                </li>
5746
 
            
5747
 
            </ul>
5748
 
        </div>
5749
 
    
5750
 
 
5751
 
    
5752
 
        <div class="returns">
5753
 
            <h4>Returns:</h4>
5754
 
 
5755
 
            <div class="returns-description">
5756
 
                
5757
 
                    
5758
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>:
5759
 
                    
5760
 
                    Route regex.
5761
 
                
5762
 
            </div>
5763
 
        </div>
5764
 
    
5765
 
 
5766
 
    
5767
 
</div>
5768
 
 
5769
 
                
5770
 
                    <div id="method__getRequest" class="method item protected inherited">
5771
 
    <h3 class="name"><code>_getRequest</code></h3>
5772
 
 
5773
 
    
5774
 
        <div class="args">
5775
 
            <span class="paren">(</span><ul class="args-list inline commas">
5776
 
            
5777
 
                <li class="arg">
5778
 
                    
5779
 
                        <code>path</code>
5780
 
                    
5781
 
                </li>
5782
 
            
5783
 
                <li class="arg">
5784
 
                    
5785
 
                        <code>url</code>
5786
 
                    
5787
 
                </li>
5788
 
            
5789
 
                <li class="arg">
5790
 
                    
5791
 
                        <code>src</code>
5792
 
                    
5793
 
                </li>
5794
 
            
5795
 
            </ul><span class="paren">)</span>
5796
 
        </div>
5797
 
    
5798
 
 
5799
 
    
5800
 
        <span class="returns-inline">
5801
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5802
 
        </span>
5803
 
    
5804
 
 
5805
 
    
5806
 
 
5807
 
    
5808
 
        <span class="flag protected">protected</span>
5809
 
    
5810
 
 
5811
 
    
5812
 
 
5813
 
    
5814
 
 
5815
 
    
5816
 
 
5817
 
    <div class="meta">
5818
 
        
5819
 
            
5820
 
                <p>Inherited from
5821
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getRequest">Router</a>:
5822
 
            
5823
 
        
5824
 
        
5825
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l684"><code>app&#x2F;js&#x2F;router.js:684</code></a>
5826
 
        
5827
 
        </p>
5828
 
 
5829
 
 
5830
 
        
5831
 
 
5832
 
        
5833
 
    </div>
5834
 
 
5835
 
    <div class="description">
5836
 
        <p>Gets a request object that can be passed to a route handler.</p>
5837
 
    </div>
5838
 
 
5839
 
    
5840
 
        <div class="params">
5841
 
            <h4>Parameters:</h4>
5842
 
 
5843
 
            <ul class="params-list">
5844
 
            
5845
 
                <li class="param">
5846
 
                    
5847
 
                        <code class="param-name">path</code>
5848
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5849
 
                    
5850
 
 
5851
 
                    
5852
 
 
5853
 
                    <div class="param-description">
5854
 
                        <p>Current path being dispatched.</p>
5855
 
                    </div>
5856
 
 
5857
 
                    
5858
 
                </li>
5859
 
            
5860
 
                <li class="param">
5861
 
                    
5862
 
                        <code class="param-name">url</code>
5863
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5864
 
                    
5865
 
 
5866
 
                    
5867
 
 
5868
 
                    <div class="param-description">
5869
 
                        <p>Current full URL being dispatched.</p>
5870
 
                    </div>
5871
 
 
5872
 
                    
5873
 
                </li>
5874
 
            
5875
 
                <li class="param">
5876
 
                    
5877
 
                        <code class="param-name">src</code>
5878
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5879
 
                    
5880
 
 
5881
 
                    
5882
 
 
5883
 
                    <div class="param-description">
5884
 
                        <p>What initiated the dispatch.</p>
5885
 
                    </div>
5886
 
 
5887
 
                    
5888
 
                </li>
5889
 
            
5890
 
            </ul>
5891
 
        </div>
5892
 
    
5893
 
 
5894
 
    
5895
 
        <div class="returns">
5896
 
            <h4>Returns:</h4>
5897
 
 
5898
 
            <div class="returns-description">
5899
 
                
5900
 
                    
5901
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5902
 
                    
5903
 
                    Request object.
5904
 
                
5905
 
            </div>
5906
 
        </div>
5907
 
    
5908
 
 
5909
 
    
5910
 
</div>
5911
 
 
5912
 
                
5913
 
                    <div id="method__getResponse" class="method item protected inherited">
5914
 
    <h3 class="name"><code>_getResponse</code></h3>
5915
 
 
5916
 
    
5917
 
        <div class="args">
5918
 
            <span class="paren">(</span><ul class="args-list inline commas">
5919
 
            
5920
 
                <li class="arg">
5921
 
                    
5922
 
                        <code>req</code>
5923
 
                    
5924
 
                </li>
5925
 
            
5926
 
            </ul><span class="paren">)</span>
5927
 
        </div>
5928
 
    
5929
 
 
5930
 
    
5931
 
        <span class="returns-inline">
5932
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5933
 
        </span>
5934
 
    
5935
 
 
5936
 
    
5937
 
 
5938
 
    
5939
 
        <span class="flag protected">protected</span>
5940
 
    
5941
 
 
5942
 
    
5943
 
 
5944
 
    
5945
 
 
5946
 
    
5947
 
 
5948
 
    <div class="meta">
5949
 
        
5950
 
            
5951
 
                <p>Inherited from
5952
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getResponse">Router</a>:
5953
 
            
5954
 
        
5955
 
        
5956
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l703"><code>app&#x2F;js&#x2F;router.js:703</code></a>
5957
 
        
5958
 
        </p>
5959
 
 
5960
 
 
5961
 
        
5962
 
 
5963
 
        
5964
 
    </div>
5965
 
 
5966
 
    <div class="description">
5967
 
        <p>Gets a response object that can be passed to a route handler.</p>
5968
 
    </div>
5969
 
 
5970
 
    
5971
 
        <div class="params">
5972
 
            <h4>Parameters:</h4>
5973
 
 
5974
 
            <ul class="params-list">
5975
 
            
5976
 
                <li class="param">
5977
 
                    
5978
 
                        <code class="param-name">req</code>
5979
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5980
 
                    
5981
 
 
5982
 
                    
5983
 
 
5984
 
                    <div class="param-description">
5985
 
                        <p>Request object.</p>
5986
 
                    </div>
5987
 
 
5988
 
                    
5989
 
                </li>
5990
 
            
5991
 
            </ul>
5992
 
        </div>
5993
 
    
5994
 
 
5995
 
    
5996
 
        <div class="returns">
5997
 
            <h4>Returns:</h4>
5998
 
 
5999
 
            <div class="returns-description">
6000
 
                
6001
 
                    
6002
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6003
 
                    
6004
 
                    Response Object.
6005
 
                
6006
 
            </div>
6007
 
        </div>
6008
 
    
6009
 
 
6010
 
    
6011
 
</div>
6012
 
 
6013
 
                
6014
 
                    <div id="method__getRoot" class="method item protected inherited">
6015
 
    <h3 class="name"><code>_getRoot</code></h3>
6016
 
 
6017
 
    
6018
 
        <span class="paren">()</span>
6019
 
    
6020
 
 
6021
 
    
6022
 
        <span class="returns-inline">
6023
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6024
 
        </span>
6025
 
    
6026
 
 
6027
 
    
6028
 
 
6029
 
    
6030
 
        <span class="flag protected">protected</span>
6031
 
    
6032
 
 
6033
 
    
6034
 
 
6035
 
    
6036
 
 
6037
 
    
6038
 
 
6039
 
    <div class="meta">
6040
 
        
6041
 
            
6042
 
                <p>Inherited from
6043
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__getRoot">PjaxBase</a>:
6044
 
            
6045
 
        
6046
 
        
6047
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l161"><code>pjax&#x2F;js&#x2F;pjax-base.js:161</code></a>
6048
 
        
6049
 
        </p>
6050
 
 
6051
 
 
6052
 
        
6053
 
 
6054
 
        
6055
 
            <p>Available since 3.5.0</p>
6056
 
        
6057
 
    </div>
6058
 
 
6059
 
    <div class="description">
6060
 
        <p>Returns the current path root after popping off the last path segment,
6061
 
making it useful for resolving other URL paths against.</p>
6062
 
 
6063
 
<p>The path root will always begin and end with a '/'.</p>
6064
 
    </div>
6065
 
 
6066
 
    
6067
 
 
6068
 
    
6069
 
        <div class="returns">
6070
 
            <h4>Returns:</h4>
6071
 
 
6072
 
            <div class="returns-description">
6073
 
                
6074
 
                    
6075
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
6076
 
                    
6077
 
                    The URL's path root.
6078
 
                
6079
 
            </div>
6080
 
        </div>
6081
 
    
6082
 
 
6083
 
    
6084
 
</div>
6085
 
 
6086
 
                
6087
 
                    <div id="method__getRoutes" class="method item protected inherited">
6088
 
    <h3 class="name"><code>_getRoutes</code></h3>
6089
 
 
6090
 
    
6091
 
        <span class="paren">()</span>
6092
 
    
6093
 
 
6094
 
    
6095
 
        <span class="returns-inline">
6096
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
6097
 
        </span>
6098
 
    
6099
 
 
6100
 
    
6101
 
 
6102
 
    
6103
 
        <span class="flag protected">protected</span>
6104
 
    
6105
 
 
6106
 
    
6107
 
 
6108
 
    
6109
 
 
6110
 
    
6111
 
 
6112
 
    <div class="meta">
6113
 
        
6114
 
            
6115
 
                <p>Inherited from
6116
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__getRoutes">Router</a>:
6117
 
            
6118
 
        
6119
 
        
6120
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l722"><code>app&#x2F;js&#x2F;router.js:722</code></a>
6121
 
        
6122
 
        </p>
6123
 
 
6124
 
 
6125
 
        
6126
 
 
6127
 
        
6128
 
    </div>
6129
 
 
6130
 
    <div class="description">
6131
 
        <p>Getter for the <code>routes</code> attribute.</p>
6132
 
    </div>
6133
 
 
6134
 
    
6135
 
 
6136
 
    
6137
 
        <div class="returns">
6138
 
            <h4>Returns:</h4>
6139
 
 
6140
 
            <div class="returns-description">
6141
 
                
6142
 
                    
6143
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>:
6144
 
                    
6145
 
                    Array of route objects.
6146
 
                
6147
 
            </div>
6148
 
        </div>
6149
 
    
6150
 
 
6151
 
    
6152
 
</div>
6153
 
 
6154
 
                
6155
 
                    <div id="method__getStateVal" class="method item private inherited">
6156
 
    <h3 class="name"><code>_getStateVal</code></h3>
6157
 
 
6158
 
    
6159
 
        <div class="args">
6160
 
            <span class="paren">(</span><ul class="args-list inline commas">
6161
 
            
6162
 
                <li class="arg">
6163
 
                    
6164
 
                        <code>name</code>
6165
 
                    
6166
 
                </li>
6167
 
            
6168
 
            </ul><span class="paren">)</span>
6169
 
        </div>
6170
 
    
6171
 
 
6172
 
    
6173
 
        <span class="returns-inline">
6174
 
            <span class="type">Any</span>
6175
 
        </span>
6176
 
    
6177
 
 
6178
 
    
6179
 
 
6180
 
    
6181
 
        <span class="flag private">private</span>
6182
 
    
6183
 
 
6184
 
    
6185
 
 
6186
 
    
6187
 
 
6188
 
    
6189
 
 
6190
 
    <div class="meta">
6191
 
        
6192
 
            
6193
 
                <p>Inherited from
6194
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__getStateVal">AttributeCore</a>:
6195
 
            
6196
 
        
6197
 
        
6198
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l522"><code>attribute&#x2F;js&#x2F;AttributeCore.js:522</code></a>
6199
 
        
6200
 
        </p>
6201
 
 
6202
 
 
6203
 
        
6204
 
 
6205
 
        
6206
 
    </div>
6207
 
 
6208
 
    <div class="description">
6209
 
        <p>Gets the stored value for the attribute, from either the 
6210
 
internal state object, or the state proxy if it exits</p>
6211
 
    </div>
6212
 
 
6213
 
    
6214
 
        <div class="params">
6215
 
            <h4>Parameters:</h4>
6216
 
 
6217
 
            <ul class="params-list">
6218
 
            
6219
 
                <li class="param">
6220
 
                    
6221
 
                        <code class="param-name">name</code>
6222
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6223
 
                    
6224
 
 
6225
 
                    
6226
 
 
6227
 
                    <div class="param-description">
6228
 
                        <p>The name of the attribute</p>
6229
 
                    </div>
6230
 
 
6231
 
                    
6232
 
                </li>
6233
 
            
6234
 
            </ul>
6235
 
        </div>
6236
 
    
6237
 
 
6238
 
    
6239
 
        <div class="returns">
6240
 
            <h4>Returns:</h4>
6241
 
 
6242
 
            <div class="returns-description">
6243
 
                
6244
 
                    
6245
 
                        <span class="type">Any</span>:
6246
 
                    
6247
 
                    The stored value of the attribute
6248
 
                
6249
 
            </div>
6250
 
        </div>
6251
 
    
6252
 
 
6253
 
    
6254
 
</div>
6255
 
 
6256
 
                
6257
 
                    <div id="method__getType" class="method item private inherited">
6258
 
    <h3 class="name"><code>_getType</code></h3>
6259
 
 
6260
 
    
6261
 
        <span class="paren">()</span>
6262
 
    
6263
 
 
6264
 
    
6265
 
 
6266
 
    
6267
 
 
6268
 
    
6269
 
        <span class="flag private">private</span>
6270
 
    
6271
 
 
6272
 
    
6273
 
 
6274
 
    
6275
 
 
6276
 
    
6277
 
 
6278
 
    <div class="meta">
6279
 
        
6280
 
            
6281
 
                <p>Inherited from
6282
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method__getType">EventTarget</a>:
6283
 
            
6284
 
        
6285
 
        
6286
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l36"><code>event-custom&#x2F;js&#x2F;event-target.js:36</code></a>
6287
 
        
6288
 
        </p>
6289
 
 
6290
 
 
6291
 
        
6292
 
 
6293
 
        
6294
 
    </div>
6295
 
 
6296
 
    <div class="description">
6297
 
        <p>If the instance has a prefix attribute and the
6298
 
event type is not prefixed, the instance prefix is
6299
 
applied to the supplied type.</p>
6300
 
    </div>
6301
 
 
6302
 
    
6303
 
 
6304
 
    
6305
 
 
6306
 
    
6307
 
</div>
6308
 
 
6309
 
                
6310
 
                    <div id="method__getURL" class="method item protected inherited">
6311
 
    <h3 class="name"><code>_getURL</code></h3>
6312
 
 
6313
 
    
6314
 
        <span class="paren">()</span>
6315
 
    
6316
 
 
6317
 
    
6318
 
        <span class="returns-inline">
6319
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6320
 
        </span>
6321
 
    
6322
 
 
6323
 
    
6324
 
 
6325
 
    
6326
 
        <span class="flag protected">protected</span>
6327
 
    
6328
 
 
6329
 
    
6330
 
 
6331
 
    
6332
 
 
6333
 
    
6334
 
 
6335
 
    <div class="meta">
6336
 
        
6337
 
            <p>Inherited from
6338
 
            <a href="..&#x2F;classes&#x2F;Router.html#method__getURL">
6339
 
                Router
6340
 
            </a>
6341
 
            
6342
 
            but overwritten in
6343
 
            
6344
 
        
6345
 
        
6346
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l567"><code>app&#x2F;js&#x2F;app-base.js:567</code></a>
6347
 
        
6348
 
        </p>
6349
 
 
6350
 
 
6351
 
        
6352
 
 
6353
 
        
6354
 
    </div>
6355
 
 
6356
 
    <div class="description">
6357
 
        <p>Gets the current full URL. When <code>html5</code> is false, the URL will first be
6358
 
upgraded before it's returned.</p>
6359
 
    </div>
6360
 
 
6361
 
    
6362
 
 
6363
 
    
6364
 
        <div class="returns">
6365
 
            <h4>Returns:</h4>
6366
 
 
6367
 
            <div class="returns-description">
6368
 
                
6369
 
                    
6370
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
6371
 
                    
6372
 
                    URL.
6373
 
                
6374
 
            </div>
6375
 
        </div>
6376
 
    
6377
 
 
6378
 
    
6379
 
</div>
6380
 
 
6381
 
                
6382
 
                    <div id="method__getViewContainer" class="method item protected inherited">
6383
 
    <h3 class="name"><code>_getViewContainer</code></h3>
6384
 
 
6385
 
    
6386
 
        <div class="args">
6387
 
            <span class="paren">(</span><ul class="args-list inline commas">
6388
 
            
6389
 
                <li class="arg">
6390
 
                    
6391
 
                        <code>value</code>
6392
 
                    
6393
 
                </li>
6394
 
            
6395
 
            </ul><span class="paren">)</span>
6396
 
        </div>
6397
 
    
6398
 
 
6399
 
    
6400
 
        <span class="returns-inline">
6401
 
            <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
6402
 
        </span>
6403
 
    
6404
 
 
6405
 
    
6406
 
 
6407
 
    
6408
 
        <span class="flag protected">protected</span>
6409
 
    
6410
 
 
6411
 
    
6412
 
 
6413
 
    
6414
 
 
6415
 
    
6416
 
 
6417
 
    <div class="meta">
6418
 
        
6419
 
            
6420
 
                <p>Inherited from
6421
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__getViewContainer">App.Base</a>:
6422
 
            
6423
 
        
6424
 
        
6425
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l542"><code>app&#x2F;js&#x2F;app-base.js:542</code></a>
6426
 
        
6427
 
        </p>
6428
 
 
6429
 
 
6430
 
        
6431
 
 
6432
 
        
6433
 
            <p>Available since 3.5.0</p>
6434
 
        
6435
 
    </div>
6436
 
 
6437
 
    <div class="description">
6438
 
        <p>Getter for the <code>viewContainer</code> attribute.</p>
6439
 
    </div>
6440
 
 
6441
 
    
6442
 
        <div class="params">
6443
 
            <h4>Parameters:</h4>
6444
 
 
6445
 
            <ul class="params-list">
6446
 
            
6447
 
                <li class="param">
6448
 
                    
6449
 
                        <code class="param-name">value</code>
6450
 
                        <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | Null</span>
6451
 
                    
6452
 
 
6453
 
                    
6454
 
 
6455
 
                    <div class="param-description">
6456
 
                        <p>Current attribute value.</p>
6457
 
                    </div>
6458
 
 
6459
 
                    
6460
 
                </li>
6461
 
            
6462
 
            </ul>
6463
 
        </div>
6464
 
    
6465
 
 
6466
 
    
6467
 
        <div class="returns">
6468
 
            <h4>Returns:</h4>
6469
 
 
6470
 
            <div class="returns-description">
6471
 
                
6472
 
                    
6473
 
                        <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>:
6474
 
                    
6475
 
                    View container node.
6476
 
                
6477
 
            </div>
6478
 
        </div>
6479
 
    
6480
 
 
6481
 
    
6482
 
</div>
6483
 
 
6484
 
                
6485
 
                    <div id="method__hasSameOrigin" class="method item protected inherited">
6486
 
    <h3 class="name"><code>_hasSameOrigin</code></h3>
6487
 
 
6488
 
    
6489
 
        <div class="args">
6490
 
            <span class="paren">(</span><ul class="args-list inline commas">
6491
 
            
6492
 
                <li class="arg">
6493
 
                    
6494
 
                        <code>url</code>
6495
 
                    
6496
 
                </li>
6497
 
            
6498
 
            </ul><span class="paren">)</span>
6499
 
        </div>
6500
 
    
6501
 
 
6502
 
    
6503
 
        <span class="returns-inline">
6504
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6505
 
        </span>
6506
 
    
6507
 
 
6508
 
    
6509
 
 
6510
 
    
6511
 
        <span class="flag protected">protected</span>
6512
 
    
6513
 
 
6514
 
    
6515
 
 
6516
 
    
6517
 
 
6518
 
    
6519
 
 
6520
 
    <div class="meta">
6521
 
        
6522
 
            
6523
 
                <p>Inherited from
6524
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__hasSameOrigin">Router</a>:
6525
 
            
6526
 
        
6527
 
        
6528
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l744"><code>app&#x2F;js&#x2F;router.js:744</code></a>
6529
 
        
6530
 
        </p>
6531
 
 
6532
 
 
6533
 
        
6534
 
 
6535
 
        
6536
 
    </div>
6537
 
 
6538
 
    <div class="description">
6539
 
        <p>Returns <code>true</code> when the specified <code>url</code> is from the same origin as the
6540
 
current URL; i.e., the protocol, host, and port of the URLs are the same.</p>
6541
 
 
6542
 
<p>All host or path relative URLs are of the same origin. A scheme-relative URL
6543
 
is first prefixed with the current scheme before being evaluated.</p>
6544
 
    </div>
6545
 
 
6546
 
    
6547
 
        <div class="params">
6548
 
            <h4>Parameters:</h4>
6549
 
 
6550
 
            <ul class="params-list">
6551
 
            
6552
 
                <li class="param">
6553
 
                    
6554
 
                        <code class="param-name">url</code>
6555
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6556
 
                    
6557
 
 
6558
 
                    
6559
 
 
6560
 
                    <div class="param-description">
6561
 
                        <p>URL to compare origin with the current URL.</p>
6562
 
                    </div>
6563
 
 
6564
 
                    
6565
 
                </li>
6566
 
            
6567
 
            </ul>
6568
 
        </div>
6569
 
    
6570
 
 
6571
 
    
6572
 
        <div class="returns">
6573
 
            <h4>Returns:</h4>
6574
 
 
6575
 
            <div class="returns-description">
6576
 
                
6577
 
                    
6578
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
6579
 
                    
6580
 
                    Whether the URL has the same origin of the current URL.
6581
 
                
6582
 
            </div>
6583
 
        </div>
6584
 
    
6585
 
 
6586
 
    
6587
 
</div>
6588
 
 
6589
 
                
6590
 
                    <div id="method__initAttrHost" class="method item private inherited">
6591
 
    <h3 class="name"><code>_initAttrHost</code></h3>
6592
 
 
6593
 
    
6594
 
        <div class="args">
6595
 
            <span class="paren">(</span><ul class="args-list inline commas">
6596
 
            
6597
 
                <li class="arg">
6598
 
                    
6599
 
                        <code>attrs</code>
6600
 
                    
6601
 
                </li>
6602
 
            
6603
 
                <li class="arg">
6604
 
                    
6605
 
                        <code>values</code>
6606
 
                    
6607
 
                </li>
6608
 
            
6609
 
                <li class="arg">
6610
 
                    
6611
 
                        <code>lazy</code>
6612
 
                    
6613
 
                </li>
6614
 
            
6615
 
            </ul><span class="paren">)</span>
6616
 
        </div>
6617
 
    
6618
 
 
6619
 
    
6620
 
 
6621
 
    
6622
 
 
6623
 
    
6624
 
        <span class="flag private">private</span>
6625
 
    
6626
 
 
6627
 
    
6628
 
 
6629
 
    
6630
 
 
6631
 
    
6632
 
 
6633
 
    <div class="meta">
6634
 
        
6635
 
            
6636
 
                <p>Inherited from
6637
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__initAttrHost">AttributeCore</a>:
6638
 
            
6639
 
        
6640
 
        
6641
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l109"><code>attribute&#x2F;js&#x2F;AttributeCore.js:109</code></a>
6642
 
        
6643
 
        </p>
6644
 
 
6645
 
 
6646
 
        
6647
 
 
6648
 
        
6649
 
    </div>
6650
 
 
6651
 
    <div class="description">
6652
 
        <p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the 
6653
 
constructor.</p>
6654
 
    </div>
6655
 
 
6656
 
    
6657
 
        <div class="params">
6658
 
            <h4>Parameters:</h4>
6659
 
 
6660
 
            <ul class="params-list">
6661
 
            
6662
 
                <li class="param">
6663
 
                    
6664
 
                        <code class="param-name">attrs</code>
6665
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6666
 
                    
6667
 
 
6668
 
                    
6669
 
 
6670
 
                    <div class="param-description">
6671
 
                        <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
6672
 
                    </div>
6673
 
 
6674
 
                    
6675
 
                </li>
6676
 
            
6677
 
                <li class="param">
6678
 
                    
6679
 
                        <code class="param-name">values</code>
6680
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6681
 
                    
6682
 
 
6683
 
                    
6684
 
 
6685
 
                    <div class="param-description">
6686
 
                        <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
6687
 
                    </div>
6688
 
 
6689
 
                    
6690
 
                </li>
6691
 
            
6692
 
                <li class="param">
6693
 
                    
6694
 
                        <code class="param-name">lazy</code>
6695
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6696
 
                    
6697
 
 
6698
 
                    
6699
 
 
6700
 
                    <div class="param-description">
6701
 
                        <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
6702
 
                    </div>
6703
 
 
6704
 
                    
6705
 
                </li>
6706
 
            
6707
 
            </ul>
6708
 
        </div>
6709
 
    
6710
 
 
6711
 
    
6712
 
 
6713
 
    
6714
 
</div>
6715
 
 
6716
 
                
6717
 
                    <div id="method__initAttribute" class="method item private inherited">
6718
 
    <h3 class="name"><code>_initAttribute</code></h3>
6719
 
 
6720
 
    
6721
 
        <span class="paren">()</span>
6722
 
    
6723
 
 
6724
 
    
6725
 
 
6726
 
    
6727
 
 
6728
 
    
6729
 
        <span class="flag private">private</span>
6730
 
    
6731
 
 
6732
 
    
6733
 
 
6734
 
    
6735
 
 
6736
 
    
6737
 
 
6738
 
    <div class="meta">
6739
 
        
6740
 
            <p>Inherited from
6741
 
            <a href="..&#x2F;classes&#x2F;BaseCore.html#method__initAttribute">
6742
 
                BaseCore
6743
 
            </a>
6744
 
            
6745
 
            but overwritten in
6746
 
            
6747
 
        
6748
 
        
6749
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l169"><code>base&#x2F;js&#x2F;Base.js:169</code></a>
6750
 
        
6751
 
        </p>
6752
 
 
6753
 
 
6754
 
        
6755
 
 
6756
 
        
6757
 
    </div>
6758
 
 
6759
 
    <div class="description">
6760
 
        <p>Initializes Attribute</p>
6761
 
    </div>
6762
 
 
6763
 
    
6764
 
 
6765
 
    
6766
 
 
6767
 
    
6768
 
</div>
6769
 
 
6770
 
                
6771
 
                    <div id="method__initAttrs" class="method item protected inherited">
6772
 
    <h3 class="name"><code>_initAttrs</code></h3>
6773
 
 
6774
 
    
6775
 
        <div class="args">
6776
 
            <span class="paren">(</span><ul class="args-list inline commas">
6777
 
            
6778
 
                <li class="arg">
6779
 
                    
6780
 
                        <code>attrs</code>
6781
 
                    
6782
 
                </li>
6783
 
            
6784
 
                <li class="arg">
6785
 
                    
6786
 
                        <code>values</code>
6787
 
                    
6788
 
                </li>
6789
 
            
6790
 
                <li class="arg">
6791
 
                    
6792
 
                        <code>lazy</code>
6793
 
                    
6794
 
                </li>
6795
 
            
6796
 
            </ul><span class="paren">)</span>
6797
 
        </div>
6798
 
    
6799
 
 
6800
 
    
6801
 
 
6802
 
    
6803
 
 
6804
 
    
6805
 
        <span class="flag protected">protected</span>
6806
 
    
6807
 
 
6808
 
    
6809
 
 
6810
 
    
6811
 
 
6812
 
    
6813
 
 
6814
 
    <div class="meta">
6815
 
        
6816
 
            
6817
 
                <p>Inherited from
6818
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__initAttrs">AttributeCore</a>:
6819
 
            
6820
 
        
6821
 
        
6822
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l862"><code>attribute&#x2F;js&#x2F;AttributeCore.js:862</code></a>
6823
 
        
6824
 
        </p>
6825
 
 
6826
 
 
6827
 
        
6828
 
 
6829
 
        
6830
 
    </div>
6831
 
 
6832
 
    <div class="description">
6833
 
        <p>Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in.</p>
6834
 
    </div>
6835
 
 
6836
 
    
6837
 
        <div class="params">
6838
 
            <h4>Parameters:</h4>
6839
 
 
6840
 
            <ul class="params-list">
6841
 
            
6842
 
                <li class="param">
6843
 
                    
6844
 
                        <code class="param-name">attrs</code>
6845
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6846
 
                    
6847
 
 
6848
 
                    
6849
 
 
6850
 
                    <div class="param-description">
6851
 
                        <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
6852
 
                    </div>
6853
 
 
6854
 
                    
6855
 
                </li>
6856
 
            
6857
 
                <li class="param">
6858
 
                    
6859
 
                        <code class="param-name">values</code>
6860
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6861
 
                    
6862
 
 
6863
 
                    
6864
 
 
6865
 
                    <div class="param-description">
6866
 
                        <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
6867
 
                    </div>
6868
 
 
6869
 
                    
6870
 
                </li>
6871
 
            
6872
 
                <li class="param">
6873
 
                    
6874
 
                        <code class="param-name">lazy</code>
6875
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6876
 
                    
6877
 
 
6878
 
                    
6879
 
 
6880
 
                    <div class="param-description">
6881
 
                        <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
6882
 
                    </div>
6883
 
 
6884
 
                    
6885
 
                </li>
6886
 
            
6887
 
            </ul>
6888
 
        </div>
6889
 
    
6890
 
 
6891
 
    
6892
 
 
6893
 
    
6894
 
</div>
6895
 
 
6896
 
                
6897
 
                    <div id="method__initBase" class="method item private inherited">
6898
 
    <h3 class="name"><code>_initBase</code></h3>
6899
 
 
6900
 
    
6901
 
        <div class="args">
6902
 
            <span class="paren">(</span><ul class="args-list inline commas">
6903
 
            
6904
 
                <li class="arg">
6905
 
                    
6906
 
                        <code>config</code>
6907
 
                    
6908
 
                </li>
6909
 
            
6910
 
            </ul><span class="paren">)</span>
6911
 
        </div>
6912
 
    
6913
 
 
6914
 
    
6915
 
 
6916
 
    
6917
 
 
6918
 
    
6919
 
        <span class="flag private">private</span>
6920
 
    
6921
 
 
6922
 
    
6923
 
 
6924
 
    
6925
 
 
6926
 
    
6927
 
 
6928
 
    <div class="meta">
6929
 
        
6930
 
            <p>Inherited from
6931
 
            <a href="..&#x2F;classes&#x2F;BaseCore.html#method__initBase">
6932
 
                BaseCore
6933
 
            </a>
6934
 
            
6935
 
            but overwritten in
6936
 
            
6937
 
        
6938
 
        
6939
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l154"><code>base&#x2F;js&#x2F;Base.js:154</code></a>
6940
 
        
6941
 
        </p>
6942
 
 
6943
 
 
6944
 
        
6945
 
 
6946
 
        
6947
 
    </div>
6948
 
 
6949
 
    <div class="description">
6950
 
        <p>Internal construction logic for Base.</p>
6951
 
    </div>
6952
 
 
6953
 
    
6954
 
        <div class="params">
6955
 
            <h4>Parameters:</h4>
6956
 
 
6957
 
            <ul class="params-list">
6958
 
            
6959
 
                <li class="param">
6960
 
                    
6961
 
                        <code class="param-name">config</code>
6962
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6963
 
                    
6964
 
 
6965
 
                    
6966
 
 
6967
 
                    <div class="param-description">
6968
 
                        <p>The constructor configuration object</p>
6969
 
                    </div>
6970
 
 
6971
 
                    
6972
 
                </li>
6973
 
            
6974
 
            </ul>
6975
 
        </div>
6976
 
    
6977
 
 
6978
 
    
6979
 
 
6980
 
    
6981
 
</div>
6982
 
 
6983
 
                
6984
 
                    <div id="method__initHierarchy" class="method item private inherited">
6985
 
    <h3 class="name"><code>_initHierarchy</code></h3>
6986
 
 
6987
 
    
6988
 
        <div class="args">
6989
 
            <span class="paren">(</span><ul class="args-list inline commas">
6990
 
            
6991
 
                <li class="arg">
6992
 
                    
6993
 
                        <code>userVals</code>
6994
 
                    
6995
 
                </li>
6996
 
            
6997
 
            </ul><span class="paren">)</span>
6998
 
        </div>
6999
 
    
7000
 
 
7001
 
    
7002
 
 
7003
 
    
7004
 
 
7005
 
    
7006
 
        <span class="flag private">private</span>
7007
 
    
7008
 
 
7009
 
    
7010
 
 
7011
 
    
7012
 
 
7013
 
    
7014
 
 
7015
 
    <div class="meta">
7016
 
        
7017
 
            
7018
 
                <p>Inherited from
7019
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__initHierarchy">BaseCore</a>:
7020
 
            
7021
 
        
7022
 
        
7023
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l501"><code>base&#x2F;js&#x2F;BaseCore.js:501</code></a>
7024
 
        
7025
 
        </p>
7026
 
 
7027
 
 
7028
 
        
7029
 
 
7030
 
        
7031
 
    </div>
7032
 
 
7033
 
    <div class="description">
7034
 
        <p>Initializes the class hierarchy for the instance, which includes 
7035
 
initializing attributes for each class defined in the class's 
7036
 
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and 
7037
 
invoking the initializer method on the prototype of each class in the hierarchy.</p>
7038
 
    </div>
7039
 
 
7040
 
    
7041
 
        <div class="params">
7042
 
            <h4>Parameters:</h4>
7043
 
 
7044
 
            <ul class="params-list">
7045
 
            
7046
 
                <li class="param">
7047
 
                    
7048
 
                        <code class="param-name">userVals</code>
7049
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7050
 
                    
7051
 
 
7052
 
                    
7053
 
 
7054
 
                    <div class="param-description">
7055
 
                        <p>Object with configuration property name/value pairs</p>
7056
 
                    </div>
7057
 
 
7058
 
                    
7059
 
                </li>
7060
 
            
7061
 
            </ul>
7062
 
        </div>
7063
 
    
7064
 
 
7065
 
    
7066
 
 
7067
 
    
7068
 
</div>
7069
 
 
7070
 
                
7071
 
                    <div id="method__initHierarchyData" class="method item private inherited">
7072
 
    <h3 class="name"><code>_initHierarchyData</code></h3>
7073
 
 
7074
 
    
7075
 
        <span class="paren">()</span>
7076
 
    
7077
 
 
7078
 
    
7079
 
 
7080
 
    
7081
 
 
7082
 
    
7083
 
        <span class="flag private">private</span>
7084
 
    
7085
 
 
7086
 
    
7087
 
 
7088
 
    
7089
 
 
7090
 
    
7091
 
 
7092
 
    <div class="meta">
7093
 
        
7094
 
            
7095
 
                <p>Inherited from
7096
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method__initHierarchyData">BaseCore</a>:
7097
 
            
7098
 
        
7099
 
        
7100
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l372"><code>base&#x2F;js&#x2F;BaseCore.js:372</code></a>
7101
 
        
7102
 
        </p>
7103
 
 
7104
 
 
7105
 
        
7106
 
 
7107
 
        
7108
 
    </div>
7109
 
 
7110
 
    <div class="description">
7111
 
        <p>A helper method used by _getClasses and _getAttrCfgs, which determines both
7112
 
the array of classes and aggregate set of attribute configurations
7113
 
across the class hierarchy for the instance.</p>
7114
 
    </div>
7115
 
 
7116
 
    
7117
 
 
7118
 
    
7119
 
 
7120
 
    
7121
 
</div>
7122
 
 
7123
 
                
7124
 
                    <div id="method__initHtml5" class="method item protected inherited">
7125
 
    <h3 class="name"><code>_initHtml5</code></h3>
7126
 
 
7127
 
    
7128
 
        <span class="paren">()</span>
7129
 
    
7130
 
 
7131
 
    
7132
 
        <span class="returns-inline">
7133
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7134
 
        </span>
7135
 
    
7136
 
 
7137
 
    
7138
 
 
7139
 
    
7140
 
        <span class="flag protected">protected</span>
7141
 
    
7142
 
 
7143
 
    
7144
 
 
7145
 
    
7146
 
 
7147
 
    
7148
 
 
7149
 
    <div class="meta">
7150
 
        
7151
 
            
7152
 
                <p>Inherited from
7153
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__initHtml5">App.Base</a>:
7154
 
            
7155
 
        
7156
 
        
7157
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l581"><code>app&#x2F;js&#x2F;app-base.js:581</code></a>
7158
 
        
7159
 
        </p>
7160
 
 
7161
 
 
7162
 
        
7163
 
 
7164
 
        
7165
 
            <p>Available since 3.5.0</p>
7166
 
        
7167
 
    </div>
7168
 
 
7169
 
    <div class="description">
7170
 
        <p>Provides the default value for the <code>html5</code> attribute.</p>
7171
 
 
7172
 
<p>The value returned is dependent on the value of the <code>serverRouting</code>
7173
 
attribute. When <code>serverRouting</code> is explicit set to <code>false</code> (not just falsy),
7174
 
the default value for <code>html5</code> will be set to <code>false</code> for <em>all</em> browsers.</p>
7175
 
 
7176
 
<p>When <code>serverRouting</code> is <code>true</code> or <code>undefined</code> the returned value will be
7177
 
dependent on the browser's capability of using HTML5 history.</p>
7178
 
    </div>
7179
 
 
7180
 
    
7181
 
 
7182
 
    
7183
 
        <div class="returns">
7184
 
            <h4>Returns:</h4>
7185
 
 
7186
 
            <div class="returns-description">
7187
 
                
7188
 
                    
7189
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7190
 
                    
7191
 
                    Whether or not HTML5 history should be used.
7192
 
                
7193
 
            </div>
7194
 
        </div>
7195
 
    
7196
 
 
7197
 
    
7198
 
</div>
7199
 
 
7200
 
                
7201
 
                    <div id="method__isChildView" class="method item protected inherited">
7202
 
    <h3 class="name"><code>_isChildView</code></h3>
7203
 
 
7204
 
    
7205
 
        <div class="args">
7206
 
            <span class="paren">(</span><ul class="args-list inline commas">
7207
 
            
7208
 
                <li class="arg">
7209
 
                    
7210
 
                        <code>view</code>
7211
 
                    
7212
 
                </li>
7213
 
            
7214
 
                <li class="arg">
7215
 
                    
7216
 
                        <code>parent</code>
7217
 
                    
7218
 
                </li>
7219
 
            
7220
 
            </ul><span class="paren">)</span>
7221
 
        </div>
7222
 
    
7223
 
 
7224
 
    
7225
 
        <span class="returns-inline">
7226
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7227
 
        </span>
7228
 
    
7229
 
 
7230
 
    
7231
 
 
7232
 
    
7233
 
        <span class="flag protected">protected</span>
7234
 
    
7235
 
 
7236
 
    
7237
 
 
7238
 
    
7239
 
 
7240
 
    
7241
 
 
7242
 
    <div class="meta">
7243
 
        
7244
 
            
7245
 
                <p>Inherited from
7246
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__isChildView">App.Base</a>:
7247
 
            
7248
 
        
7249
 
        
7250
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l606"><code>app&#x2F;js&#x2F;app-base.js:606</code></a>
7251
 
        
7252
 
        </p>
7253
 
 
7254
 
 
7255
 
        
7256
 
 
7257
 
        
7258
 
            <p>Available since 3.5.0</p>
7259
 
        
7260
 
    </div>
7261
 
 
7262
 
    <div class="description">
7263
 
        <p>Determines if the specified <code>view</code> is configured as a child of the specified
7264
 
<code>parent</code> view. This requires both views to be either named-views, or view
7265
 
instances created using configuration data that exists in the <code>views</code>
7266
 
object, e.g. created by the <code>createView()</code> or <code>showView()</code> method.</p>
7267
 
    </div>
7268
 
 
7269
 
    
7270
 
        <div class="params">
7271
 
            <h4>Parameters:</h4>
7272
 
 
7273
 
            <ul class="params-list">
7274
 
            
7275
 
                <li class="param">
7276
 
                    
7277
 
                        <code class="param-name">view</code>
7278
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7279
 
                    
7280
 
 
7281
 
                    
7282
 
 
7283
 
                    <div class="param-description">
7284
 
                        <p>The name of a view defined in the <code>views</code> object,
7285
 
  or a view instance.</p>
7286
 
                    </div>
7287
 
 
7288
 
                    
7289
 
                </li>
7290
 
            
7291
 
                <li class="param">
7292
 
                    
7293
 
                        <code class="param-name">parent</code>
7294
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7295
 
                    
7296
 
 
7297
 
                    
7298
 
 
7299
 
                    <div class="param-description">
7300
 
                        <p>The name of a view defined in the <code>views</code>
7301
 
  object, or a view instance.</p>
7302
 
                    </div>
7303
 
 
7304
 
                    
7305
 
                </li>
7306
 
            
7307
 
            </ul>
7308
 
        </div>
7309
 
    
7310
 
 
7311
 
    
7312
 
        <div class="returns">
7313
 
            <h4>Returns:</h4>
7314
 
 
7315
 
            <div class="returns-description">
7316
 
                
7317
 
                    
7318
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7319
 
                    
7320
 
                    Whether the view is configured as a child of the parent.
7321
 
                
7322
 
            </div>
7323
 
        </div>
7324
 
    
7325
 
 
7326
 
    
7327
 
</div>
7328
 
 
7329
 
                
7330
 
                    <div id="method__isLazyAttr" class="method item private inherited">
7331
 
    <h3 class="name"><code>_isLazyAttr</code></h3>
7332
 
 
7333
 
    
7334
 
        <div class="args">
7335
 
            <span class="paren">(</span><ul class="args-list inline commas">
7336
 
            
7337
 
                <li class="arg">
7338
 
                    
7339
 
                        <code>name</code>
7340
 
                    
7341
 
                </li>
7342
 
            
7343
 
            </ul><span class="paren">)</span>
7344
 
        </div>
7345
 
    
7346
 
 
7347
 
    
7348
 
        <span class="returns-inline">
7349
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7350
 
        </span>
7351
 
    
7352
 
 
7353
 
    
7354
 
 
7355
 
    
7356
 
        <span class="flag private">private</span>
7357
 
    
7358
 
 
7359
 
    
7360
 
 
7361
 
    
7362
 
 
7363
 
    
7364
 
 
7365
 
    <div class="meta">
7366
 
        
7367
 
            
7368
 
                <p>Inherited from
7369
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
7370
 
            
7371
 
        
7372
 
        
7373
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l299"><code>attribute&#x2F;js&#x2F;AttributeCore.js:299</code></a>
7374
 
        
7375
 
        </p>
7376
 
 
7377
 
 
7378
 
        
7379
 
 
7380
 
        
7381
 
    </div>
7382
 
 
7383
 
    <div class="description">
7384
 
        <p>Checks whether or not the attribute is one which has been
7385
 
added lazily and still requires initialization.</p>
7386
 
    </div>
7387
 
 
7388
 
    
7389
 
        <div class="params">
7390
 
            <h4>Parameters:</h4>
7391
 
 
7392
 
            <ul class="params-list">
7393
 
            
7394
 
                <li class="param">
7395
 
                    
7396
 
                        <code class="param-name">name</code>
7397
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7398
 
                    
7399
 
 
7400
 
                    
7401
 
 
7402
 
                    <div class="param-description">
7403
 
                        <p>The name of the attribute</p>
7404
 
                    </div>
7405
 
 
7406
 
                    
7407
 
                </li>
7408
 
            
7409
 
            </ul>
7410
 
        </div>
7411
 
    
7412
 
 
7413
 
    
7414
 
        <div class="returns">
7415
 
            <h4>Returns:</h4>
7416
 
 
7417
 
            <div class="returns-description">
7418
 
                
7419
 
                    
7420
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7421
 
                    
7422
 
                    true if it's a lazily added attribute, false otherwise.
7423
 
                
7424
 
            </div>
7425
 
        </div>
7426
 
    
7427
 
 
7428
 
    
7429
 
</div>
7430
 
 
7431
 
                
7432
 
                    <div id="method__isParentView" class="method item protected inherited">
7433
 
    <h3 class="name"><code>_isParentView</code></h3>
7434
 
 
7435
 
    
7436
 
        <div class="args">
7437
 
            <span class="paren">(</span><ul class="args-list inline commas">
7438
 
            
7439
 
                <li class="arg">
7440
 
                    
7441
 
                        <code>view</code>
7442
 
                    
7443
 
                </li>
7444
 
            
7445
 
                <li class="arg">
7446
 
                    
7447
 
                        <code>parent</code>
7448
 
                    
7449
 
                </li>
7450
 
            
7451
 
            </ul><span class="paren">)</span>
7452
 
        </div>
7453
 
    
7454
 
 
7455
 
    
7456
 
        <span class="returns-inline">
7457
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7458
 
        </span>
7459
 
    
7460
 
 
7461
 
    
7462
 
 
7463
 
    
7464
 
        <span class="flag protected">protected</span>
7465
 
    
7466
 
 
7467
 
    
7468
 
 
7469
 
    
7470
 
 
7471
 
    
7472
 
 
7473
 
    <div class="meta">
7474
 
        
7475
 
            
7476
 
                <p>Inherited from
7477
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__isParentView">App.Base</a>:
7478
 
            
7479
 
        
7480
 
        
7481
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l632"><code>app&#x2F;js&#x2F;app-base.js:632</code></a>
7482
 
        
7483
 
        </p>
7484
 
 
7485
 
 
7486
 
        
7487
 
 
7488
 
        
7489
 
            <p>Available since 3.5.0</p>
7490
 
        
7491
 
    </div>
7492
 
 
7493
 
    <div class="description">
7494
 
        <p>Determines if the specified <code>view</code> is configured as the parent of the
7495
 
specified <code>child</code> view. This requires both views to be either named-views,
7496
 
or view instances created using configuration data that exists in the
7497
 
<code>views</code> object, e.g. created by the <code>createView()</code> or <code>showView()</code> method.</p>
7498
 
    </div>
7499
 
 
7500
 
    
7501
 
        <div class="params">
7502
 
            <h4>Parameters:</h4>
7503
 
 
7504
 
            <ul class="params-list">
7505
 
            
7506
 
                <li class="param">
7507
 
                    
7508
 
                        <code class="param-name">view</code>
7509
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7510
 
                    
7511
 
 
7512
 
                    
7513
 
 
7514
 
                    <div class="param-description">
7515
 
                        <p>The name of a view defined in the <code>views</code> object,
7516
 
  or a view instance.</p>
7517
 
                    </div>
7518
 
 
7519
 
                    
7520
 
                </li>
7521
 
            
7522
 
                <li class="param">
7523
 
                    
7524
 
                        <code class="param-name">parent</code>
7525
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7526
 
                    
7527
 
 
7528
 
                    
7529
 
 
7530
 
                    <div class="param-description">
7531
 
                        <p>The name of a view defined in the <code>views</code>
7532
 
  object, or a view instance.</p>
7533
 
                    </div>
7534
 
 
7535
 
                    
7536
 
                </li>
7537
 
            
7538
 
            </ul>
7539
 
        </div>
7540
 
    
7541
 
 
7542
 
    
7543
 
        <div class="returns">
7544
 
            <h4>Returns:</h4>
7545
 
 
7546
 
            <div class="returns-description">
7547
 
                
7548
 
                    
7549
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7550
 
                    
7551
 
                    Whether the view is configured as the parent of the child.
7552
 
                
7553
 
            </div>
7554
 
        </div>
7555
 
    
7556
 
 
7557
 
    
7558
 
</div>
7559
 
 
7560
 
                
7561
 
                    <div id="method__joinURL" class="method item protected inherited">
7562
 
    <h3 class="name"><code>_joinURL</code></h3>
7563
 
 
7564
 
    
7565
 
        <div class="args">
7566
 
            <span class="paren">(</span><ul class="args-list inline commas">
7567
 
            
7568
 
                <li class="arg">
7569
 
                    
7570
 
                        <code>url</code>
7571
 
                    
7572
 
                </li>
7573
 
            
7574
 
            </ul><span class="paren">)</span>
7575
 
        </div>
7576
 
    
7577
 
 
7578
 
    
7579
 
        <span class="returns-inline">
7580
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7581
 
        </span>
7582
 
    
7583
 
 
7584
 
    
7585
 
 
7586
 
    
7587
 
        <span class="flag protected">protected</span>
7588
 
    
7589
 
 
7590
 
    
7591
 
 
7592
 
    
7593
 
 
7594
 
    
7595
 
 
7596
 
    <div class="meta">
7597
 
        
7598
 
            
7599
 
                <p>Inherited from
7600
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__joinURL">Router</a>:
7601
 
            
7602
 
        
7603
 
        
7604
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l767"><code>app&#x2F;js&#x2F;router.js:767</code></a>
7605
 
        
7606
 
        </p>
7607
 
 
7608
 
 
7609
 
        
7610
 
 
7611
 
        
7612
 
    </div>
7613
 
 
7614
 
    <div class="description">
7615
 
        <p>Joins the <code>root</code> URL to the specified <em>url</em>, normalizing leading/trailing
7616
 
<code>/</code> characters.</p>
7617
 
    </div>
7618
 
 
7619
 
    
7620
 
        <div class="params">
7621
 
            <h4>Parameters:</h4>
7622
 
 
7623
 
            <ul class="params-list">
7624
 
            
7625
 
                <li class="param">
7626
 
                    
7627
 
                        <code class="param-name">url</code>
7628
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7629
 
                    
7630
 
 
7631
 
                    
7632
 
 
7633
 
                    <div class="param-description">
7634
 
                        <p>URL to append to the <code>root</code> URL.</p>
7635
 
                    </div>
7636
 
 
7637
 
                    
7638
 
                </li>
7639
 
            
7640
 
            </ul>
7641
 
        </div>
7642
 
    
7643
 
 
7644
 
    
7645
 
        <div class="returns">
7646
 
            <h4>Returns:</h4>
7647
 
 
7648
 
            <div class="returns-description">
7649
 
                
7650
 
                    
7651
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
7652
 
                    
7653
 
                    Joined URL.
7654
 
                
7655
 
            </div>
7656
 
        </div>
7657
 
    
7658
 
 
7659
 
    
7660
 
        <div class="example">
7661
 
            <h4>Example:</h4>
7662
 
 
7663
 
            <div class="example-content">
7664
 
                <pre class="code"><code class="prettyprint">router.set('root', '/foo');
7665
 
router._joinURL('bar');  // =&gt; '/foo/bar'
7666
 
router._joinURL('/bar'); // =&gt; '/foo/bar'
7667
 
 
7668
 
router.set('root', '/foo/');
7669
 
router._joinURL('bar');  // =&gt; '/foo/bar'
7670
 
router._joinURL('/bar'); // =&gt; '/foo/bar'
7671
 
</code></pre>
7672
 
            </div>
7673
 
        </div>
7674
 
    
7675
 
</div>
7676
 
 
7677
 
                
7678
 
                    <div id="method__monitor" class="method item private inherited">
7679
 
    <h3 class="name"><code>_monitor</code></h3>
7680
 
 
7681
 
    
7682
 
        <div class="args">
7683
 
            <span class="paren">(</span><ul class="args-list inline commas">
7684
 
            
7685
 
                <li class="arg">
7686
 
                    
7687
 
                        <code>what</code>
7688
 
                    
7689
 
                </li>
7690
 
            
7691
 
                <li class="arg">
7692
 
                    
7693
 
                        <code>type</code>
7694
 
                    
7695
 
                </li>
7696
 
            
7697
 
                <li class="arg">
7698
 
                    
7699
 
                        <code>o</code>
7700
 
                    
7701
 
                </li>
7702
 
            
7703
 
            </ul><span class="paren">)</span>
7704
 
        </div>
7705
 
    
7706
 
 
7707
 
    
7708
 
 
7709
 
    
7710
 
 
7711
 
    
7712
 
        <span class="flag private">private</span>
7713
 
    
7714
 
 
7715
 
    
7716
 
 
7717
 
    
7718
 
 
7719
 
    
7720
 
 
7721
 
    <div class="meta">
7722
 
        
7723
 
            
7724
 
                <p>Inherited from
7725
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method__monitor">EventTarget</a>:
7726
 
            
7727
 
        
7728
 
        
7729
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l602"><code>event-custom&#x2F;js&#x2F;event-target.js:602</code></a>
7730
 
        
7731
 
        </p>
7732
 
 
7733
 
 
7734
 
        
7735
 
 
7736
 
        
7737
 
    </div>
7738
 
 
7739
 
    <div class="description">
7740
 
        <p>This is the entry point for the event monitoring system.
7741
 
You can monitor 'attach', 'detach', 'fire', and 'publish'.
7742
 
When configured, these events generate an event.  click ->
7743
 
click<em>attach, click</em>detach, click_publish -- these can
7744
 
be subscribed to like other events to monitor the event
7745
 
system.  Inividual published events can have monitoring
7746
 
turned on or off (publish can't be turned off before it
7747
 
it published) by setting the events 'monitor' config.</p>
7748
 
    </div>
7749
 
 
7750
 
    
7751
 
        <div class="params">
7752
 
            <h4>Parameters:</h4>
7753
 
 
7754
 
            <ul class="params-list">
7755
 
            
7756
 
                <li class="param">
7757
 
                    
7758
 
                        <code class="param-name">what</code>
7759
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7760
 
                    
7761
 
 
7762
 
                    
7763
 
 
7764
 
                    <div class="param-description">
7765
 
                        <p>'attach', 'detach', 'fire', or 'publish'</p>
7766
 
                    </div>
7767
 
 
7768
 
                    
7769
 
                </li>
7770
 
            
7771
 
                <li class="param">
7772
 
                    
7773
 
                        <code class="param-name">type</code>
7774
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7775
 
                    
7776
 
 
7777
 
                    
7778
 
 
7779
 
                    <div class="param-description">
7780
 
                        <p>Name of the event being monitored</p>
7781
 
                    </div>
7782
 
 
7783
 
                    
7784
 
                </li>
7785
 
            
7786
 
                <li class="param">
7787
 
                    
7788
 
                        <code class="param-name">o</code>
7789
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7790
 
                    
7791
 
 
7792
 
                    
7793
 
 
7794
 
                    <div class="param-description">
7795
 
                        <p>Information about the event interaction, such as
7796
 
                 fire() args, subscription category, publish config</p>
7797
 
                    </div>
7798
 
 
7799
 
                    
7800
 
                </li>
7801
 
            
7802
 
            </ul>
7803
 
        </div>
7804
 
    
7805
 
 
7806
 
    
7807
 
 
7808
 
    
7809
 
</div>
7810
 
 
7811
 
                
7812
 
                    <div id="method__navigate" class="method item protected inherited">
7813
 
    <h3 class="name"><code>_navigate</code></h3>
7814
 
 
7815
 
    
7816
 
        <div class="args">
7817
 
            <span class="paren">(</span><ul class="args-list inline commas">
7818
 
            
7819
 
                <li class="arg">
7820
 
                    
7821
 
                        <code>url</code>
7822
 
                    
7823
 
                </li>
7824
 
            
7825
 
                <li class="arg">
7826
 
                    
7827
 
                        <code class="optional">[options]</code>
7828
 
                    
7829
 
                </li>
7830
 
            
7831
 
            </ul><span class="paren">)</span>
7832
 
        </div>
7833
 
    
7834
 
 
7835
 
    
7836
 
 
7837
 
    
7838
 
 
7839
 
    
7840
 
        <span class="flag protected">protected</span>
7841
 
    
7842
 
 
7843
 
    
7844
 
 
7845
 
    
7846
 
 
7847
 
    
7848
 
 
7849
 
    <div class="meta">
7850
 
        
7851
 
            <p>Inherited from
7852
 
            <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__navigate">
7853
 
                PjaxBase
7854
 
            </a>
7855
 
            
7856
 
            but overwritten in
7857
 
            
7858
 
        
7859
 
        
7860
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l658"><code>app&#x2F;js&#x2F;app-base.js:658</code></a>
7861
 
        
7862
 
        </p>
7863
 
 
7864
 
 
7865
 
        
7866
 
 
7867
 
        
7868
 
    </div>
7869
 
 
7870
 
    <div class="description">
7871
 
        <p>Underlying implementation for <code>navigate()</code>.</p>
7872
 
    </div>
7873
 
 
7874
 
    
7875
 
        <div class="params">
7876
 
            <h4>Parameters:</h4>
7877
 
 
7878
 
            <ul class="params-list">
7879
 
            
7880
 
                <li class="param">
7881
 
                    
7882
 
                        <code class="param-name">url</code>
7883
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7884
 
                    
7885
 
 
7886
 
                    
7887
 
 
7888
 
                    <div class="param-description">
7889
 
                        <p>The fully-resolved URL that the app should dispatch to
7890
 
  its route handlers to fulfill the enhanced navigation "request", or use to
7891
 
  update <code>window.location</code> in non-HTML5 history capable browsers when
7892
 
  <code>serverRouting</code> is <code>true</code>.</p>
7893
 
                    </div>
7894
 
 
7895
 
                    
7896
 
                </li>
7897
 
            
7898
 
                <li class="param">
7899
 
                    
7900
 
                        <code class="param-name optional">[options]</code>
7901
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7902
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
7903
 
                    
7904
 
 
7905
 
                    
7906
 
 
7907
 
                    <div class="param-description">
7908
 
                        <p>Additional options to configure the navigation.
7909
 
  These are mixed into the <code>navigate</code> event facade.</p>
7910
 
                    </div>
7911
 
 
7912
 
                    
7913
 
                        <ul class="params-list">
7914
 
                            
7915
 
                            <li class="param">
7916
 
                                
7917
 
                                    <code class="param-name optional">[replace]</code>
7918
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7919
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
7920
 
                                
7921
 
 
7922
 
                                <div class="param-description">
7923
 
                                    <p>Whether or not the current history
7924
 
      entry will be replaced, or a new entry will be created. Will default
7925
 
      to <code>true</code> if the specified <code>url</code> is the same as the current URL.</p>
7926
 
                                </div>
7927
 
 
7928
 
                                
7929
 
                            </li>
7930
 
                            
7931
 
                            <li class="param">
7932
 
                                
7933
 
                                    <code class="param-name optional">[force]</code>
7934
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7935
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
7936
 
                                
7937
 
 
7938
 
                                <div class="param-description">
7939
 
                                    <p>Whether the enhanced navigation
7940
 
      should occur even in browsers without HTML5 history. Will default to
7941
 
      <code>true</code> when <code>serverRouting</code> is falsy.</p>
7942
 
                                </div>
7943
 
 
7944
 
                                
7945
 
                            </li>
7946
 
                            
7947
 
                        </ul>
7948
 
                    
7949
 
                </li>
7950
 
            
7951
 
            </ul>
7952
 
        </div>
7953
 
    
7954
 
 
7955
 
    
7956
 
 
7957
 
    
7958
 
</div>
7959
 
 
7960
 
                
7961
 
                    <div id="method__normalizePath" class="method item protected inherited">
7962
 
    <h3 class="name"><code>_normalizePath</code></h3>
7963
 
 
7964
 
    
7965
 
        <div class="args">
7966
 
            <span class="paren">(</span><ul class="args-list inline commas">
7967
 
            
7968
 
                <li class="arg">
7969
 
                    
7970
 
                        <code>path</code>
7971
 
                    
7972
 
                </li>
7973
 
            
7974
 
            </ul><span class="paren">)</span>
7975
 
        </div>
7976
 
    
7977
 
 
7978
 
    
7979
 
        <span class="returns-inline">
7980
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7981
 
        </span>
7982
 
    
7983
 
 
7984
 
    
7985
 
 
7986
 
    
7987
 
        <span class="flag protected">protected</span>
7988
 
    
7989
 
 
7990
 
    
7991
 
 
7992
 
    
7993
 
 
7994
 
    
7995
 
 
7996
 
    <div class="meta">
7997
 
        
7998
 
            
7999
 
                <p>Inherited from
8000
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__normalizePath">PjaxBase</a>:
8001
 
            
8002
 
        
8003
 
        
8004
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l254"><code>pjax&#x2F;js&#x2F;pjax-base.js:254</code></a>
8005
 
        
8006
 
        </p>
8007
 
 
8008
 
 
8009
 
        
8010
 
 
8011
 
        
8012
 
            <p>Available since 3.5.0</p>
8013
 
        
8014
 
    </div>
8015
 
 
8016
 
    <div class="description">
8017
 
        <p>Returns a normalized path, ridding it of any '..' segments and properly
8018
 
handling leading and trailing slashes.</p>
8019
 
    </div>
8020
 
 
8021
 
    
8022
 
        <div class="params">
8023
 
            <h4>Parameters:</h4>
8024
 
 
8025
 
            <ul class="params-list">
8026
 
            
8027
 
                <li class="param">
8028
 
                    
8029
 
                        <code class="param-name">path</code>
8030
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8031
 
                    
8032
 
 
8033
 
                    
8034
 
 
8035
 
                    <div class="param-description">
8036
 
                        <p>URL path to normalize.</p>
8037
 
                    </div>
8038
 
 
8039
 
                    
8040
 
                </li>
8041
 
            
8042
 
            </ul>
8043
 
        </div>
8044
 
    
8045
 
 
8046
 
    
8047
 
        <div class="returns">
8048
 
            <h4>Returns:</h4>
8049
 
 
8050
 
            <div class="returns-description">
8051
 
                
8052
 
                    
8053
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
8054
 
                    
8055
 
                    Normalized path.
8056
 
                
8057
 
            </div>
8058
 
        </div>
8059
 
    
8060
 
 
8061
 
    
8062
 
</div>
8063
 
 
8064
 
                
8065
 
                    <div id="method__normAttrVals" class="method item private inherited">
8066
 
    <h3 class="name"><code>_normAttrVals</code></h3>
8067
 
 
8068
 
    
8069
 
        <div class="args">
8070
 
            <span class="paren">(</span><ul class="args-list inline commas">
8071
 
            
8072
 
                <li class="arg">
8073
 
                    
8074
 
                        <code>valueHash</code>
8075
 
                    
8076
 
                </li>
8077
 
            
8078
 
            </ul><span class="paren">)</span>
8079
 
        </div>
8080
 
    
8081
 
 
8082
 
    
8083
 
        <span class="returns-inline">
8084
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8085
 
        </span>
8086
 
    
8087
 
 
8088
 
    
8089
 
 
8090
 
    
8091
 
        <span class="flag private">private</span>
8092
 
    
8093
 
 
8094
 
    
8095
 
 
8096
 
    
8097
 
 
8098
 
    
8099
 
 
8100
 
    <div class="meta">
8101
 
        
8102
 
            <p>Inherited from
8103
 
            <a href="..&#x2F;classes&#x2F;Attribute.html#method__normAttrVals">
8104
 
                Attribute
8105
 
            </a>
8106
 
            
8107
 
            but overwritten in
8108
 
            
8109
 
        
8110
 
        
8111
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l808"><code>attribute&#x2F;js&#x2F;AttributeCore.js:808</code></a>
8112
 
        
8113
 
        </p>
8114
 
 
8115
 
 
8116
 
        
8117
 
 
8118
 
        
8119
 
    </div>
8120
 
 
8121
 
    <div class="description">
8122
 
        <p>Utility method to normalize attribute values. The base implementation 
8123
 
simply merges the hash to protect the original.</p>
8124
 
    </div>
8125
 
 
8126
 
    
8127
 
        <div class="params">
8128
 
            <h4>Parameters:</h4>
8129
 
 
8130
 
            <ul class="params-list">
8131
 
            
8132
 
                <li class="param">
8133
 
                    
8134
 
                        <code class="param-name">valueHash</code>
8135
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8136
 
                    
8137
 
 
8138
 
                    
8139
 
 
8140
 
                    <div class="param-description">
8141
 
                        <p>An object with attribute name/value pairs</p>
8142
 
                    </div>
8143
 
 
8144
 
                    
8145
 
                </li>
8146
 
            
8147
 
            </ul>
8148
 
        </div>
8149
 
    
8150
 
 
8151
 
    
8152
 
        <div class="returns">
8153
 
            <h4>Returns:</h4>
8154
 
 
8155
 
            <div class="returns-description">
8156
 
                
8157
 
                    
8158
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8159
 
                    
8160
 
                
8161
 
            </div>
8162
 
        </div>
8163
 
    
8164
 
 
8165
 
    
8166
 
</div>
8167
 
 
8168
 
                
8169
 
                    <div id="method__onLinkClick" class="method item protected inherited">
8170
 
    <h3 class="name"><code>_onLinkClick</code></h3>
8171
 
 
8172
 
    
8173
 
        <div class="args">
8174
 
            <span class="paren">(</span><ul class="args-list inline commas">
8175
 
            
8176
 
                <li class="arg">
8177
 
                    
8178
 
                        <code>e</code>
8179
 
                    
8180
 
                </li>
8181
 
            
8182
 
            </ul><span class="paren">)</span>
8183
 
        </div>
8184
 
    
8185
 
 
8186
 
    
8187
 
 
8188
 
    
8189
 
 
8190
 
    
8191
 
        <span class="flag protected">protected</span>
8192
 
    
8193
 
 
8194
 
    
8195
 
 
8196
 
    
8197
 
 
8198
 
    
8199
 
 
8200
 
    <div class="meta">
8201
 
        
8202
 
            
8203
 
                <p>Inherited from
8204
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__onLinkClick">PjaxBase</a>:
8205
 
            
8206
 
        
8207
 
        
8208
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l417"><code>pjax&#x2F;js&#x2F;pjax-base.js:417</code></a>
8209
 
        
8210
 
        </p>
8211
 
 
8212
 
 
8213
 
        
8214
 
 
8215
 
        
8216
 
            <p>Available since 3.5.0</p>
8217
 
        
8218
 
    </div>
8219
 
 
8220
 
    <div class="description">
8221
 
        <p>Handler for delegated link-click events which match the <code>linkSelector</code>.</p>
8222
 
 
8223
 
<p>This will attempt to enhance the navigation to the link element's <code>href</code> by
8224
 
passing the URL to the <code>_navigate()</code> method. When the navigation is being
8225
 
enhanced, the default action is prevented.</p>
8226
 
 
8227
 
<p>If the user clicks a link with the middle/right mouse buttons, or is holding
8228
 
down the Ctrl or Command keys, this method's behavior is not applied and
8229
 
allows the native behavior to occur. Similarly, if the router is not capable
8230
 
or handling the URL because no route-handlers match, the link click will
8231
 
behave natively.</p>
8232
 
    </div>
8233
 
 
8234
 
    
8235
 
        <div class="params">
8236
 
            <h4>Parameters:</h4>
8237
 
 
8238
 
            <ul class="params-list">
8239
 
            
8240
 
                <li class="param">
8241
 
                    
8242
 
                        <code class="param-name">e</code>
8243
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
8244
 
                    
8245
 
 
8246
 
                    
8247
 
 
8248
 
                    <div class="param-description">
8249
 
                        
8250
 
                    </div>
8251
 
 
8252
 
                    
8253
 
                </li>
8254
 
            
8255
 
            </ul>
8256
 
        </div>
8257
 
    
8258
 
 
8259
 
    
8260
 
 
8261
 
    
8262
 
</div>
8263
 
 
8264
 
                
8265
 
                    <div id="method__parseQuery" class="method item protected inherited">
8266
 
    <h3 class="name"><code>_parseQuery</code></h3>
8267
 
 
8268
 
    
8269
 
        <div class="args">
8270
 
            <span class="paren">(</span><ul class="args-list inline commas">
8271
 
            
8272
 
                <li class="arg">
8273
 
                    
8274
 
                        <code>query</code>
8275
 
                    
8276
 
                </li>
8277
 
            
8278
 
            </ul><span class="paren">)</span>
8279
 
        </div>
8280
 
    
8281
 
 
8282
 
    
8283
 
        <span class="returns-inline">
8284
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8285
 
        </span>
8286
 
    
8287
 
 
8288
 
    
8289
 
 
8290
 
    
8291
 
        <span class="flag protected">protected</span>
8292
 
    
8293
 
 
8294
 
    
8295
 
 
8296
 
    
8297
 
 
8298
 
    
8299
 
 
8300
 
    <div class="meta">
8301
 
        
8302
 
            
8303
 
                <p>Inherited from
8304
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__parseQuery">Router</a>:
8305
 
            
8306
 
        
8307
 
        
8308
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l799"><code>app&#x2F;js&#x2F;router.js:799</code></a>
8309
 
        
8310
 
        </p>
8311
 
 
8312
 
 
8313
 
        
8314
 
 
8315
 
        
8316
 
    </div>
8317
 
 
8318
 
    <div class="description">
8319
 
        <p>Parses a URL query string into a key/value hash. If <code>Y.QueryString.parse</code> is
8320
 
available, this method will be an alias to that.</p>
8321
 
    </div>
8322
 
 
8323
 
    
8324
 
        <div class="params">
8325
 
            <h4>Parameters:</h4>
8326
 
 
8327
 
            <ul class="params-list">
8328
 
            
8329
 
                <li class="param">
8330
 
                    
8331
 
                        <code class="param-name">query</code>
8332
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8333
 
                    
8334
 
 
8335
 
                    
8336
 
 
8337
 
                    <div class="param-description">
8338
 
                        <p>Query string to parse.</p>
8339
 
                    </div>
8340
 
 
8341
 
                    
8342
 
                </li>
8343
 
            
8344
 
            </ul>
8345
 
        </div>
8346
 
    
8347
 
 
8348
 
    
8349
 
        <div class="returns">
8350
 
            <h4>Returns:</h4>
8351
 
 
8352
 
            <div class="returns-description">
8353
 
                
8354
 
                    
8355
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8356
 
                    
8357
 
                    Hash of key/value pairs for query parameters.
8358
 
                
8359
 
            </div>
8360
 
        </div>
8361
 
    
8362
 
 
8363
 
    
8364
 
</div>
8365
 
 
8366
 
                
8367
 
                    <div id="method__parseType" class="method item private inherited">
8368
 
    <h3 class="name"><code>_parseType</code></h3>
8369
 
 
8370
 
    
8371
 
        <span class="paren">()</span>
8372
 
    
8373
 
 
8374
 
    
8375
 
 
8376
 
    
8377
 
 
8378
 
    
8379
 
        <span class="flag private">private</span>
8380
 
    
8381
 
 
8382
 
    
8383
 
 
8384
 
    
8385
 
 
8386
 
    
8387
 
 
8388
 
    <div class="meta">
8389
 
        
8390
 
            
8391
 
                <p>Inherited from
8392
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method__parseType">EventTarget</a>:
8393
 
            
8394
 
        
8395
 
        
8396
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l52"><code>event-custom&#x2F;js&#x2F;event-target.js:52</code></a>
8397
 
        
8398
 
        </p>
8399
 
 
8400
 
 
8401
 
        
8402
 
 
8403
 
        
8404
 
    </div>
8405
 
 
8406
 
    <div class="description">
8407
 
        <p>Returns an array with the detach key (if provided),
8408
 
and the prefixed event name from _getType
8409
 
Y.on('detachcategory| menu:click', fn)</p>
8410
 
    </div>
8411
 
 
8412
 
    
8413
 
 
8414
 
    
8415
 
 
8416
 
    
8417
 
</div>
8418
 
 
8419
 
                
8420
 
                    <div id="method__pjaxBindUI" class="method item protected inherited">
8421
 
    <h3 class="name"><code>_pjaxBindUI</code></h3>
8422
 
 
8423
 
    
8424
 
        <span class="paren">()</span>
8425
 
    
8426
 
 
8427
 
    
8428
 
 
8429
 
    
8430
 
 
8431
 
    
8432
 
        <span class="flag protected">protected</span>
8433
 
    
8434
 
 
8435
 
    
8436
 
 
8437
 
    
8438
 
 
8439
 
    
8440
 
 
8441
 
    <div class="meta">
8442
 
        
8443
 
            
8444
 
                <p>Inherited from
8445
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__pjaxBindUI">PjaxBase</a>:
8446
 
            
8447
 
        
8448
 
        
8449
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l296"><code>pjax&#x2F;js&#x2F;pjax-base.js:296</code></a>
8450
 
        
8451
 
        </p>
8452
 
 
8453
 
 
8454
 
        
8455
 
 
8456
 
        
8457
 
            <p>Available since 3.5.0</p>
8458
 
        
8459
 
    </div>
8460
 
 
8461
 
    <div class="description">
8462
 
        <p>Binds the delegation of link-click events that match the <code>linkSelector</code> to
8463
 
the <code>_onLinkClick()</code> handler.</p>
8464
 
 
8465
 
<p>By default this method will only be called if the browser is capable of
8466
 
using HTML5 history.</p>
8467
 
    </div>
8468
 
 
8469
 
    
8470
 
 
8471
 
    
8472
 
 
8473
 
    
8474
 
</div>
8475
 
 
8476
 
                
8477
 
                    <div id="method__preInitEventCfg" class="method item private inherited">
8478
 
    <h3 class="name"><code>_preInitEventCfg</code></h3>
8479
 
 
8480
 
    
8481
 
        <div class="args">
8482
 
            <span class="paren">(</span><ul class="args-list inline commas">
8483
 
            
8484
 
                <li class="arg">
8485
 
                    
8486
 
                        <code>config</code>
8487
 
                    
8488
 
                </li>
8489
 
            
8490
 
            </ul><span class="paren">)</span>
8491
 
        </div>
8492
 
    
8493
 
 
8494
 
    
8495
 
 
8496
 
    
8497
 
 
8498
 
    
8499
 
        <span class="flag private">private</span>
8500
 
    
8501
 
 
8502
 
    
8503
 
 
8504
 
    
8505
 
 
8506
 
    
8507
 
 
8508
 
    <div class="meta">
8509
 
        
8510
 
            
8511
 
                <p>Inherited from
8512
 
                <a href="..&#x2F;classes&#x2F;Base.html#method__preInitEventCfg">Base</a>:
8513
 
            
8514
 
        
8515
 
        
8516
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l233"><code>base&#x2F;js&#x2F;Base.js:233</code></a>
8517
 
        
8518
 
        </p>
8519
 
 
8520
 
 
8521
 
        
8522
 
 
8523
 
        
8524
 
    </div>
8525
 
 
8526
 
    <div class="description">
8527
 
        <p>Handles the special on, after and target properties which allow the user to
8528
 
easily configure on and after listeners as well as bubble targets during 
8529
 
construction, prior to init.</p>
8530
 
    </div>
8531
 
 
8532
 
    
8533
 
        <div class="params">
8534
 
            <h4>Parameters:</h4>
8535
 
 
8536
 
            <ul class="params-list">
8537
 
            
8538
 
                <li class="param">
8539
 
                    
8540
 
                        <code class="param-name">config</code>
8541
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8542
 
                    
8543
 
 
8544
 
                    
8545
 
 
8546
 
                    <div class="param-description">
8547
 
                        <p>The user configuration object</p>
8548
 
                    </div>
8549
 
 
8550
 
                    
8551
 
                </li>
8552
 
            
8553
 
            </ul>
8554
 
        </div>
8555
 
    
8556
 
 
8557
 
    
8558
 
 
8559
 
    
8560
 
</div>
8561
 
 
8562
 
                
8563
 
                    <div id="method__protectAttrs" class="method item protected inherited">
8564
 
    <h3 class="name"><code>_protectAttrs</code></h3>
8565
 
 
8566
 
    
8567
 
        <div class="args">
8568
 
            <span class="paren">(</span><ul class="args-list inline commas">
8569
 
            
8570
 
                <li class="arg">
8571
 
                    
8572
 
                        <code>attrs</code>
8573
 
                    
8574
 
                </li>
8575
 
            
8576
 
            </ul><span class="paren">)</span>
8577
 
        </div>
8578
 
    
8579
 
 
8580
 
    
8581
 
        <span class="returns-inline">
8582
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8583
 
        </span>
8584
 
    
8585
 
 
8586
 
    
8587
 
 
8588
 
    
8589
 
        <span class="flag protected">protected</span>
8590
 
    
8591
 
 
8592
 
    
8593
 
 
8594
 
    
8595
 
 
8596
 
    
8597
 
 
8598
 
    <div class="meta">
8599
 
        
8600
 
            
8601
 
                <p>Inherited from
8602
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__protectAttrs">AttributeCore</a>:
8603
 
            
8604
 
        
8605
 
        
8606
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l786"><code>attribute&#x2F;js&#x2F;AttributeCore.js:786</code></a>
8607
 
        
8608
 
        </p>
8609
 
 
8610
 
 
8611
 
        
8612
 
 
8613
 
        
8614
 
    </div>
8615
 
 
8616
 
    <div class="description">
8617
 
        <p>Utility method to protect an attribute configuration
8618
 
hash, by merging the entire object and the individual 
8619
 
attr config objects.</p>
8620
 
    </div>
8621
 
 
8622
 
    
8623
 
        <div class="params">
8624
 
            <h4>Parameters:</h4>
8625
 
 
8626
 
            <ul class="params-list">
8627
 
            
8628
 
                <li class="param">
8629
 
                    
8630
 
                        <code class="param-name">attrs</code>
8631
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8632
 
                    
8633
 
 
8634
 
                    
8635
 
 
8636
 
                    <div class="param-description">
8637
 
                        <p>A hash of attribute to configuration object pairs.</p>
8638
 
                    </div>
8639
 
 
8640
 
                    
8641
 
                </li>
8642
 
            
8643
 
            </ul>
8644
 
        </div>
8645
 
    
8646
 
 
8647
 
    
8648
 
        <div class="returns">
8649
 
            <h4>Returns:</h4>
8650
 
 
8651
 
            <div class="returns-description">
8652
 
                
8653
 
                    
8654
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8655
 
                    
8656
 
                    A protected version of the attrs argument.
8657
 
                
8658
 
            </div>
8659
 
        </div>
8660
 
    
8661
 
 
8662
 
    
8663
 
</div>
8664
 
 
8665
 
                
8666
 
                    <div id="method__queue" class="method item protected inherited">
8667
 
    <h3 class="name"><code>_queue</code></h3>
8668
 
 
8669
 
    
8670
 
        <span class="paren">()</span>
8671
 
    
8672
 
 
8673
 
    
8674
 
 
8675
 
    
8676
 
 
8677
 
    
8678
 
        <span class="flag protected">protected</span>
8679
 
    
8680
 
 
8681
 
    
8682
 
 
8683
 
    
8684
 
 
8685
 
    
8686
 
        <span class="flag chainable">chainable</span>
8687
 
    
8688
 
 
8689
 
    <div class="meta">
8690
 
        
8691
 
            
8692
 
                <p>Inherited from
8693
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__queue">Router</a>:
8694
 
            
8695
 
        
8696
 
        
8697
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l827"><code>app&#x2F;js&#x2F;router.js:827</code></a>
8698
 
        
8699
 
        </p>
8700
 
 
8701
 
 
8702
 
        
8703
 
 
8704
 
        
8705
 
    </div>
8706
 
 
8707
 
    <div class="description">
8708
 
        <p>Queues up a <code>_save()</code> call to run after all previously-queued calls have
8709
 
finished.</p>
8710
 
 
8711
 
<p>This is necessary because if we make multiple <code>_save()</code> calls before the
8712
 
first call gets dispatched, then both calls will dispatch to the last call's
8713
 
URL.</p>
8714
 
 
8715
 
<p>All arguments passed to <code>_queue()</code> will be passed on to <code>_save()</code> when the
8716
 
queued function is executed.</p>
8717
 
    </div>
8718
 
 
8719
 
    
8720
 
 
8721
 
    
8722
 
 
8723
 
    
8724
 
</div>
8725
 
 
8726
 
                
8727
 
                    <div id="method__resolvePath" class="method item protected inherited">
8728
 
    <h3 class="name"><code>_resolvePath</code></h3>
8729
 
 
8730
 
    
8731
 
        <div class="args">
8732
 
            <span class="paren">(</span><ul class="args-list inline commas">
8733
 
            
8734
 
                <li class="arg">
8735
 
                    
8736
 
                        <code>path</code>
8737
 
                    
8738
 
                </li>
8739
 
            
8740
 
            </ul><span class="paren">)</span>
8741
 
        </div>
8742
 
    
8743
 
 
8744
 
    
8745
 
        <span class="returns-inline">
8746
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8747
 
        </span>
8748
 
    
8749
 
 
8750
 
    
8751
 
 
8752
 
    
8753
 
        <span class="flag protected">protected</span>
8754
 
    
8755
 
 
8756
 
    
8757
 
 
8758
 
    
8759
 
 
8760
 
    
8761
 
 
8762
 
    <div class="meta">
8763
 
        
8764
 
            
8765
 
                <p>Inherited from
8766
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__resolvePath">PjaxBase</a>:
8767
 
            
8768
 
        
8769
 
        
8770
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l315"><code>pjax&#x2F;js&#x2F;pjax-base.js:315</code></a>
8771
 
        
8772
 
        </p>
8773
 
 
8774
 
 
8775
 
        
8776
 
 
8777
 
        
8778
 
            <p>Available since 3.5.0</p>
8779
 
        
8780
 
    </div>
8781
 
 
8782
 
    <div class="description">
8783
 
        <p>Returns the normalized result of resolving the <code>path</code> against the current
8784
 
path. Falsy values for <code>path</code> will return just the current path.</p>
8785
 
    </div>
8786
 
 
8787
 
    
8788
 
        <div class="params">
8789
 
            <h4>Parameters:</h4>
8790
 
 
8791
 
            <ul class="params-list">
8792
 
            
8793
 
                <li class="param">
8794
 
                    
8795
 
                        <code class="param-name">path</code>
8796
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8797
 
                    
8798
 
 
8799
 
                    
8800
 
 
8801
 
                    <div class="param-description">
8802
 
                        <p>URL path to resolve.</p>
8803
 
                    </div>
8804
 
 
8805
 
                    
8806
 
                </li>
8807
 
            
8808
 
            </ul>
8809
 
        </div>
8810
 
    
8811
 
 
8812
 
    
8813
 
        <div class="returns">
8814
 
            <h4>Returns:</h4>
8815
 
 
8816
 
            <div class="returns-description">
8817
 
                
8818
 
                    
8819
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
8820
 
                    
8821
 
                    Resolved path.
8822
 
                
8823
 
            </div>
8824
 
        </div>
8825
 
    
8826
 
 
8827
 
    
8828
 
</div>
8829
 
 
8830
 
                
8831
 
                    <div id="method__resolveURL" class="method item protected inherited">
8832
 
    <h3 class="name"><code>_resolveURL</code></h3>
8833
 
 
8834
 
    
8835
 
        <div class="args">
8836
 
            <span class="paren">(</span><ul class="args-list inline commas">
8837
 
            
8838
 
                <li class="arg">
8839
 
                    
8840
 
                        <code>url</code>
8841
 
                    
8842
 
                </li>
8843
 
            
8844
 
            </ul><span class="paren">)</span>
8845
 
        </div>
8846
 
    
8847
 
 
8848
 
    
8849
 
        <span class="returns-inline">
8850
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8851
 
        </span>
8852
 
    
8853
 
 
8854
 
    
8855
 
 
8856
 
    
8857
 
        <span class="flag protected">protected</span>
8858
 
    
8859
 
 
8860
 
    
8861
 
 
8862
 
    
8863
 
 
8864
 
    
8865
 
 
8866
 
    <div class="meta">
8867
 
        
8868
 
            
8869
 
                <p>Inherited from
8870
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#method__resolveURL">PjaxBase</a>:
8871
 
            
8872
 
        
8873
 
        
8874
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l339"><code>pjax&#x2F;js&#x2F;pjax-base.js:339</code></a>
8875
 
        
8876
 
        </p>
8877
 
 
8878
 
 
8879
 
        
8880
 
 
8881
 
        
8882
 
            <p>Available since 3.5.0</p>
8883
 
        
8884
 
    </div>
8885
 
 
8886
 
    <div class="description">
8887
 
        <p>Resolves the specified URL against the current URL.</p>
8888
 
 
8889
 
<p>This method resolves URLs like a browser does and will always return an
8890
 
absolute URL. When the specified URL is already absolute, it is assumed to
8891
 
be fully resolved and is simply returned as is. Scheme-relative URLs are
8892
 
prefixed with the current protocol. Relative URLs are giving the current
8893
 
URL's origin and are resolved and normalized against the current path root.</p>
8894
 
    </div>
8895
 
 
8896
 
    
8897
 
        <div class="params">
8898
 
            <h4>Parameters:</h4>
8899
 
 
8900
 
            <ul class="params-list">
8901
 
            
8902
 
                <li class="param">
8903
 
                    
8904
 
                        <code class="param-name">url</code>
8905
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8906
 
                    
8907
 
 
8908
 
                    
8909
 
 
8910
 
                    <div class="param-description">
8911
 
                        <p>URL to resolve.</p>
8912
 
                    </div>
8913
 
 
8914
 
                    
8915
 
                </li>
8916
 
            
8917
 
            </ul>
8918
 
        </div>
8919
 
    
8920
 
 
8921
 
    
8922
 
        <div class="returns">
8923
 
            <h4>Returns:</h4>
8924
 
 
8925
 
            <div class="returns-description">
8926
 
                
8927
 
                    
8928
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
8929
 
                    
8930
 
                    Resolved URL.
8931
 
                
8932
 
            </div>
8933
 
        </div>
8934
 
    
8935
 
 
8936
 
    
8937
 
</div>
8938
 
 
8939
 
                
8940
 
                    <div id="method__save" class="method item protected inherited">
8941
 
    <h3 class="name"><code>_save</code></h3>
8942
 
 
8943
 
    
8944
 
        <div class="args">
8945
 
            <span class="paren">(</span><ul class="args-list inline commas">
8946
 
            
8947
 
                <li class="arg">
8948
 
                    
8949
 
                        <code class="optional">[url]</code>
8950
 
                    
8951
 
                </li>
8952
 
            
8953
 
                <li class="arg">
8954
 
                    
8955
 
                        <code class="optional">[replace=false]</code>
8956
 
                    
8957
 
                </li>
8958
 
            
8959
 
            </ul><span class="paren">)</span>
8960
 
        </div>
8961
 
    
8962
 
 
8963
 
    
8964
 
 
8965
 
    
8966
 
 
8967
 
    
8968
 
        <span class="flag protected">protected</span>
8969
 
    
8970
 
 
8971
 
    
8972
 
 
8973
 
    
8974
 
 
8975
 
    
8976
 
        <span class="flag chainable">chainable</span>
8977
 
    
8978
 
 
8979
 
    <div class="meta">
8980
 
        
8981
 
            <p>Inherited from
8982
 
            <a href="..&#x2F;classes&#x2F;Router.html#method__save">
8983
 
                Router
8984
 
            </a>
8985
 
            
8986
 
            but overwritten in
8987
 
            
8988
 
        
8989
 
        
8990
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l692"><code>app&#x2F;js&#x2F;app-base.js:692</code></a>
8991
 
        
8992
 
        </p>
8993
 
 
8994
 
 
8995
 
        
8996
 
 
8997
 
        
8998
 
    </div>
8999
 
 
9000
 
    <div class="description">
9001
 
        <p>Will either save a history entry using <code>pushState()</code> or the location hash,
9002
 
or gracefully-degrade to sending a request to the server causing a full-page
9003
 
reload.</p>
9004
 
 
9005
 
<p>Overrides Router's <code>_save()</code> method to preform graceful-degradation when the
9006
 
app's <code>serverRouting</code> is <code>true</code> and <code>html5</code> is <code>false</code> by updating the full
9007
 
URL via standard assignment to <code>window.location</code> or by calling
9008
 
<code>window.location.replace()</code>; both of which will cause a request to the
9009
 
server resulting in a full-page reload.</p>
9010
 
 
9011
 
<p>Otherwise this will just delegate off to Router's <code>_save()</code> method allowing
9012
 
the client-side enhanced routing to occur.</p>
9013
 
    </div>
9014
 
 
9015
 
    
9016
 
        <div class="params">
9017
 
            <h4>Parameters:</h4>
9018
 
 
9019
 
            <ul class="params-list">
9020
 
            
9021
 
                <li class="param">
9022
 
                    
9023
 
                        <code class="param-name optional">[url]</code>
9024
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9025
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
9026
 
                    
9027
 
 
9028
 
                    
9029
 
 
9030
 
                    <div class="param-description">
9031
 
                        <p>URL for the history entry.</p>
9032
 
                    </div>
9033
 
 
9034
 
                    
9035
 
                </li>
9036
 
            
9037
 
                <li class="param">
9038
 
                    
9039
 
                        <code class="param-name optional">[replace=false]</code>
9040
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9041
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
9042
 
                    
9043
 
 
9044
 
                    
9045
 
 
9046
 
                    <div class="param-description">
9047
 
                        <p>If <code>true</code>, the current history entry will
9048
 
  be replaced instead of a new one being added.</p>
9049
 
                    </div>
9050
 
 
9051
 
                    
9052
 
                </li>
9053
 
            
9054
 
            </ul>
9055
 
        </div>
9056
 
    
9057
 
 
9058
 
    
9059
 
 
9060
 
    
9061
 
</div>
9062
 
 
9063
 
                
9064
 
                    <div id="method__set" class="method item protected inherited">
9065
 
    <h3 class="name"><code>_set</code></h3>
9066
 
 
9067
 
    
9068
 
        <div class="args">
9069
 
            <span class="paren">(</span><ul class="args-list inline commas">
9070
 
            
9071
 
                <li class="arg">
9072
 
                    
9073
 
                        <code>name</code>
9074
 
                    
9075
 
                </li>
9076
 
            
9077
 
                <li class="arg">
9078
 
                    
9079
 
                        <code>val</code>
9080
 
                    
9081
 
                </li>
9082
 
            
9083
 
            </ul><span class="paren">)</span>
9084
 
        </div>
9085
 
    
9086
 
 
9087
 
    
9088
 
        <span class="returns-inline">
9089
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9090
 
        </span>
9091
 
    
9092
 
 
9093
 
    
9094
 
 
9095
 
    
9096
 
        <span class="flag protected">protected</span>
9097
 
    
9098
 
 
9099
 
    
9100
 
 
9101
 
    
9102
 
 
9103
 
    
9104
 
        <span class="flag chainable">chainable</span>
9105
 
    
9106
 
 
9107
 
    <div class="meta">
9108
 
        
9109
 
            <p>Inherited from
9110
 
            <a href="..&#x2F;classes&#x2F;AttributeEvents.html#method__set">
9111
 
                AttributeEvents
9112
 
            </a>
9113
 
            
9114
 
            but overwritten in
9115
 
            
9116
 
        
9117
 
        
9118
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l346"><code>attribute&#x2F;js&#x2F;AttributeCore.js:346</code></a>
9119
 
        
9120
 
        </p>
9121
 
 
9122
 
 
9123
 
        
9124
 
 
9125
 
        
9126
 
    </div>
9127
 
 
9128
 
    <div class="description">
9129
 
        <p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
9130
 
    </div>
9131
 
 
9132
 
    
9133
 
        <div class="params">
9134
 
            <h4>Parameters:</h4>
9135
 
 
9136
 
            <ul class="params-list">
9137
 
            
9138
 
                <li class="param">
9139
 
                    
9140
 
                        <code class="param-name">name</code>
9141
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9142
 
                    
9143
 
 
9144
 
                    
9145
 
 
9146
 
                    <div class="param-description">
9147
 
                        <p>The name of the attribute.</p>
9148
 
                    </div>
9149
 
 
9150
 
                    
9151
 
                </li>
9152
 
            
9153
 
                <li class="param">
9154
 
                    
9155
 
                        <code class="param-name">val</code>
9156
 
                        <span class="type">Any</span>
9157
 
                    
9158
 
 
9159
 
                    
9160
 
 
9161
 
                    <div class="param-description">
9162
 
                        <p>The value to set the attribute to.</p>
9163
 
                    </div>
9164
 
 
9165
 
                    
9166
 
                </li>
9167
 
            
9168
 
            </ul>
9169
 
        </div>
9170
 
    
9171
 
 
9172
 
    
9173
 
        <div class="returns">
9174
 
            <h4>Returns:</h4>
9175
 
 
9176
 
            <div class="returns-description">
9177
 
                
9178
 
                    
9179
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9180
 
                    
9181
 
                    A reference to the host object.
9182
 
                
9183
 
            </div>
9184
 
        </div>
9185
 
    
9186
 
 
9187
 
    
9188
 
</div>
9189
 
 
9190
 
                
9191
 
                    <div id="method__setAttr" class="method item protected inherited">
9192
 
    <h3 class="name"><code>_setAttr</code></h3>
9193
 
 
9194
 
    
9195
 
        <div class="args">
9196
 
            <span class="paren">(</span><ul class="args-list inline commas">
9197
 
            
9198
 
                <li class="arg">
9199
 
                    
9200
 
                        <code>name</code>
9201
 
                    
9202
 
                </li>
9203
 
            
9204
 
                <li class="arg">
9205
 
                    
9206
 
                        <code>value</code>
9207
 
                    
9208
 
                </li>
9209
 
            
9210
 
                <li class="arg">
9211
 
                    
9212
 
                        <code>opts</code>
9213
 
                    
9214
 
                </li>
9215
 
            
9216
 
                <li class="arg">
9217
 
                    
9218
 
                        <code>force</code>
9219
 
                    
9220
 
                </li>
9221
 
            
9222
 
            </ul><span class="paren">)</span>
9223
 
        </div>
9224
 
    
9225
 
 
9226
 
    
9227
 
        <span class="returns-inline">
9228
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9229
 
        </span>
9230
 
    
9231
 
 
9232
 
    
9233
 
 
9234
 
    
9235
 
        <span class="flag protected">protected</span>
9236
 
    
9237
 
 
9238
 
    
9239
 
 
9240
 
    
9241
 
 
9242
 
    
9243
 
        <span class="flag chainable">chainable</span>
9244
 
    
9245
 
 
9246
 
    <div class="meta">
9247
 
        
9248
 
            
9249
 
                <p>Inherited from
9250
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__setAttr">AttributeCore</a>:
9251
 
            
9252
 
        
9253
 
        
9254
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l361"><code>attribute&#x2F;js&#x2F;AttributeCore.js:361</code></a>
9255
 
        
9256
 
        </p>
9257
 
 
9258
 
 
9259
 
        
9260
 
 
9261
 
        
9262
 
    </div>
9263
 
 
9264
 
    <div class="description">
9265
 
        <p>Provides the common implementation for the public set and protected _set methods.</p>
9266
 
 
9267
 
<p>See <a href="#method_set">set</a> for argument details.</p>
9268
 
    </div>
9269
 
 
9270
 
    
9271
 
        <div class="params">
9272
 
            <h4>Parameters:</h4>
9273
 
 
9274
 
            <ul class="params-list">
9275
 
            
9276
 
                <li class="param">
9277
 
                    
9278
 
                        <code class="param-name">name</code>
9279
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9280
 
                    
9281
 
 
9282
 
                    
9283
 
 
9284
 
                    <div class="param-description">
9285
 
                        <p>The name of the attribute.</p>
9286
 
                    </div>
9287
 
 
9288
 
                    
9289
 
                </li>
9290
 
            
9291
 
                <li class="param">
9292
 
                    
9293
 
                        <code class="param-name">value</code>
9294
 
                        <span class="type">Any</span>
9295
 
                    
9296
 
 
9297
 
                    
9298
 
 
9299
 
                    <div class="param-description">
9300
 
                        <p>The value to set the attribute to.</p>
9301
 
                    </div>
9302
 
 
9303
 
                    
9304
 
                </li>
9305
 
            
9306
 
                <li class="param">
9307
 
                    
9308
 
                        <code class="param-name">opts</code>
9309
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9310
 
                    
9311
 
 
9312
 
                    
9313
 
 
9314
 
                    <div class="param-description">
9315
 
                        <p>(Optional) Optional event data to be mixed into
9316
 
the event facade passed to subscribers of the attribute's change event.
9317
 
This is currently a hack. There's no real need for the AttributeCore implementation
9318
 
to support this parameter, but breaking it out into AttributeEvents, results in
9319
 
additional function hops for the critical path. May change in 3.5.0 PR3.</p>
9320
 
                    </div>
9321
 
 
9322
 
                    
9323
 
                </li>
9324
 
            
9325
 
                <li class="param">
9326
 
                    
9327
 
                        <code class="param-name">force</code>
9328
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9329
 
                    
9330
 
 
9331
 
                    
9332
 
 
9333
 
                    <div class="param-description">
9334
 
                        <p>If true, allows the caller to set values for 
9335
 
readOnly or writeOnce attributes which have already been set.</p>
9336
 
                    </div>
9337
 
 
9338
 
                    
9339
 
                </li>
9340
 
            
9341
 
            </ul>
9342
 
        </div>
9343
 
    
9344
 
 
9345
 
    
9346
 
        <div class="returns">
9347
 
            <h4>Returns:</h4>
9348
 
 
9349
 
            <div class="returns-description">
9350
 
                
9351
 
                    
9352
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9353
 
                    
9354
 
                    A reference to the host object.
9355
 
                
9356
 
            </div>
9357
 
        </div>
9358
 
    
9359
 
 
9360
 
    
9361
 
</div>
9362
 
 
9363
 
                
9364
 
                    <div id="method__setAttrs" class="method item protected inherited">
9365
 
    <h3 class="name"><code>_setAttrs</code></h3>
9366
 
 
9367
 
    
9368
 
        <div class="args">
9369
 
            <span class="paren">(</span><ul class="args-list inline commas">
9370
 
            
9371
 
                <li class="arg">
9372
 
                    
9373
 
                        <code>attrs</code>
9374
 
                    
9375
 
                </li>
9376
 
            
9377
 
            </ul><span class="paren">)</span>
9378
 
        </div>
9379
 
    
9380
 
 
9381
 
    
9382
 
        <span class="returns-inline">
9383
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9384
 
        </span>
9385
 
    
9386
 
 
9387
 
    
9388
 
 
9389
 
    
9390
 
        <span class="flag protected">protected</span>
9391
 
    
9392
 
 
9393
 
    
9394
 
 
9395
 
    
9396
 
 
9397
 
    
9398
 
        <span class="flag chainable">chainable</span>
9399
 
    
9400
 
 
9401
 
    <div class="meta">
9402
 
        
9403
 
            
9404
 
                <p>Inherited from
9405
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__setAttrs">AttributeCore</a>:
9406
 
            
9407
 
        
9408
 
        
9409
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l647"><code>attribute&#x2F;js&#x2F;AttributeCore.js:647</code></a>
9410
 
        
9411
 
        </p>
9412
 
 
9413
 
 
9414
 
        
9415
 
 
9416
 
        
9417
 
    </div>
9418
 
 
9419
 
    <div class="description">
9420
 
        <p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
9421
 
    </div>
9422
 
 
9423
 
    
9424
 
        <div class="params">
9425
 
            <h4>Parameters:</h4>
9426
 
 
9427
 
            <ul class="params-list">
9428
 
            
9429
 
                <li class="param">
9430
 
                    
9431
 
                        <code class="param-name">attrs</code>
9432
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9433
 
                    
9434
 
 
9435
 
                    
9436
 
 
9437
 
                    <div class="param-description">
9438
 
                        <p>An object with attributes name/value pairs.</p>
9439
 
                    </div>
9440
 
 
9441
 
                    
9442
 
                </li>
9443
 
            
9444
 
            </ul>
9445
 
        </div>
9446
 
    
9447
 
 
9448
 
    
9449
 
        <div class="returns">
9450
 
            <h4>Returns:</h4>
9451
 
 
9452
 
            <div class="returns-description">
9453
 
                
9454
 
                    
9455
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9456
 
                    
9457
 
                    A reference to the host object.
9458
 
                
9459
 
            </div>
9460
 
        </div>
9461
 
    
9462
 
 
9463
 
    
9464
 
</div>
9465
 
 
9466
 
                
9467
 
                    <div id="method__setAttrVal" class="method item private inherited">
9468
 
    <h3 class="name"><code>_setAttrVal</code></h3>
9469
 
 
9470
 
    
9471
 
        <div class="args">
9472
 
            <span class="paren">(</span><ul class="args-list inline commas">
9473
 
            
9474
 
                <li class="arg">
9475
 
                    
9476
 
                        <code>attrName</code>
9477
 
                    
9478
 
                </li>
9479
 
            
9480
 
                <li class="arg">
9481
 
                    
9482
 
                        <code>subAttrName</code>
9483
 
                    
9484
 
                </li>
9485
 
            
9486
 
                <li class="arg">
9487
 
                    
9488
 
                        <code>prevVal</code>
9489
 
                    
9490
 
                </li>
9491
 
            
9492
 
                <li class="arg">
9493
 
                    
9494
 
                        <code>newVal</code>
9495
 
                    
9496
 
                </li>
9497
 
            
9498
 
            </ul><span class="paren">)</span>
9499
 
        </div>
9500
 
    
9501
 
 
9502
 
    
9503
 
        <span class="returns-inline">
9504
 
            <span class="type">Booolean</span>
9505
 
        </span>
9506
 
    
9507
 
 
9508
 
    
9509
 
 
9510
 
    
9511
 
        <span class="flag private">private</span>
9512
 
    
9513
 
 
9514
 
    
9515
 
 
9516
 
    
9517
 
 
9518
 
    
9519
 
 
9520
 
    <div class="meta">
9521
 
        
9522
 
            
9523
 
                <p>Inherited from
9524
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__setAttrVal">AttributeCore</a>:
9525
 
            
9526
 
        
9527
 
        
9528
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l554"><code>attribute&#x2F;js&#x2F;AttributeCore.js:554</code></a>
9529
 
        
9530
 
        </p>
9531
 
 
9532
 
 
9533
 
        
9534
 
 
9535
 
        
9536
 
    </div>
9537
 
 
9538
 
    <div class="description">
9539
 
        <p>Updates the stored value of the attribute in the privately held State object,
9540
 
if validation and setter passes.</p>
9541
 
    </div>
9542
 
 
9543
 
    
9544
 
        <div class="params">
9545
 
            <h4>Parameters:</h4>
9546
 
 
9547
 
            <ul class="params-list">
9548
 
            
9549
 
                <li class="param">
9550
 
                    
9551
 
                        <code class="param-name">attrName</code>
9552
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9553
 
                    
9554
 
 
9555
 
                    
9556
 
 
9557
 
                    <div class="param-description">
9558
 
                        <p>The attribute name.</p>
9559
 
                    </div>
9560
 
 
9561
 
                    
9562
 
                </li>
9563
 
            
9564
 
                <li class="param">
9565
 
                    
9566
 
                        <code class="param-name">subAttrName</code>
9567
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9568
 
                    
9569
 
 
9570
 
                    
9571
 
 
9572
 
                    <div class="param-description">
9573
 
                        <p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
9574
 
                    </div>
9575
 
 
9576
 
                    
9577
 
                </li>
9578
 
            
9579
 
                <li class="param">
9580
 
                    
9581
 
                        <code class="param-name">prevVal</code>
9582
 
                        <span class="type">Any</span>
9583
 
                    
9584
 
 
9585
 
                    
9586
 
 
9587
 
                    <div class="param-description">
9588
 
                        <p>The currently stored value of the attribute.</p>
9589
 
                    </div>
9590
 
 
9591
 
                    
9592
 
                </li>
9593
 
            
9594
 
                <li class="param">
9595
 
                    
9596
 
                        <code class="param-name">newVal</code>
9597
 
                        <span class="type">Any</span>
9598
 
                    
9599
 
 
9600
 
                    
9601
 
 
9602
 
                    <div class="param-description">
9603
 
                        <p>The value which is going to be stored.</p>
9604
 
                    </div>
9605
 
 
9606
 
                    
9607
 
                </li>
9608
 
            
9609
 
            </ul>
9610
 
        </div>
9611
 
    
9612
 
 
9613
 
    
9614
 
        <div class="returns">
9615
 
            <h4>Returns:</h4>
9616
 
 
9617
 
            <div class="returns-description">
9618
 
                
9619
 
                    
9620
 
                        <span class="type">Booolean</span>:
9621
 
                    
9622
 
                    true if the new attribute value was stored, false if not.
9623
 
                
9624
 
            </div>
9625
 
        </div>
9626
 
    
9627
 
 
9628
 
    
9629
 
</div>
9630
 
 
9631
 
                
9632
 
                    <div id="method__setRoutes" class="method item protected inherited">
9633
 
    <h3 class="name"><code>_setRoutes</code></h3>
9634
 
 
9635
 
    
9636
 
        <div class="args">
9637
 
            <span class="paren">(</span><ul class="args-list inline commas">
9638
 
            
9639
 
                <li class="arg">
9640
 
                    
9641
 
                        <code>routes</code>
9642
 
                    
9643
 
                </li>
9644
 
            
9645
 
            </ul><span class="paren">)</span>
9646
 
        </div>
9647
 
    
9648
 
 
9649
 
    
9650
 
        <span class="returns-inline">
9651
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
9652
 
        </span>
9653
 
    
9654
 
 
9655
 
    
9656
 
 
9657
 
    
9658
 
        <span class="flag protected">protected</span>
9659
 
    
9660
 
 
9661
 
    
9662
 
 
9663
 
    
9664
 
 
9665
 
    
9666
 
 
9667
 
    <div class="meta">
9668
 
        
9669
 
            
9670
 
                <p>Inherited from
9671
 
                <a href="..&#x2F;classes&#x2F;Router.html#method__setRoutes">Router</a>:
9672
 
            
9673
 
        
9674
 
        
9675
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l920"><code>app&#x2F;js&#x2F;router.js:920</code></a>
9676
 
        
9677
 
        </p>
9678
 
 
9679
 
 
9680
 
        
9681
 
 
9682
 
        
9683
 
    </div>
9684
 
 
9685
 
    <div class="description">
9686
 
        <p>Setter for the <code>routes</code> attribute.</p>
9687
 
    </div>
9688
 
 
9689
 
    
9690
 
        <div class="params">
9691
 
            <h4>Parameters:</h4>
9692
 
 
9693
 
            <ul class="params-list">
9694
 
            
9695
 
                <li class="param">
9696
 
                    
9697
 
                        <code class="param-name">routes</code>
9698
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
9699
 
                    
9700
 
 
9701
 
                    
9702
 
 
9703
 
                    <div class="param-description">
9704
 
                        <p>Array of route objects.</p>
9705
 
                    </div>
9706
 
 
9707
 
                    
9708
 
                </li>
9709
 
            
9710
 
            </ul>
9711
 
        </div>
9712
 
    
9713
 
 
9714
 
    
9715
 
        <div class="returns">
9716
 
            <h4>Returns:</h4>
9717
 
 
9718
 
            <div class="returns-description">
9719
 
                
9720
 
                    
9721
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>:
9722
 
                    
9723
 
                    Array of route objects.
9724
 
                
9725
 
            </div>
9726
 
        </div>
9727
 
    
9728
 
 
9729
 
    
9730
 
</div>
9731
 
 
9732
 
                
9733
 
                    <div id="method__setStateVal" class="method item private inherited">
9734
 
    <h3 class="name"><code>_setStateVal</code></h3>
9735
 
 
9736
 
    
9737
 
        <div class="args">
9738
 
            <span class="paren">(</span><ul class="args-list inline commas">
9739
 
            
9740
 
                <li class="arg">
9741
 
                    
9742
 
                        <code>name</code>
9743
 
                    
9744
 
                </li>
9745
 
            
9746
 
                <li class="arg">
9747
 
                    
9748
 
                        <code>value</code>
9749
 
                    
9750
 
                </li>
9751
 
            
9752
 
            </ul><span class="paren">)</span>
9753
 
        </div>
9754
 
    
9755
 
 
9756
 
    
9757
 
 
9758
 
    
9759
 
 
9760
 
    
9761
 
        <span class="flag private">private</span>
9762
 
    
9763
 
 
9764
 
    
9765
 
 
9766
 
    
9767
 
 
9768
 
    
9769
 
 
9770
 
    <div class="meta">
9771
 
        
9772
 
            
9773
 
                <p>Inherited from
9774
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method__setStateVal">AttributeCore</a>:
9775
 
            
9776
 
        
9777
 
        
9778
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l536"><code>attribute&#x2F;js&#x2F;AttributeCore.js:536</code></a>
9779
 
        
9780
 
        </p>
9781
 
 
9782
 
 
9783
 
        
9784
 
 
9785
 
        
9786
 
    </div>
9787
 
 
9788
 
    <div class="description">
9789
 
        <p>Sets the stored value for the attribute, in either the 
9790
 
internal state object, or the state proxy if it exits</p>
9791
 
    </div>
9792
 
 
9793
 
    
9794
 
        <div class="params">
9795
 
            <h4>Parameters:</h4>
9796
 
 
9797
 
            <ul class="params-list">
9798
 
            
9799
 
                <li class="param">
9800
 
                    
9801
 
                        <code class="param-name">name</code>
9802
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9803
 
                    
9804
 
 
9805
 
                    
9806
 
 
9807
 
                    <div class="param-description">
9808
 
                        <p>The name of the attribute</p>
9809
 
                    </div>
9810
 
 
9811
 
                    
9812
 
                </li>
9813
 
            
9814
 
                <li class="param">
9815
 
                    
9816
 
                        <code class="param-name">value</code>
9817
 
                        <span class="type">Any</span>
9818
 
                    
9819
 
 
9820
 
                    
9821
 
 
9822
 
                    <div class="param-description">
9823
 
                        <p>The value of the attribute</p>
9824
 
                    </div>
9825
 
 
9826
 
                    
9827
 
                </li>
9828
 
            
9829
 
            </ul>
9830
 
        </div>
9831
 
    
9832
 
 
9833
 
    
9834
 
 
9835
 
    
9836
 
</div>
9837
 
 
9838
 
                
9839
 
                    <div id="method__setTransitions" class="method item protected inherited">
9840
 
    <h3 class="name"><code>_setTransitions</code></h3>
9841
 
 
9842
 
    
9843
 
        <div class="args">
9844
 
            <span class="paren">(</span><ul class="args-list inline commas">
9845
 
            
9846
 
                <li class="arg">
9847
 
                    
9848
 
                        <code>transitions</code>
9849
 
                    
9850
 
                </li>
9851
 
            
9852
 
            </ul><span class="paren">)</span>
9853
 
        </div>
9854
 
    
9855
 
 
9856
 
    
9857
 
        <span class="returns-inline">
9858
 
            <span class="type">Mixed</span>
9859
 
        </span>
9860
 
    
9861
 
 
9862
 
    
9863
 
 
9864
 
    
9865
 
        <span class="flag protected">protected</span>
9866
 
    
9867
 
 
9868
 
    
9869
 
 
9870
 
    
9871
 
 
9872
 
    
9873
 
 
9874
 
    <div class="meta">
9875
 
        
9876
 
            
9877
 
                <p>Inherited from
9878
 
                <a href="..&#x2F;classes&#x2F;App.Transitions.html#method__setTransitions">App.Transitions</a>:
9879
 
            
9880
 
        
9881
 
        
9882
 
        <a href="..&#x2F;files&#x2F;app_js_app-extensions_app-transitions.js.html#l220"><code>app&#x2F;js&#x2F;app-extensions&#x2F;app-transitions.js:220</code></a>
9883
 
        
9884
 
        </p>
9885
 
 
9886
 
 
9887
 
        
9888
 
 
9889
 
        
9890
 
            <p>Available since 3.5.0</p>
9891
 
        
9892
 
    </div>
9893
 
 
9894
 
    <div class="description">
9895
 
        <p>Setter for <code>transitions</code> attribute.</p>
9896
 
 
9897
 
<p>When specified as <code>true</code>, the defaults will be use as specified by the
9898
 
<code>transitions</code> prototype property.</p>
9899
 
    </div>
9900
 
 
9901
 
    
9902
 
        <div class="params">
9903
 
            <h4>Parameters:</h4>
9904
 
 
9905
 
            <ul class="params-list">
9906
 
            
9907
 
                <li class="param">
9908
 
                    
9909
 
                        <code class="param-name">transitions</code>
9910
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9911
 
                    
9912
 
 
9913
 
                    
9914
 
 
9915
 
                    <div class="param-description">
9916
 
                        <p>The new <code>transitions</code> attribute value.</p>
9917
 
                    </div>
9918
 
 
9919
 
                    
9920
 
                </li>
9921
 
            
9922
 
            </ul>
9923
 
        </div>
9924
 
    
9925
 
 
9926
 
    
9927
 
        <div class="returns">
9928
 
            <h4>Returns:</h4>
9929
 
 
9930
 
            <div class="returns-description">
9931
 
                
9932
 
                    
9933
 
                        <span class="type">Mixed</span>:
9934
 
                    
9935
 
                    The processed value which represents the new state.
9936
 
                
9937
 
            </div>
9938
 
        </div>
9939
 
    
9940
 
 
9941
 
    
9942
 
</div>
9943
 
 
9944
 
                
9945
 
                    <div id="method__uiSetActiveView" class="method item protected inherited">
9946
 
    <h3 class="name"><code>_uiSetActiveView</code></h3>
9947
 
 
9948
 
    
9949
 
        <div class="args">
9950
 
            <span class="paren">(</span><ul class="args-list inline commas">
9951
 
            
9952
 
                <li class="arg">
9953
 
                    
9954
 
                        <code>newView</code>
9955
 
                    
9956
 
                </li>
9957
 
            
9958
 
                <li class="arg">
9959
 
                    
9960
 
                        <code class="optional">[oldView]</code>
9961
 
                    
9962
 
                </li>
9963
 
            
9964
 
                <li class="arg">
9965
 
                    
9966
 
                        <code class="optional">[options]</code>
9967
 
                    
9968
 
                </li>
9969
 
            
9970
 
            </ul><span class="paren">)</span>
9971
 
        </div>
9972
 
    
9973
 
 
9974
 
    
9975
 
 
9976
 
    
9977
 
 
9978
 
    
9979
 
        <span class="flag protected">protected</span>
9980
 
    
9981
 
 
9982
 
    
9983
 
 
9984
 
    
9985
 
 
9986
 
    
9987
 
 
9988
 
    <div class="meta">
9989
 
        
9990
 
            
9991
 
                <p>Inherited from
9992
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__uiSetActiveView">App.Base</a>:
9993
 
            
9994
 
        
9995
 
        
9996
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l741"><code>app&#x2F;js&#x2F;app-base.js:741</code></a>
9997
 
        
9998
 
        </p>
9999
 
 
10000
 
 
10001
 
        
10002
 
 
10003
 
        
10004
 
            <p>Available since 3.5.0</p>
10005
 
        
10006
 
    </div>
10007
 
 
10008
 
    <div class="description">
10009
 
        <p>Performs the actual change of this app's <code>activeView</code> by attaching the
10010
 
<code>newView</code> to this app, and detaching the <code>oldView</code> from this app using any
10011
 
specified <code>options</code>.</p>
10012
 
 
10013
 
<p>The <code>newView</code> is attached to the app by rendering it to the <code>viewContainer</code>,
10014
 
and making this app a bubble target of its events.</p>
10015
 
 
10016
 
<p>The <code>oldView</code> is detached from the app by removing it from the
10017
 
<code>viewContainer</code>, and removing this app as a bubble target for its events.
10018
 
The <code>oldView</code> will either be preserved or properly destroyed.</p>
10019
 
 
10020
 
<p><strong>Note:</strong> The <code>activeView</code> attribute is read-only and can be changed by
10021
 
calling the <code>showView()</code> method.</p>
10022
 
    </div>
10023
 
 
10024
 
    
10025
 
        <div class="params">
10026
 
            <h4>Parameters:</h4>
10027
 
 
10028
 
            <ul class="params-list">
10029
 
            
10030
 
                <li class="param">
10031
 
                    
10032
 
                        <code class="param-name">newView</code>
10033
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
10034
 
                    
10035
 
 
10036
 
                    
10037
 
 
10038
 
                    <div class="param-description">
10039
 
                        <p>The View which is now this app's <code>activeView</code>.</p>
10040
 
                    </div>
10041
 
 
10042
 
                    
10043
 
                </li>
10044
 
            
10045
 
                <li class="param">
10046
 
                    
10047
 
                        <code class="param-name optional">[oldView]</code>
10048
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
10049
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
10050
 
                    
10051
 
 
10052
 
                    
10053
 
 
10054
 
                    <div class="param-description">
10055
 
                        <p>The View which was this app's <code>activeView</code>.</p>
10056
 
                    </div>
10057
 
 
10058
 
                    
10059
 
                </li>
10060
 
            
10061
 
                <li class="param">
10062
 
                    
10063
 
                        <code class="param-name optional">[options]</code>
10064
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10065
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
10066
 
                    
10067
 
 
10068
 
                    
10069
 
 
10070
 
                    <div class="param-description">
10071
 
                        <p>Optional object containing any of the following
10072
 
    properties:</p>
10073
 
                    </div>
10074
 
 
10075
 
                    
10076
 
                        <ul class="params-list">
10077
 
                            
10078
 
                            <li class="param">
10079
 
                                
10080
 
                                    <code class="param-name optional">[callback]</code>
10081
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
10082
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
10083
 
                                
10084
 
 
10085
 
                                <div class="param-description">
10086
 
                                    <p>Optional callback function to call
10087
 
    after new <code>activeView</code> is ready to use, the function will be passed:</p>
10088
 
                                </div>
10089
 
 
10090
 
                                
10091
 
                                    <ul class="params-list">
10092
 
                                        
10093
 
                                        <li class="param">
10094
 
                                            
10095
 
                                                <code class="param-name">view</code>
10096
 
                                                <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
10097
 
                                            
10098
 
 
10099
 
                                            <div class="param-description">
10100
 
                                                A reference to the new
10101
 
        <code>activeView</code>.
10102
 
                                            </div>
10103
 
                                        </li>
10104
 
                                        
10105
 
                                    </ul>
10106
 
                                
10107
 
                            </li>
10108
 
                            
10109
 
                            <li class="param">
10110
 
                                
10111
 
                                    <code class="param-name optional">[prepend=false]</code>
10112
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10113
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
10114
 
                                
10115
 
 
10116
 
                                <div class="param-description">
10117
 
                                    <p>Whether the <code>view</code> should be
10118
 
    prepended instead of appended to the <code>viewContainer</code>.</p>
10119
 
                                </div>
10120
 
 
10121
 
                                
10122
 
                            </li>
10123
 
                            
10124
 
                            <li class="param">
10125
 
                                
10126
 
                                    <code class="param-name optional">[render]</code>
10127
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10128
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
10129
 
                                
10130
 
 
10131
 
                                <div class="param-description">
10132
 
                                    <p>Whether the <code>view</code> should be rendered.
10133
 
    <strong>Note:</strong> If no value is specified, a view instance will only be
10134
 
    rendered if it's newly created by this method.</p>
10135
 
                                </div>
10136
 
 
10137
 
                                
10138
 
                            </li>
10139
 
                            
10140
 
                            <li class="param">
10141
 
                                
10142
 
                                    <code class="param-name optional">[update=false]</code>
10143
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10144
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
10145
 
                                
10146
 
 
10147
 
                                <div class="param-description">
10148
 
                                    <p>Whether an existing view should
10149
 
    have its attributes updated by passing the <code>config</code> object to its
10150
 
    <code>setAttrs()</code> method. <strong>Note:</strong> This option does not have an effect if
10151
 
    the <code>view</code> instance is created as a result of calling this method.</p>
10152
 
                                </div>
10153
 
 
10154
 
                                
10155
 
                            </li>
10156
 
                            
10157
 
                        </ul>
10158
 
                    
10159
 
                </li>
10160
 
            
10161
 
            </ul>
10162
 
        </div>
10163
 
    
10164
 
 
10165
 
    
10166
 
 
10167
 
    
10168
 
</div>
10169
 
 
10170
 
                
10171
 
                    <div id="method__upgradeURL" class="method item protected inherited">
10172
 
    <h3 class="name"><code>_upgradeURL</code></h3>
10173
 
 
10174
 
    
10175
 
        <div class="args">
10176
 
            <span class="paren">(</span><ul class="args-list inline commas">
10177
 
            
10178
 
                <li class="arg">
10179
 
                    
10180
 
                        <code>url</code>
10181
 
                    
10182
 
                </li>
10183
 
            
10184
 
            </ul><span class="paren">)</span>
10185
 
        </div>
10186
 
    
10187
 
 
10188
 
    
10189
 
        <span class="returns-inline">
10190
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10191
 
        </span>
10192
 
    
10193
 
 
10194
 
    
10195
 
 
10196
 
    
10197
 
        <span class="flag protected">protected</span>
10198
 
    
10199
 
 
10200
 
    
10201
 
 
10202
 
    
10203
 
 
10204
 
    
10205
 
 
10206
 
    <div class="meta">
10207
 
        
10208
 
            
10209
 
                <p>Inherited from
10210
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method__upgradeURL">App.Base</a>:
10211
 
            
10212
 
        
10213
 
        
10214
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l797"><code>app&#x2F;js&#x2F;app-base.js:797</code></a>
10215
 
        
10216
 
        </p>
10217
 
 
10218
 
 
10219
 
        
10220
 
 
10221
 
        
10222
 
            <p>Available since 3.5.0</p>
10223
 
        
10224
 
    </div>
10225
 
 
10226
 
    <div class="description">
10227
 
        <p>Upgrades a hash-based URL to a full-path URL, if necessary.</p>
10228
 
 
10229
 
<p>The specified <code>url</code> will be upgraded if its of the same origin as the
10230
 
current URL and has a path-like hash. URLs that don't need upgrading will be
10231
 
returned as-is.</p>
10232
 
    </div>
10233
 
 
10234
 
    
10235
 
        <div class="params">
10236
 
            <h4>Parameters:</h4>
10237
 
 
10238
 
            <ul class="params-list">
10239
 
            
10240
 
                <li class="param">
10241
 
                    
10242
 
                        <code class="param-name">url</code>
10243
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10244
 
                    
10245
 
 
10246
 
                    
10247
 
 
10248
 
                    <div class="param-description">
10249
 
                        <p>The URL to upgrade from hash-based to full-path.</p>
10250
 
                    </div>
10251
 
 
10252
 
                    
10253
 
                </li>
10254
 
            
10255
 
            </ul>
10256
 
        </div>
10257
 
    
10258
 
 
10259
 
    
10260
 
        <div class="returns">
10261
 
            <h4>Returns:</h4>
10262
 
 
10263
 
            <div class="returns-description">
10264
 
                
10265
 
                    
10266
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
10267
 
                    
10268
 
                    The upgraded URL, or the specified URL untouched.
10269
 
                
10270
 
            </div>
10271
 
        </div>
10272
 
    
10273
 
 
10274
 
    
10275
 
        <div class="example">
10276
 
            <h4>Example:</h4>
10277
 
 
10278
 
            <div class="example-content">
10279
 
                <pre class="code"><code class="prettyprint">app._upgradeURL('http://example.com/#/foo/'); // =&gt; 'http://example.com/foo/';
10280
 
</code></pre>
10281
 
            </div>
10282
 
        </div>
10283
 
    
10284
 
</div>
10285
 
 
10286
 
                
10287
 
                    <div id="method_addAttr" class="method item inherited">
10288
 
    <h3 class="name"><code>addAttr</code></h3>
10289
 
 
10290
 
    
10291
 
        <div class="args">
10292
 
            <span class="paren">(</span><ul class="args-list inline commas">
10293
 
            
10294
 
                <li class="arg">
10295
 
                    
10296
 
                        <code>name</code>
10297
 
                    
10298
 
                </li>
10299
 
            
10300
 
                <li class="arg">
10301
 
                    
10302
 
                        <code>config</code>
10303
 
                    
10304
 
                </li>
10305
 
            
10306
 
                <li class="arg">
10307
 
                    
10308
 
                        <code>lazy</code>
10309
 
                    
10310
 
                </li>
10311
 
            
10312
 
            </ul><span class="paren">)</span>
10313
 
        </div>
10314
 
    
10315
 
 
10316
 
    
10317
 
        <span class="returns-inline">
10318
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10319
 
        </span>
10320
 
    
10321
 
 
10322
 
    
10323
 
 
10324
 
    
10325
 
 
10326
 
    
10327
 
 
10328
 
    
10329
 
 
10330
 
    
10331
 
        <span class="flag chainable">chainable</span>
10332
 
    
10333
 
 
10334
 
    <div class="meta">
10335
 
        
10336
 
            
10337
 
                <p>Inherited from
10338
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method_addAttr">AttributeCore</a>:
10339
 
            
10340
 
        
10341
 
        
10342
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l124"><code>attribute&#x2F;js&#x2F;AttributeCore.js:124</code></a>
10343
 
        
10344
 
        </p>
10345
 
 
10346
 
 
10347
 
        
10348
 
 
10349
 
        
10350
 
    </div>
10351
 
 
10352
 
    <div class="description">
10353
 
        <p>
10354
 
Adds an attribute with the provided configuration to the host object.
10355
 
</p>
10356
 
 
10357
 
<p>
10358
 
The config argument object supports the following properties:
10359
 
</p>
10360
 
 
10361
 
<dl>
10362
 
   <dt>value &#60;Any&#62;</dt>
10363
 
   <dd>The initial value to set on the attribute</dd>
10364
 
 
10365
 
   <dt>valueFn &#60;Function | String&#62;</dt>
10366
 
   <dd>
10367
 
   <p>A function, which will return the initial value to set on the attribute. This is useful
10368
 
   for cases where the attribute configuration is defined statically, but needs to 
10369
 
   reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined, 
10370
 
   the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which 
10371
 
   case the value property is used.</p>
10372
 
 
10373
 
   <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
10374
 
   </dd>
10375
 
 
10376
 
   <dt>readOnly &#60;boolean&#62;</dt>
10377
 
   <dd>Whether or not the attribute is read only. Attributes having readOnly set to true
10378
 
       cannot be modified by invoking the set method.</dd>
10379
 
 
10380
 
   <dt>writeOnce &#60;boolean&#62; or &#60;string&#62;</dt>
10381
 
   <dd>
10382
 
       Whether or not the attribute is "write once". Attributes having writeOnce set to true, 
10383
 
       can only have their values set once, be it through the default configuration, 
10384
 
       constructor configuration arguments, or by invoking set.
10385
 
       <p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization
10386
 
       (when used with Base, this means it can only be set during construction)</p>
10387
 
   </dd>
10388
 
 
10389
 
   <dt>setter &#60;Function | String&#62;</dt>
10390
 
   <dd>
10391
 
   <p>The setter function used to massage or normalize the value passed to the set method for the attribute. 
10392
 
   The value returned by the setter will be the final stored value. Returning
10393
 
   <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
10394
 
   the value from being stored.
10395
 
   </p>
10396
 
 
10397
 
   <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
10398
 
   </dd>
10399
 
 
10400
 
   <dt>getter &#60;Function | String&#62;</dt>
10401
 
   <dd>
10402
 
   <p>
10403
 
   The getter function used to massage or normalize the value returned by the get method for the attribute.
10404
 
   The value returned by the getter function is the value which will be returned to the user when they 
10405
 
   invoke get.
10406
 
   </p>
10407
 
 
10408
 
   <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
10409
 
   </dd>
10410
 
 
10411
 
   <dt>validator &#60;Function | String&#62;</dt>
10412
 
   <dd>
10413
 
   <p>
10414
 
   The validator function invoked prior to setting the stored value. Returning
10415
 
   false from the validator function will prevent the value from being stored.
10416
 
   </p>
10417
 
 
10418
 
   <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
10419
 
   </dd>
10420
 
 
10421
 
   <dt>lazyAdd &#60;boolean&#62;</dt>
10422
 
   <dd>Whether or not to delay initialization of the attribute until the first call to get/set it. 
10423
 
   This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through 
10424
 
   the <a href="#method_addAttrs">addAttrs</a> method.</dd>
10425
 
 
10426
 
</dl>
10427
 
 
10428
 
<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
10429
 
the context ("this") set to the host object.</p>
10430
 
 
10431
 
<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute, 
10432
 
and are not intended for public use.</p>
10433
 
    </div>
10434
 
 
10435
 
    
10436
 
        <div class="params">
10437
 
            <h4>Parameters:</h4>
10438
 
 
10439
 
            <ul class="params-list">
10440
 
            
10441
 
                <li class="param">
10442
 
                    
10443
 
                        <code class="param-name">name</code>
10444
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10445
 
                    
10446
 
 
10447
 
                    
10448
 
 
10449
 
                    <div class="param-description">
10450
 
                        <p>The name of the attribute.</p>
10451
 
                    </div>
10452
 
 
10453
 
                    
10454
 
                </li>
10455
 
            
10456
 
                <li class="param">
10457
 
                    
10458
 
                        <code class="param-name">config</code>
10459
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10460
 
                    
10461
 
 
10462
 
                    
10463
 
 
10464
 
                    <div class="param-description">
10465
 
                        <p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>
10466
 
 
10467
 
<p>
10468
 
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need 
10469
 
to protect the original values, you will need to merge the object.
10470
 
</p>
10471
 
                    </div>
10472
 
 
10473
 
                    
10474
 
                </li>
10475
 
            
10476
 
                <li class="param">
10477
 
                    
10478
 
                        <code class="param-name">lazy</code>
10479
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10480
 
                    
10481
 
 
10482
 
                    
10483
 
 
10484
 
                    <div class="param-description">
10485
 
                        <p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
10486
 
                    </div>
10487
 
 
10488
 
                    
10489
 
                </li>
10490
 
            
10491
 
            </ul>
10492
 
        </div>
10493
 
    
10494
 
 
10495
 
    
10496
 
        <div class="returns">
10497
 
            <h4>Returns:</h4>
10498
 
 
10499
 
            <div class="returns-description">
10500
 
                
10501
 
                    
10502
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10503
 
                    
10504
 
                    A reference to the host object.
10505
 
                
10506
 
            </div>
10507
 
        </div>
10508
 
    
10509
 
 
10510
 
    
10511
 
</div>
10512
 
 
10513
 
                
10514
 
                    <div id="method_addAttrs" class="method item inherited">
10515
 
    <h3 class="name"><code>addAttrs</code></h3>
10516
 
 
10517
 
    
10518
 
        <div class="args">
10519
 
            <span class="paren">(</span><ul class="args-list inline commas">
10520
 
            
10521
 
                <li class="arg">
10522
 
                    
10523
 
                        <code>cfgs</code>
10524
 
                    
10525
 
                </li>
10526
 
            
10527
 
                <li class="arg">
10528
 
                    
10529
 
                        <code>values</code>
10530
 
                    
10531
 
                </li>
10532
 
            
10533
 
                <li class="arg">
10534
 
                    
10535
 
                        <code>lazy</code>
10536
 
                    
10537
 
                </li>
10538
 
            
10539
 
            </ul><span class="paren">)</span>
10540
 
        </div>
10541
 
    
10542
 
 
10543
 
    
10544
 
        <span class="returns-inline">
10545
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10546
 
        </span>
10547
 
    
10548
 
 
10549
 
    
10550
 
 
10551
 
    
10552
 
 
10553
 
    
10554
 
 
10555
 
    
10556
 
 
10557
 
    
10558
 
        <span class="flag chainable">chainable</span>
10559
 
    
10560
 
 
10561
 
    <div class="meta">
10562
 
        
10563
 
            
10564
 
                <p>Inherited from
10565
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method_addAttrs">AttributeCore</a>:
10566
 
            
10567
 
        
10568
 
        
10569
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l708"><code>attribute&#x2F;js&#x2F;AttributeCore.js:708</code></a>
10570
 
        
10571
 
        </p>
10572
 
 
10573
 
 
10574
 
        
10575
 
 
10576
 
        
10577
 
    </div>
10578
 
 
10579
 
    <div class="description">
10580
 
        <p>Configures a group of attributes, and sets initial values.</p>
10581
 
 
10582
 
<p>
10583
 
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning. 
10584
 
The caller is responsible for merging/cloning the configuration object if required.
10585
 
</p>
10586
 
    </div>
10587
 
 
10588
 
    
10589
 
        <div class="params">
10590
 
            <h4>Parameters:</h4>
10591
 
 
10592
 
            <ul class="params-list">
10593
 
            
10594
 
                <li class="param">
10595
 
                    
10596
 
                        <code class="param-name">cfgs</code>
10597
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10598
 
                    
10599
 
 
10600
 
                    
10601
 
 
10602
 
                    <div class="param-description">
10603
 
                        <p>An object with attribute name/configuration pairs.</p>
10604
 
                    </div>
10605
 
 
10606
 
                    
10607
 
                </li>
10608
 
            
10609
 
                <li class="param">
10610
 
                    
10611
 
                        <code class="param-name">values</code>
10612
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10613
 
                    
10614
 
 
10615
 
                    
10616
 
 
10617
 
                    <div class="param-description">
10618
 
                        <p>An object with attribute name/value pairs, defining the initial values to apply.
10619
 
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
10620
 
                    </div>
10621
 
 
10622
 
                    
10623
 
                </li>
10624
 
            
10625
 
                <li class="param">
10626
 
                    
10627
 
                        <code class="param-name">lazy</code>
10628
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10629
 
                    
10630
 
 
10631
 
                    
10632
 
 
10633
 
                    <div class="param-description">
10634
 
                        <p>Whether or not to delay the intialization of these attributes until the first call to get/set.
10635
 
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
10636
 
See <a href="#method_addAttr">addAttr</a>.</p>
10637
 
                    </div>
10638
 
 
10639
 
                    
10640
 
                </li>
10641
 
            
10642
 
            </ul>
10643
 
        </div>
10644
 
    
10645
 
 
10646
 
    
10647
 
        <div class="returns">
10648
 
            <h4>Returns:</h4>
10649
 
 
10650
 
            <div class="returns-description">
10651
 
                
10652
 
                    
10653
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10654
 
                    
10655
 
                    A reference to the host object.
10656
 
                
10657
 
            </div>
10658
 
        </div>
10659
 
    
10660
 
 
10661
 
    
10662
 
</div>
10663
 
 
10664
 
                
10665
 
                    <div id="method_addTarget" class="method item inherited">
10666
 
    <h3 class="name"><code>addTarget</code></h3>
10667
 
 
10668
 
    
10669
 
        <div class="args">
10670
 
            <span class="paren">(</span><ul class="args-list inline commas">
10671
 
            
10672
 
                <li class="arg">
10673
 
                    
10674
 
                        <code>o</code>
10675
 
                    
10676
 
                </li>
10677
 
            
10678
 
            </ul><span class="paren">)</span>
10679
 
        </div>
10680
 
    
10681
 
 
10682
 
    
10683
 
 
10684
 
    
10685
 
 
10686
 
    
10687
 
 
10688
 
    
10689
 
 
10690
 
    
10691
 
 
10692
 
    
10693
 
 
10694
 
    <div class="meta">
10695
 
        
10696
 
            
10697
 
                <p>Inherited from
10698
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_addTarget">EventTarget</a>:
10699
 
            
10700
 
        
10701
 
        
10702
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-facade.js.html#l382"><code>event-custom&#x2F;js&#x2F;event-facade.js:382</code></a>
10703
 
        
10704
 
        </p>
10705
 
 
10706
 
 
10707
 
        
10708
 
 
10709
 
        
10710
 
    </div>
10711
 
 
10712
 
    <div class="description">
10713
 
        <p>Registers another EventTarget as a bubble target.  Bubble order
10714
 
is determined by the order registered.  Multiple targets can
10715
 
be specified.</p>
10716
 
 
10717
 
<p>Events can only bubble if emitFacade is true.</p>
10718
 
 
10719
 
<p>Included in the event-custom-complex submodule.</p>
10720
 
    </div>
10721
 
 
10722
 
    
10723
 
        <div class="params">
10724
 
            <h4>Parameters:</h4>
10725
 
 
10726
 
            <ul class="params-list">
10727
 
            
10728
 
                <li class="param">
10729
 
                    
10730
 
                        <code class="param-name">o</code>
10731
 
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
10732
 
                    
10733
 
 
10734
 
                    
10735
 
 
10736
 
                    <div class="param-description">
10737
 
                        <p>the target to add</p>
10738
 
                    </div>
10739
 
 
10740
 
                    
10741
 
                </li>
10742
 
            
10743
 
            </ul>
10744
 
        </div>
10745
 
    
10746
 
 
10747
 
    
10748
 
 
10749
 
    
10750
 
</div>
10751
 
 
10752
 
                
10753
 
                    <div id="method_after" class="method item inherited">
10754
 
    <h3 class="name"><code>after</code></h3>
10755
 
 
10756
 
    
10757
 
        <div class="args">
10758
 
            <span class="paren">(</span><ul class="args-list inline commas">
10759
 
            
10760
 
                <li class="arg">
10761
 
                    
10762
 
                        <code>type</code>
10763
 
                    
10764
 
                </li>
10765
 
            
10766
 
                <li class="arg">
10767
 
                    
10768
 
                        <code>fn</code>
10769
 
                    
10770
 
                </li>
10771
 
            
10772
 
                <li class="arg">
10773
 
                    
10774
 
                        <code class="optional">[context]</code>
10775
 
                    
10776
 
                </li>
10777
 
            
10778
 
                <li class="arg">
10779
 
                    
10780
 
                        <code class="optional">[arg*]</code>
10781
 
                    
10782
 
                </li>
10783
 
            
10784
 
            </ul><span class="paren">)</span>
10785
 
        </div>
10786
 
    
10787
 
 
10788
 
    
10789
 
        <span class="returns-inline">
10790
 
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
10791
 
        </span>
10792
 
    
10793
 
 
10794
 
    
10795
 
 
10796
 
    
10797
 
 
10798
 
    
10799
 
 
10800
 
    
10801
 
 
10802
 
    
10803
 
 
10804
 
    <div class="meta">
10805
 
        
10806
 
            
10807
 
                <p>Inherited from
10808
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_after">EventTarget</a>:
10809
 
            
10810
 
        
10811
 
        
10812
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l730"><code>event-custom&#x2F;js&#x2F;event-target.js:730</code></a>
10813
 
        
10814
 
        </p>
10815
 
 
10816
 
 
10817
 
        
10818
 
 
10819
 
        
10820
 
    </div>
10821
 
 
10822
 
    <div class="description">
10823
 
        <p>Subscribe to a custom event hosted by this object.  The
10824
 
supplied callback will execute after any listeners add
10825
 
via the subscribe method, and after the default function,
10826
 
if configured for the event, has executed.</p>
10827
 
    </div>
10828
 
 
10829
 
    
10830
 
        <div class="params">
10831
 
            <h4>Parameters:</h4>
10832
 
 
10833
 
            <ul class="params-list">
10834
 
            
10835
 
                <li class="param">
10836
 
                    
10837
 
                        <code class="param-name">type</code>
10838
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10839
 
                    
10840
 
 
10841
 
                    
10842
 
 
10843
 
                    <div class="param-description">
10844
 
                        <p>The name of the event</p>
10845
 
                    </div>
10846
 
 
10847
 
                    
10848
 
                </li>
10849
 
            
10850
 
                <li class="param">
10851
 
                    
10852
 
                        <code class="param-name">fn</code>
10853
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
10854
 
                    
10855
 
 
10856
 
                    
10857
 
 
10858
 
                    <div class="param-description">
10859
 
                        <p>The callback to execute in response to the event</p>
10860
 
                    </div>
10861
 
 
10862
 
                    
10863
 
                </li>
10864
 
            
10865
 
                <li class="param">
10866
 
                    
10867
 
                        <code class="param-name optional">[context]</code>
10868
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10869
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
10870
 
                    
10871
 
 
10872
 
                    
10873
 
 
10874
 
                    <div class="param-description">
10875
 
                        <p>Override <code>this</code> object in callback</p>
10876
 
                    </div>
10877
 
 
10878
 
                    
10879
 
                </li>
10880
 
            
10881
 
                <li class="param">
10882
 
                    
10883
 
                        <code class="param-name optional">[arg*]</code>
10884
 
                        <span class="type">Any</span>
10885
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
10886
 
                    
10887
 
 
10888
 
                    
10889
 
 
10890
 
                    <div class="param-description">
10891
 
                        <p>0..n additional arguments to supply to the subscriber</p>
10892
 
                    </div>
10893
 
 
10894
 
                    
10895
 
                </li>
10896
 
            
10897
 
            </ul>
10898
 
        </div>
10899
 
    
10900
 
 
10901
 
    
10902
 
        <div class="returns">
10903
 
            <h4>Returns:</h4>
10904
 
 
10905
 
            <div class="returns-description">
10906
 
                
10907
 
                    
10908
 
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
10909
 
                    
10910
 
                    A subscription handle capable of detaching the
10911
 
                      subscription
10912
 
                
10913
 
            </div>
10914
 
        </div>
10915
 
    
10916
 
 
10917
 
    
10918
 
</div>
10919
 
 
10920
 
                
10921
 
                    <div id="method_attachEvents" class="method item inherited">
10922
 
    <h3 class="name"><code>attachEvents</code></h3>
10923
 
 
10924
 
    
10925
 
        <div class="args">
10926
 
            <span class="paren">(</span><ul class="args-list inline commas">
10927
 
            
10928
 
                <li class="arg">
10929
 
                    
10930
 
                        <code class="optional">[events]</code>
10931
 
                    
10932
 
                </li>
10933
 
            
10934
 
            </ul><span class="paren">)</span>
10935
 
        </div>
10936
 
    
10937
 
 
10938
 
    
10939
 
 
10940
 
    
10941
 
 
10942
 
    
10943
 
 
10944
 
    
10945
 
 
10946
 
    
10947
 
 
10948
 
    
10949
 
        <span class="flag chainable">chainable</span>
10950
 
    
10951
 
 
10952
 
    <div class="meta">
10953
 
        
10954
 
            
10955
 
                <p>Inherited from
10956
 
                <a href="..&#x2F;classes&#x2F;View.html#method_attachEvents">View</a>:
10957
 
            
10958
 
        
10959
 
        
10960
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l181"><code>app&#x2F;js&#x2F;view.js:181</code></a>
10961
 
        
10962
 
        </p>
10963
 
 
10964
 
 
10965
 
        
10966
 
 
10967
 
        
10968
 
    </div>
10969
 
 
10970
 
    <div class="description">
10971
 
        <p>Attaches delegated event handlers to this view's container element. This
10972
 
method is called internally to subscribe to events configured in the
10973
 
<code>events</code> attribute when the view is initialized.</p>
10974
 
 
10975
 
<p>You may override this method to customize the event attaching logic.</p>
10976
 
    </div>
10977
 
 
10978
 
    
10979
 
        <div class="params">
10980
 
            <h4>Parameters:</h4>
10981
 
 
10982
 
            <ul class="params-list">
10983
 
            
10984
 
                <li class="param">
10985
 
                    
10986
 
                        <code class="param-name optional">[events]</code>
10987
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10988
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
10989
 
                    
10990
 
 
10991
 
                    
10992
 
 
10993
 
                    <div class="param-description">
10994
 
                        <p>Hash of events to attach. See the docs for the
10995
 
    <code>events</code> attribute for details on the format. If not specified, this
10996
 
    view's <code>events</code> property will be used.</p>
10997
 
                    </div>
10998
 
 
10999
 
                    
11000
 
                </li>
11001
 
            
11002
 
            </ul>
11003
 
        </div>
11004
 
    
11005
 
 
11006
 
    
11007
 
 
11008
 
    
11009
 
</div>
11010
 
 
11011
 
                
11012
 
                    <div id="method_attrAdded" class="method item inherited">
11013
 
    <h3 class="name"><code>attrAdded</code></h3>
11014
 
 
11015
 
    
11016
 
        <div class="args">
11017
 
            <span class="paren">(</span><ul class="args-list inline commas">
11018
 
            
11019
 
                <li class="arg">
11020
 
                    
11021
 
                        <code>name</code>
11022
 
                    
11023
 
                </li>
11024
 
            
11025
 
            </ul><span class="paren">)</span>
11026
 
        </div>
11027
 
    
11028
 
 
11029
 
    
11030
 
        <span class="returns-inline">
11031
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11032
 
        </span>
11033
 
    
11034
 
 
11035
 
    
11036
 
 
11037
 
    
11038
 
 
11039
 
    
11040
 
 
11041
 
    
11042
 
 
11043
 
    
11044
 
 
11045
 
    <div class="meta">
11046
 
        
11047
 
            
11048
 
                <p>Inherited from
11049
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method_attrAdded">AttributeCore</a>:
11050
 
            
11051
 
        
11052
 
        
11053
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l272"><code>attribute&#x2F;js&#x2F;AttributeCore.js:272</code></a>
11054
 
        
11055
 
        </p>
11056
 
 
11057
 
 
11058
 
        
11059
 
 
11060
 
        
11061
 
    </div>
11062
 
 
11063
 
    <div class="description">
11064
 
        <p>Checks if the given attribute has been added to the host</p>
11065
 
    </div>
11066
 
 
11067
 
    
11068
 
        <div class="params">
11069
 
            <h4>Parameters:</h4>
11070
 
 
11071
 
            <ul class="params-list">
11072
 
            
11073
 
                <li class="param">
11074
 
                    
11075
 
                        <code class="param-name">name</code>
11076
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11077
 
                    
11078
 
 
11079
 
                    
11080
 
 
11081
 
                    <div class="param-description">
11082
 
                        <p>The name of the attribute to check.</p>
11083
 
                    </div>
11084
 
 
11085
 
                    
11086
 
                </li>
11087
 
            
11088
 
            </ul>
11089
 
        </div>
11090
 
    
11091
 
 
11092
 
    
11093
 
        <div class="returns">
11094
 
            <h4>Returns:</h4>
11095
 
 
11096
 
            <div class="returns-description">
11097
 
                
11098
 
                    
11099
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
11100
 
                    
11101
 
                    true if an attribute with the given name has been added, false if it hasn't. This method will return true for lazily added attributes.
11102
 
                
11103
 
            </div>
11104
 
        </div>
11105
 
    
11106
 
 
11107
 
    
11108
 
</div>
11109
 
 
11110
 
                
11111
 
                    <div id="method_before" class="method item inherited">
11112
 
    <h3 class="name"><code>before</code></h3>
11113
 
 
11114
 
    
11115
 
        <span class="paren">()</span>
11116
 
    
11117
 
 
11118
 
    
11119
 
        <span class="returns-inline">
11120
 
            <span class="type"></span>
11121
 
        </span>
11122
 
    
11123
 
 
11124
 
    
11125
 
 
11126
 
    
11127
 
 
11128
 
    
11129
 
 
11130
 
    
11131
 
 
11132
 
    
11133
 
 
11134
 
    <div class="meta">
11135
 
        
11136
 
            
11137
 
                <p>Inherited from
11138
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_before">EventTarget</a>:
11139
 
            
11140
 
        
11141
 
        
11142
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l767"><code>event-custom&#x2F;js&#x2F;event-target.js:767</code></a>
11143
 
        
11144
 
        </p>
11145
 
 
11146
 
 
11147
 
        
11148
 
 
11149
 
        
11150
 
    </div>
11151
 
 
11152
 
    <div class="description">
11153
 
        <p>Executes the callback before a DOM event, custom event
11154
 
or method.  If the first argument is a function, it
11155
 
is assumed the target is a method.  For DOM and custom
11156
 
events, this is an alias for Y.on.</p>
11157
 
 
11158
 
<p>For DOM and custom events:
11159
 
type, callback, context, 0-n arguments</p>
11160
 
 
11161
 
<p>For methods:
11162
 
callback, object (method host), methodName, context, 0-n arguments</p>
11163
 
    </div>
11164
 
 
11165
 
    
11166
 
 
11167
 
    
11168
 
        <div class="returns">
11169
 
            <h4>Returns:</h4>
11170
 
 
11171
 
            <div class="returns-description">
11172
 
                
11173
 
                    
11174
 
                    detach handle
11175
 
                
11176
 
            </div>
11177
 
        </div>
11178
 
    
11179
 
 
11180
 
    
11181
 
</div>
11182
 
 
11183
 
                
11184
 
                    <div id="method_bubble" class="method item inherited">
11185
 
    <h3 class="name"><code>bubble</code></h3>
11186
 
 
11187
 
    
11188
 
        <div class="args">
11189
 
            <span class="paren">(</span><ul class="args-list inline commas">
11190
 
            
11191
 
                <li class="arg">
11192
 
                    
11193
 
                        <code>evt</code>
11194
 
                    
11195
 
                </li>
11196
 
            
11197
 
            </ul><span class="paren">)</span>
11198
 
        </div>
11199
 
    
11200
 
 
11201
 
    
11202
 
        <span class="returns-inline">
11203
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11204
 
        </span>
11205
 
    
11206
 
 
11207
 
    
11208
 
 
11209
 
    
11210
 
 
11211
 
    
11212
 
 
11213
 
    
11214
 
 
11215
 
    
11216
 
 
11217
 
    <div class="meta">
11218
 
        
11219
 
            
11220
 
                <p>Inherited from
11221
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_bubble">EventTarget</a>:
11222
 
            
11223
 
        
11224
 
        
11225
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-facade.js.html#l419"><code>event-custom&#x2F;js&#x2F;event-facade.js:419</code></a>
11226
 
        
11227
 
        </p>
11228
 
 
11229
 
 
11230
 
        
11231
 
 
11232
 
        
11233
 
    </div>
11234
 
 
11235
 
    <div class="description">
11236
 
        <p>Propagate an event.  Requires the event-custom-complex module.</p>
11237
 
    </div>
11238
 
 
11239
 
    
11240
 
        <div class="params">
11241
 
            <h4>Parameters:</h4>
11242
 
 
11243
 
            <ul class="params-list">
11244
 
            
11245
 
                <li class="param">
11246
 
                    
11247
 
                        <code class="param-name">evt</code>
11248
 
                        <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
11249
 
                    
11250
 
 
11251
 
                    
11252
 
 
11253
 
                    <div class="param-description">
11254
 
                        <p>the custom event to propagate</p>
11255
 
                    </div>
11256
 
 
11257
 
                    
11258
 
                </li>
11259
 
            
11260
 
            </ul>
11261
 
        </div>
11262
 
    
11263
 
 
11264
 
    
11265
 
        <div class="returns">
11266
 
            <h4>Returns:</h4>
11267
 
 
11268
 
            <div class="returns-description">
11269
 
                
11270
 
                    
11271
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
11272
 
                    
11273
 
                    the aggregated return value from Event.Custom.fire
11274
 
                
11275
 
            </div>
11276
 
        </div>
11277
 
    
11278
 
 
11279
 
    
11280
 
</div>
11281
 
 
11282
 
                
11283
 
                    <div id="method_create" class="method item inherited">
11284
 
    <h3 class="name"><code>create</code></h3>
11285
 
 
11286
 
    
11287
 
        <div class="args">
11288
 
            <span class="paren">(</span><ul class="args-list inline commas">
11289
 
            
11290
 
                <li class="arg">
11291
 
                    
11292
 
                        <code class="optional">[container]</code>
11293
 
                    
11294
 
                </li>
11295
 
            
11296
 
            </ul><span class="paren">)</span>
11297
 
        </div>
11298
 
    
11299
 
 
11300
 
    
11301
 
        <span class="returns-inline">
11302
 
            <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
11303
 
        </span>
11304
 
    
11305
 
 
11306
 
    
11307
 
 
11308
 
    
11309
 
 
11310
 
    
11311
 
 
11312
 
    
11313
 
 
11314
 
    
11315
 
 
11316
 
    <div class="meta">
11317
 
        
11318
 
            
11319
 
                <p>Inherited from
11320
 
                <a href="..&#x2F;classes&#x2F;View.html#method_create">View</a>:
11321
 
            
11322
 
        
11323
 
        
11324
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l226"><code>app&#x2F;js&#x2F;view.js:226</code></a>
11325
 
        
11326
 
        </p>
11327
 
 
11328
 
 
11329
 
        
11330
 
 
11331
 
        
11332
 
    </div>
11333
 
 
11334
 
    <div class="description">
11335
 
        <p>Creates and returns a container node for this view.</p>
11336
 
 
11337
 
<p>By default, the container is created from the HTML template specified in the
11338
 
<code>containerTemplate</code> property, and is <em>not</em> added to the DOM automatically.</p>
11339
 
 
11340
 
<p>You may override this method to customize how the container node is created
11341
 
(such as by rendering it from a custom template format). Your method must
11342
 
return a <code>Y.Node</code> instance.</p>
11343
 
    </div>
11344
 
 
11345
 
    
11346
 
        <div class="params">
11347
 
            <h4>Parameters:</h4>
11348
 
 
11349
 
            <ul class="params-list">
11350
 
            
11351
 
                <li class="param">
11352
 
                    
11353
 
                        <code class="param-name optional">[container]</code>
11354
 
                        <span class="type"><a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a> | <a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11355
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
11356
 
                    
11357
 
 
11358
 
                    
11359
 
 
11360
 
                    <div class="param-description">
11361
 
                        <p>Selector string, <code>Y.Node</code>
11362
 
    instance, or DOM element to use at the container node.</p>
11363
 
                    </div>
11364
 
 
11365
 
                    
11366
 
                </li>
11367
 
            
11368
 
            </ul>
11369
 
        </div>
11370
 
    
11371
 
 
11372
 
    
11373
 
        <div class="returns">
11374
 
            <h4>Returns:</h4>
11375
 
 
11376
 
            <div class="returns-description">
11377
 
                
11378
 
                    
11379
 
                        <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>:
11380
 
                    
11381
 
                    Node instance of the created container node.
11382
 
                
11383
 
            </div>
11384
 
        </div>
11385
 
    
11386
 
 
11387
 
    
11388
 
</div>
11389
 
 
11390
 
                
11391
 
                    <div id="method_createView" class="method item inherited">
11392
 
    <h3 class="name"><code>createView</code></h3>
11393
 
 
11394
 
    
11395
 
        <div class="args">
11396
 
            <span class="paren">(</span><ul class="args-list inline commas">
11397
 
            
11398
 
                <li class="arg">
11399
 
                    
11400
 
                        <code>name</code>
11401
 
                    
11402
 
                </li>
11403
 
            
11404
 
                <li class="arg">
11405
 
                    
11406
 
                        <code class="optional">[config]</code>
11407
 
                    
11408
 
                </li>
11409
 
            
11410
 
            </ul><span class="paren">)</span>
11411
 
        </div>
11412
 
    
11413
 
 
11414
 
    
11415
 
        <span class="returns-inline">
11416
 
            <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
11417
 
        </span>
11418
 
    
11419
 
 
11420
 
    
11421
 
 
11422
 
    
11423
 
 
11424
 
    
11425
 
 
11426
 
    
11427
 
 
11428
 
    
11429
 
 
11430
 
    <div class="meta">
11431
 
        
11432
 
            
11433
 
                <p>Inherited from
11434
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method_createView">App.Base</a>:
11435
 
            
11436
 
        
11437
 
        
11438
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l185"><code>app&#x2F;js&#x2F;app-base.js:185</code></a>
11439
 
        
11440
 
        </p>
11441
 
 
11442
 
 
11443
 
        
11444
 
 
11445
 
        
11446
 
            <p>Available since 3.5.0</p>
11447
 
        
11448
 
    </div>
11449
 
 
11450
 
    <div class="description">
11451
 
        <p>Creates and returns a new view instance using the provided <code>name</code> to look up
11452
 
the view info metadata defined in the <code>views</code> object. The passed-in <code>config</code>
11453
 
object is passed to the view constructor function.</p>
11454
 
 
11455
 
<p>This function also maps a view instance back to its view info metadata.</p>
11456
 
    </div>
11457
 
 
11458
 
    
11459
 
        <div class="params">
11460
 
            <h4>Parameters:</h4>
11461
 
 
11462
 
            <ul class="params-list">
11463
 
            
11464
 
                <li class="param">
11465
 
                    
11466
 
                        <code class="param-name">name</code>
11467
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11468
 
                    
11469
 
 
11470
 
                    
11471
 
 
11472
 
                    <div class="param-description">
11473
 
                        <p>The name of a view defined on the <code>views</code> object.</p>
11474
 
                    </div>
11475
 
 
11476
 
                    
11477
 
                </li>
11478
 
            
11479
 
                <li class="param">
11480
 
                    
11481
 
                        <code class="param-name optional">[config]</code>
11482
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
11483
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
11484
 
                    
11485
 
 
11486
 
                    
11487
 
 
11488
 
                    <div class="param-description">
11489
 
                        <p>The configuration object passed to the view
11490
 
  constructor function when creating the new view instance.</p>
11491
 
                    </div>
11492
 
 
11493
 
                    
11494
 
                </li>
11495
 
            
11496
 
            </ul>
11497
 
        </div>
11498
 
    
11499
 
 
11500
 
    
11501
 
        <div class="returns">
11502
 
            <h4>Returns:</h4>
11503
 
 
11504
 
            <div class="returns-description">
11505
 
                
11506
 
                    
11507
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>:
11508
 
                    
11509
 
                    The new view instance.
11510
 
                
11511
 
            </div>
11512
 
        </div>
11513
 
    
11514
 
 
11515
 
    
11516
 
</div>
11517
 
 
11518
 
                
11519
 
                    <div id="method_destroy" class="method item inherited">
11520
 
    <h3 class="name"><code>destroy</code></h3>
11521
 
 
11522
 
    
11523
 
        <div class="args">
11524
 
            <span class="paren">(</span><ul class="args-list inline commas">
11525
 
            
11526
 
                <li class="arg">
11527
 
                    
11528
 
                        <code class="optional">[options]</code>
11529
 
                    
11530
 
                </li>
11531
 
            
11532
 
            </ul><span class="paren">)</span>
11533
 
        </div>
11534
 
    
11535
 
 
11536
 
    
11537
 
 
11538
 
    
11539
 
 
11540
 
    
11541
 
 
11542
 
    
11543
 
 
11544
 
    
11545
 
 
11546
 
    
11547
 
        <span class="flag chainable">chainable</span>
11548
 
    
11549
 
 
11550
 
    <div class="meta">
11551
 
        
11552
 
            <p>Inherited from
11553
 
            <a href="..&#x2F;classes&#x2F;BaseCore.html#method_destroy">
11554
 
                BaseCore
11555
 
            </a>
11556
 
            
11557
 
            but overwritten in
11558
 
            
11559
 
        
11560
 
        
11561
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l146"><code>app&#x2F;js&#x2F;view.js:146</code></a>
11562
 
        
11563
 
        </p>
11564
 
 
11565
 
 
11566
 
        
11567
 
 
11568
 
        
11569
 
    </div>
11570
 
 
11571
 
    <div class="description">
11572
 
        <p>Destroys this View, detaching any DOM events and optionally also destroying
11573
 
its container node.</p>
11574
 
 
11575
 
<p>By default, the container node will not be destroyed. Pass an <em>options</em>
11576
 
object with a truthy <code>remove</code> property to destroy the container as well.</p>
11577
 
    </div>
11578
 
 
11579
 
    
11580
 
        <div class="params">
11581
 
            <h4>Parameters:</h4>
11582
 
 
11583
 
            <ul class="params-list">
11584
 
            
11585
 
                <li class="param">
11586
 
                    
11587
 
                        <code class="param-name optional">[options]</code>
11588
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
11589
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
11590
 
                    
11591
 
 
11592
 
                    
11593
 
 
11594
 
                    <div class="param-description">
11595
 
                        <p>Options.</p>
11596
 
                    </div>
11597
 
 
11598
 
                    
11599
 
                        <ul class="params-list">
11600
 
                            
11601
 
                            <li class="param">
11602
 
                                
11603
 
                                    <code class="param-name optional">[remove=false]</code>
11604
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11605
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
11606
 
                                
11607
 
 
11608
 
                                <div class="param-description">
11609
 
                                    <p>If <code>true</code>, this View's container
11610
 
        will be removed from the DOM and destroyed as well.</p>
11611
 
                                </div>
11612
 
 
11613
 
                                
11614
 
                            </li>
11615
 
                            
11616
 
                        </ul>
11617
 
                    
11618
 
                </li>
11619
 
            
11620
 
            </ul>
11621
 
        </div>
11622
 
    
11623
 
 
11624
 
    
11625
 
 
11626
 
    
11627
 
</div>
11628
 
 
11629
 
                
11630
 
                    <div id="method_detach" class="method item inherited">
11631
 
    <h3 class="name"><code>detach</code></h3>
11632
 
 
11633
 
    
11634
 
        <div class="args">
11635
 
            <span class="paren">(</span><ul class="args-list inline commas">
11636
 
            
11637
 
                <li class="arg">
11638
 
                    
11639
 
                        <code>type</code>
11640
 
                    
11641
 
                </li>
11642
 
            
11643
 
                <li class="arg">
11644
 
                    
11645
 
                        <code>fn</code>
11646
 
                    
11647
 
                </li>
11648
 
            
11649
 
                <li class="arg">
11650
 
                    
11651
 
                        <code>context</code>
11652
 
                    
11653
 
                </li>
11654
 
            
11655
 
            </ul><span class="paren">)</span>
11656
 
        </div>
11657
 
    
11658
 
 
11659
 
    
11660
 
        <span class="returns-inline">
11661
 
            <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
11662
 
        </span>
11663
 
    
11664
 
 
11665
 
    
11666
 
 
11667
 
    
11668
 
 
11669
 
    
11670
 
 
11671
 
    
11672
 
 
11673
 
    
11674
 
 
11675
 
    <div class="meta">
11676
 
        
11677
 
            
11678
 
                <p>Inherited from
11679
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_detach">EventTarget</a>:
11680
 
            
11681
 
        
11682
 
        
11683
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l345"><code>event-custom&#x2F;js&#x2F;event-target.js:345</code></a>
11684
 
        
11685
 
        </p>
11686
 
 
11687
 
 
11688
 
        
11689
 
 
11690
 
        
11691
 
    </div>
11692
 
 
11693
 
    <div class="description">
11694
 
        <p>Detach one or more listeners the from the specified event</p>
11695
 
    </div>
11696
 
 
11697
 
    
11698
 
        <div class="params">
11699
 
            <h4>Parameters:</h4>
11700
 
 
11701
 
            <ul class="params-list">
11702
 
            
11703
 
                <li class="param">
11704
 
                    
11705
 
                        <code class="param-name">type</code>
11706
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
11707
 
                    
11708
 
 
11709
 
                    
11710
 
 
11711
 
                    <div class="param-description">
11712
 
                        <p>Either the handle to the subscriber or the
11713
 
                       type of event.  If the type
11714
 
                       is not specified, it will attempt to remove
11715
 
                       the listener from all hosted events.</p>
11716
 
                    </div>
11717
 
 
11718
 
                    
11719
 
                </li>
11720
 
            
11721
 
                <li class="param">
11722
 
                    
11723
 
                        <code class="param-name">fn</code>
11724
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
11725
 
                    
11726
 
 
11727
 
                    
11728
 
 
11729
 
                    <div class="param-description">
11730
 
                        <p>The subscribed function to unsubscribe, if not
11731
 
                         supplied, all subscribers will be removed.</p>
11732
 
                    </div>
11733
 
 
11734
 
                    
11735
 
                </li>
11736
 
            
11737
 
                <li class="param">
11738
 
                    
11739
 
                        <code class="param-name">context</code>
11740
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
11741
 
                    
11742
 
 
11743
 
                    
11744
 
 
11745
 
                    <div class="param-description">
11746
 
                        <p>The custom object passed to subscribe.  This is
11747
 
                       optional, but if supplied will be used to
11748
 
                       disambiguate multiple listeners that are the same
11749
 
                       (e.g., you subscribe many object using a function
11750
 
                       that lives on the prototype)</p>
11751
 
                    </div>
11752
 
 
11753
 
                    
11754
 
                </li>
11755
 
            
11756
 
            </ul>
11757
 
        </div>
11758
 
    
11759
 
 
11760
 
    
11761
 
        <div class="returns">
11762
 
            <h4>Returns:</h4>
11763
 
 
11764
 
            <div class="returns-description">
11765
 
                
11766
 
                    
11767
 
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
11768
 
                    
11769
 
                    the host
11770
 
                
11771
 
            </div>
11772
 
        </div>
11773
 
    
11774
 
 
11775
 
    
11776
 
</div>
11777
 
 
11778
 
                
11779
 
                    <div id="method_detachAll" class="method item inherited">
11780
 
    <h3 class="name"><code>detachAll</code></h3>
11781
 
 
11782
 
    
11783
 
        <div class="args">
11784
 
            <span class="paren">(</span><ul class="args-list inline commas">
11785
 
            
11786
 
                <li class="arg">
11787
 
                    
11788
 
                        <code>type</code>
11789
 
                    
11790
 
                </li>
11791
 
            
11792
 
            </ul><span class="paren">)</span>
11793
 
        </div>
11794
 
    
11795
 
 
11796
 
    
11797
 
 
11798
 
    
11799
 
 
11800
 
    
11801
 
 
11802
 
    
11803
 
 
11804
 
    
11805
 
 
11806
 
    
11807
 
 
11808
 
    <div class="meta">
11809
 
        
11810
 
            
11811
 
                <p>Inherited from
11812
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_detachAll">EventTarget</a>:
11813
 
            
11814
 
        
11815
 
        
11816
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l465"><code>event-custom&#x2F;js&#x2F;event-target.js:465</code></a>
11817
 
        
11818
 
        </p>
11819
 
 
11820
 
 
11821
 
        
11822
 
 
11823
 
        
11824
 
    </div>
11825
 
 
11826
 
    <div class="description">
11827
 
        <p>Removes all listeners from the specified event.  If the event type
11828
 
is not specified, all listeners from all hosted custom events will
11829
 
be removed.</p>
11830
 
    </div>
11831
 
 
11832
 
    
11833
 
        <div class="params">
11834
 
            <h4>Parameters:</h4>
11835
 
 
11836
 
            <ul class="params-list">
11837
 
            
11838
 
                <li class="param">
11839
 
                    
11840
 
                        <code class="param-name">type</code>
11841
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11842
 
                    
11843
 
 
11844
 
                    
11845
 
 
11846
 
                    <div class="param-description">
11847
 
                        <p>The type, or name of the event</p>
11848
 
                    </div>
11849
 
 
11850
 
                    
11851
 
                </li>
11852
 
            
11853
 
            </ul>
11854
 
        </div>
11855
 
    
11856
 
 
11857
 
    
11858
 
 
11859
 
    
11860
 
</div>
11861
 
 
11862
 
                
11863
 
                    <div id="method_detachEvents" class="method item inherited">
11864
 
    <h3 class="name"><code>detachEvents</code></h3>
11865
 
 
11866
 
    
11867
 
        <span class="paren">()</span>
11868
 
    
11869
 
 
11870
 
    
11871
 
 
11872
 
    
11873
 
 
11874
 
    
11875
 
 
11876
 
    
11877
 
 
11878
 
    
11879
 
 
11880
 
    
11881
 
        <span class="flag chainable">chainable</span>
11882
 
    
11883
 
 
11884
 
    <div class="meta">
11885
 
        
11886
 
            
11887
 
                <p>Inherited from
11888
 
                <a href="..&#x2F;classes&#x2F;View.html#method_detachEvents">View</a>:
11889
 
            
11890
 
        
11891
 
        
11892
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l246"><code>app&#x2F;js&#x2F;view.js:246</code></a>
11893
 
        
11894
 
        </p>
11895
 
 
11896
 
 
11897
 
        
11898
 
 
11899
 
        
11900
 
    </div>
11901
 
 
11902
 
    <div class="description">
11903
 
        <p>Detaches DOM events that have previously been attached to the container by
11904
 
<code>attachEvents()</code>.</p>
11905
 
    </div>
11906
 
 
11907
 
    
11908
 
 
11909
 
    
11910
 
 
11911
 
    
11912
 
</div>
11913
 
 
11914
 
                
11915
 
                    <div id="method_dispatch" class="method item inherited">
11916
 
    <h3 class="name"><code>dispatch</code></h3>
11917
 
 
11918
 
    
11919
 
        <span class="paren">()</span>
11920
 
    
11921
 
 
11922
 
    
11923
 
 
11924
 
    
11925
 
 
11926
 
    
11927
 
 
11928
 
    
11929
 
 
11930
 
    
11931
 
 
11932
 
    
11933
 
        <span class="flag chainable">chainable</span>
11934
 
    
11935
 
 
11936
 
    <div class="meta">
11937
 
        
11938
 
            
11939
 
                <p>Inherited from
11940
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_dispatch">Router</a>:
11941
 
            
11942
 
        
11943
 
        
11944
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l183"><code>app&#x2F;js&#x2F;router.js:183</code></a>
11945
 
        
11946
 
        </p>
11947
 
 
11948
 
 
11949
 
        
11950
 
 
11951
 
        
11952
 
    </div>
11953
 
 
11954
 
    <div class="description">
11955
 
        <p>Dispatches to the first route handler that matches the current URL, if any.</p>
11956
 
 
11957
 
<p>If <code>dispatch()</code> is called before the <code>ready</code> event has fired, it will
11958
 
automatically wait for the <code>ready</code> event before dispatching. Otherwise it
11959
 
will dispatch immediately.</p>
11960
 
    </div>
11961
 
 
11962
 
    
11963
 
 
11964
 
    
11965
 
 
11966
 
    
11967
 
</div>
11968
 
 
11969
 
                
11970
 
                    <div id="method_fire" class="method item inherited">
11971
 
    <h3 class="name"><code>fire</code></h3>
11972
 
 
11973
 
    
11974
 
        <div class="args">
11975
 
            <span class="paren">(</span><ul class="args-list inline commas">
11976
 
            
11977
 
                <li class="arg">
11978
 
                    
11979
 
                        <code>type</code>
11980
 
                    
11981
 
                </li>
11982
 
            
11983
 
                <li class="arg">
11984
 
                    
11985
 
                        <code>arguments</code>
11986
 
                    
11987
 
                </li>
11988
 
            
11989
 
            </ul><span class="paren">)</span>
11990
 
        </div>
11991
 
    
11992
 
 
11993
 
    
11994
 
        <span class="returns-inline">
11995
 
            <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
11996
 
        </span>
11997
 
    
11998
 
 
11999
 
    
12000
 
 
12001
 
    
12002
 
 
12003
 
    
12004
 
 
12005
 
    
12006
 
 
12007
 
    
12008
 
 
12009
 
    <div class="meta">
12010
 
        
12011
 
            
12012
 
                <p>Inherited from
12013
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_fire">EventTarget</a>:
12014
 
            
12015
 
        
12016
 
        
12017
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l629"><code>event-custom&#x2F;js&#x2F;event-target.js:629</code></a>
12018
 
        
12019
 
        </p>
12020
 
 
12021
 
 
12022
 
        
12023
 
 
12024
 
        
12025
 
    </div>
12026
 
 
12027
 
    <div class="description">
12028
 
        <p>Fire a custom event by name.  The callback functions will be executed
12029
 
from the context specified when the event was created, and with the
12030
 
following parameters.</p>
12031
 
 
12032
 
<p>If the custom event object hasn't been created, then the event hasn't
12033
 
been published and it has no subscribers.  For performance sake, we
12034
 
immediate exit in this case.  This means the event won't bubble, so
12035
 
if the intention is that a bubble target be notified, the event must
12036
 
be published on this object first.</p>
12037
 
 
12038
 
<p>The first argument is the event type, and any additional arguments are
12039
 
passed to the listeners as parameters.  If the first of these is an
12040
 
object literal, and the event is configured to emit an event facade,
12041
 
that object is mixed into the event facade and the facade is provided
12042
 
in place of the original object.</p>
12043
 
    </div>
12044
 
 
12045
 
    
12046
 
        <div class="params">
12047
 
            <h4>Parameters:</h4>
12048
 
 
12049
 
            <ul class="params-list">
12050
 
            
12051
 
                <li class="param">
12052
 
                    
12053
 
                        <code class="param-name">type</code>
12054
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
12055
 
                    
12056
 
 
12057
 
                    
12058
 
 
12059
 
                    <div class="param-description">
12060
 
                        <p>The type of the event, or an object that contains
12061
 
a 'type' property.</p>
12062
 
                    </div>
12063
 
 
12064
 
                    
12065
 
                </li>
12066
 
            
12067
 
                <li class="param">
12068
 
                    
12069
 
                        <code class="param-name">arguments</code>
12070
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
12071
 
                    
12072
 
 
12073
 
                    
12074
 
 
12075
 
                    <div class="param-description">
12076
 
                        <p>an arbitrary set of parameters to pass to
12077
 
the handler.  If the first of these is an object literal and the event is
12078
 
configured to emit an event facade, the event facade will replace that
12079
 
parameter after the properties the object literal contains are copied to
12080
 
the event facade.</p>
12081
 
                    </div>
12082
 
 
12083
 
                    
12084
 
                </li>
12085
 
            
12086
 
            </ul>
12087
 
        </div>
12088
 
    
12089
 
 
12090
 
    
12091
 
        <div class="returns">
12092
 
            <h4>Returns:</h4>
12093
 
 
12094
 
            <div class="returns-description">
12095
 
                
12096
 
                    
12097
 
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
12098
 
                    
12099
 
                    the event host
12100
 
                
12101
 
            </div>
12102
 
        </div>
12103
 
    
12104
 
 
12105
 
    
12106
 
</div>
12107
 
 
12108
 
                
12109
 
                    <div id="method_get" class="method item inherited">
12110
 
    <h3 class="name"><code>get</code></h3>
12111
 
 
12112
 
    
12113
 
        <div class="args">
12114
 
            <span class="paren">(</span><ul class="args-list inline commas">
12115
 
            
12116
 
                <li class="arg">
12117
 
                    
12118
 
                        <code>name</code>
12119
 
                    
12120
 
                </li>
12121
 
            
12122
 
            </ul><span class="paren">)</span>
12123
 
        </div>
12124
 
    
12125
 
 
12126
 
    
12127
 
        <span class="returns-inline">
12128
 
            <span class="type">Any</span>
12129
 
        </span>
12130
 
    
12131
 
 
12132
 
    
12133
 
 
12134
 
    
12135
 
 
12136
 
    
12137
 
 
12138
 
    
12139
 
 
12140
 
    
12141
 
 
12142
 
    <div class="meta">
12143
 
        
12144
 
            
12145
 
                <p>Inherited from
12146
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method_get">AttributeCore</a>:
12147
 
            
12148
 
        
12149
 
        
12150
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l283"><code>attribute&#x2F;js&#x2F;AttributeCore.js:283</code></a>
12151
 
        
12152
 
        </p>
12153
 
 
12154
 
 
12155
 
        
12156
 
 
12157
 
        
12158
 
    </div>
12159
 
 
12160
 
    <div class="description">
12161
 
        <p>Returns the current value of the attribute. If the attribute
12162
 
has been configured with a 'getter' function, this method will delegate
12163
 
to the 'getter' to obtain the value of the attribute.</p>
12164
 
    </div>
12165
 
 
12166
 
    
12167
 
        <div class="params">
12168
 
            <h4>Parameters:</h4>
12169
 
 
12170
 
            <ul class="params-list">
12171
 
            
12172
 
                <li class="param">
12173
 
                    
12174
 
                        <code class="param-name">name</code>
12175
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12176
 
                    
12177
 
 
12178
 
                    
12179
 
 
12180
 
                    <div class="param-description">
12181
 
                        <p>The name of the attribute. If the value of the attribute is an Object, 
12182
 
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
12183
 
                    </div>
12184
 
 
12185
 
                    
12186
 
                </li>
12187
 
            
12188
 
            </ul>
12189
 
        </div>
12190
 
    
12191
 
 
12192
 
    
12193
 
        <div class="returns">
12194
 
            <h4>Returns:</h4>
12195
 
 
12196
 
            <div class="returns-description">
12197
 
                
12198
 
                    
12199
 
                        <span class="type">Any</span>:
12200
 
                    
12201
 
                    The value of the attribute
12202
 
                
12203
 
            </div>
12204
 
        </div>
12205
 
    
12206
 
 
12207
 
    
12208
 
</div>
12209
 
 
12210
 
                
12211
 
                    <div id="method_getAttrs" class="method item inherited">
12212
 
    <h3 class="name"><code>getAttrs</code></h3>
12213
 
 
12214
 
    
12215
 
        <div class="args">
12216
 
            <span class="paren">(</span><ul class="args-list inline commas">
12217
 
            
12218
 
                <li class="arg">
12219
 
                    
12220
 
                        <code>attrs</code>
12221
 
                    
12222
 
                </li>
12223
 
            
12224
 
            </ul><span class="paren">)</span>
12225
 
        </div>
12226
 
    
12227
 
 
12228
 
    
12229
 
        <span class="returns-inline">
12230
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
12231
 
        </span>
12232
 
    
12233
 
 
12234
 
    
12235
 
 
12236
 
    
12237
 
 
12238
 
    
12239
 
 
12240
 
    
12241
 
 
12242
 
    
12243
 
 
12244
 
    <div class="meta">
12245
 
        
12246
 
            
12247
 
                <p>Inherited from
12248
 
                <a href="..&#x2F;classes&#x2F;AttributeCore.html#method_getAttrs">AttributeCore</a>:
12249
 
            
12250
 
        
12251
 
        
12252
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l665"><code>attribute&#x2F;js&#x2F;AttributeCore.js:665</code></a>
12253
 
        
12254
 
        </p>
12255
 
 
12256
 
 
12257
 
        
12258
 
 
12259
 
        
12260
 
    </div>
12261
 
 
12262
 
    <div class="description">
12263
 
        <p>Gets multiple attribute values.</p>
12264
 
    </div>
12265
 
 
12266
 
    
12267
 
        <div class="params">
12268
 
            <h4>Parameters:</h4>
12269
 
 
12270
 
            <ul class="params-list">
12271
 
            
12272
 
                <li class="param">
12273
 
                    
12274
 
                        <code class="param-name">attrs</code>
12275
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
12276
 
                    
12277
 
 
12278
 
                    
12279
 
 
12280
 
                    <div class="param-description">
12281
 
                        <p>Optional. An array of attribute names. If omitted, all attribute values are
12282
 
returned. If set to true, all attributes modified from their initial values are returned.</p>
12283
 
                    </div>
12284
 
 
12285
 
                    
12286
 
                </li>
12287
 
            
12288
 
            </ul>
12289
 
        </div>
12290
 
    
12291
 
 
12292
 
    
12293
 
        <div class="returns">
12294
 
            <h4>Returns:</h4>
12295
 
 
12296
 
            <div class="returns-description">
12297
 
                
12298
 
                    
12299
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
12300
 
                    
12301
 
                    An object with attribute name/value pairs.
12302
 
                
12303
 
            </div>
12304
 
        </div>
12305
 
    
12306
 
 
12307
 
    
12308
 
</div>
12309
 
 
12310
 
                
12311
 
                    <div id="method_getEvent" class="method item inherited">
12312
 
    <h3 class="name"><code>getEvent</code></h3>
12313
 
 
12314
 
    
12315
 
        <div class="args">
12316
 
            <span class="paren">(</span><ul class="args-list inline commas">
12317
 
            
12318
 
                <li class="arg">
12319
 
                    
12320
 
                        <code>type</code>
12321
 
                    
12322
 
                </li>
12323
 
            
12324
 
                <li class="arg">
12325
 
                    
12326
 
                        <code>prefixed</code>
12327
 
                    
12328
 
                </li>
12329
 
            
12330
 
            </ul><span class="paren">)</span>
12331
 
        </div>
12332
 
    
12333
 
 
12334
 
    
12335
 
        <span class="returns-inline">
12336
 
            <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
12337
 
        </span>
12338
 
    
12339
 
 
12340
 
    
12341
 
 
12342
 
    
12343
 
 
12344
 
    
12345
 
 
12346
 
    
12347
 
 
12348
 
    
12349
 
 
12350
 
    <div class="meta">
12351
 
        
12352
 
            
12353
 
                <p>Inherited from
12354
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_getEvent">EventTarget</a>:
12355
 
            
12356
 
        
12357
 
        
12358
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l712"><code>event-custom&#x2F;js&#x2F;event-target.js:712</code></a>
12359
 
        
12360
 
        </p>
12361
 
 
12362
 
 
12363
 
        
12364
 
 
12365
 
        
12366
 
    </div>
12367
 
 
12368
 
    <div class="description">
12369
 
        <p>Returns the custom event of the provided type has been created, a
12370
 
falsy value otherwise</p>
12371
 
    </div>
12372
 
 
12373
 
    
12374
 
        <div class="params">
12375
 
            <h4>Parameters:</h4>
12376
 
 
12377
 
            <ul class="params-list">
12378
 
            
12379
 
                <li class="param">
12380
 
                    
12381
 
                        <code class="param-name">type</code>
12382
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12383
 
                    
12384
 
 
12385
 
                    
12386
 
 
12387
 
                    <div class="param-description">
12388
 
                        <p>the type, or name of the event</p>
12389
 
                    </div>
12390
 
 
12391
 
                    
12392
 
                </li>
12393
 
            
12394
 
                <li class="param">
12395
 
                    
12396
 
                        <code class="param-name">prefixed</code>
12397
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12398
 
                    
12399
 
 
12400
 
                    
12401
 
 
12402
 
                    <div class="param-description">
12403
 
                        <p>if true, the type is prefixed already</p>
12404
 
                    </div>
12405
 
 
12406
 
                    
12407
 
                </li>
12408
 
            
12409
 
            </ul>
12410
 
        </div>
12411
 
    
12412
 
 
12413
 
    
12414
 
        <div class="returns">
12415
 
            <h4>Returns:</h4>
12416
 
 
12417
 
            <div class="returns-description">
12418
 
                
12419
 
                    
12420
 
                        <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
12421
 
                    
12422
 
                    the custom event or null
12423
 
                
12424
 
            </div>
12425
 
        </div>
12426
 
    
12427
 
 
12428
 
    
12429
 
</div>
12430
 
 
12431
 
                
12432
 
                    <div id="method_getPath" class="method item inherited">
12433
 
    <h3 class="name"><code>getPath</code></h3>
12434
 
 
12435
 
    
12436
 
        <span class="paren">()</span>
12437
 
    
12438
 
 
12439
 
    
12440
 
        <span class="returns-inline">
12441
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12442
 
        </span>
12443
 
    
12444
 
 
12445
 
    
12446
 
 
12447
 
    
12448
 
 
12449
 
    
12450
 
 
12451
 
    
12452
 
 
12453
 
    
12454
 
 
12455
 
    <div class="meta">
12456
 
        
12457
 
            
12458
 
                <p>Inherited from
12459
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_getPath">Router</a>:
12460
 
            
12461
 
        
12462
 
        
12463
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l207"><code>app&#x2F;js&#x2F;router.js:207</code></a>
12464
 
        
12465
 
        </p>
12466
 
 
12467
 
 
12468
 
        
12469
 
 
12470
 
        
12471
 
    </div>
12472
 
 
12473
 
    <div class="description">
12474
 
        <p>Gets the current route path, relative to the <code>root</code> (if any).</p>
12475
 
    </div>
12476
 
 
12477
 
    
12478
 
 
12479
 
    
12480
 
        <div class="returns">
12481
 
            <h4>Returns:</h4>
12482
 
 
12483
 
            <div class="returns-description">
12484
 
                
12485
 
                    
12486
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
12487
 
                    
12488
 
                    Current route path.
12489
 
                
12490
 
            </div>
12491
 
        </div>
12492
 
    
12493
 
 
12494
 
    
12495
 
</div>
12496
 
 
12497
 
                
12498
 
                    <div id="method_getTargets" class="method item inherited">
12499
 
    <h3 class="name"><code>getTargets</code></h3>
12500
 
 
12501
 
    
12502
 
        <span class="paren">()</span>
12503
 
    
12504
 
 
12505
 
    
12506
 
        <span class="returns-inline">
12507
 
            <span class="type"></span>
12508
 
        </span>
12509
 
    
12510
 
 
12511
 
    
12512
 
 
12513
 
    
12514
 
 
12515
 
    
12516
 
 
12517
 
    
12518
 
 
12519
 
    
12520
 
 
12521
 
    <div class="meta">
12522
 
        
12523
 
            
12524
 
                <p>Inherited from
12525
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_getTargets">EventTarget</a>:
12526
 
            
12527
 
        
12528
 
        
12529
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-facade.js.html#l400"><code>event-custom&#x2F;js&#x2F;event-facade.js:400</code></a>
12530
 
        
12531
 
        </p>
12532
 
 
12533
 
 
12534
 
        
12535
 
 
12536
 
        
12537
 
    </div>
12538
 
 
12539
 
    <div class="description">
12540
 
        <p>Returns an array of bubble targets for this object.</p>
12541
 
    </div>
12542
 
 
12543
 
    
12544
 
 
12545
 
    
12546
 
        <div class="returns">
12547
 
            <h4>Returns:</h4>
12548
 
 
12549
 
            <div class="returns-description">
12550
 
                
12551
 
                    
12552
 
                    EventTarget[]
12553
 
                
12554
 
            </div>
12555
 
        </div>
12556
 
    
12557
 
 
12558
 
    
12559
 
</div>
12560
 
 
12561
 
                
12562
 
                    <div id="method_getViewInfo" class="method item inherited">
12563
 
    <h3 class="name"><code>getViewInfo</code></h3>
12564
 
 
12565
 
    
12566
 
        <div class="args">
12567
 
            <span class="paren">(</span><ul class="args-list inline commas">
12568
 
            
12569
 
                <li class="arg">
12570
 
                    
12571
 
                        <code>view</code>
12572
 
                    
12573
 
                </li>
12574
 
            
12575
 
            </ul><span class="paren">)</span>
12576
 
        </div>
12577
 
    
12578
 
 
12579
 
    
12580
 
        <span class="returns-inline">
12581
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
12582
 
        </span>
12583
 
    
12584
 
 
12585
 
    
12586
 
 
12587
 
    
12588
 
 
12589
 
    
12590
 
 
12591
 
    
12592
 
 
12593
 
    
12594
 
 
12595
 
    <div class="meta">
12596
 
        
12597
 
            
12598
 
                <p>Inherited from
12599
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#method_getViewInfo">App.Base</a>:
12600
 
            
12601
 
        
12602
 
        
12603
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l215"><code>app&#x2F;js&#x2F;app-base.js:215</code></a>
12604
 
        
12605
 
        </p>
12606
 
 
12607
 
 
12608
 
        
12609
 
 
12610
 
        
12611
 
            <p>Available since 3.5.0</p>
12612
 
        
12613
 
    </div>
12614
 
 
12615
 
    <div class="description">
12616
 
        <p>Returns the metadata associated with a view instance or view name defined on
12617
 
the <code>views</code> object.</p>
12618
 
    </div>
12619
 
 
12620
 
    
12621
 
        <div class="params">
12622
 
            <h4>Parameters:</h4>
12623
 
 
12624
 
            <ul class="params-list">
12625
 
            
12626
 
                <li class="param">
12627
 
                    
12628
 
                        <code class="param-name">view</code>
12629
 
                        <span class="type"><a href="../classes/View.html" class="crosslink">View</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12630
 
                    
12631
 
 
12632
 
                    
12633
 
 
12634
 
                    <div class="param-description">
12635
 
                        <p>View instance, or name of a view defined on the
12636
 
  <code>views</code> object.</p>
12637
 
                    </div>
12638
 
 
12639
 
                    
12640
 
                </li>
12641
 
            
12642
 
            </ul>
12643
 
        </div>
12644
 
    
12645
 
 
12646
 
    
12647
 
        <div class="returns">
12648
 
            <h4>Returns:</h4>
12649
 
 
12650
 
            <div class="returns-description">
12651
 
                
12652
 
                    
12653
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
12654
 
                    
12655
 
                    The metadata for the view, or <code>undefined</code> if the view is
12656
 
  not registered.
12657
 
                
12658
 
            </div>
12659
 
        </div>
12660
 
    
12661
 
 
12662
 
    
12663
 
</div>
12664
 
 
12665
 
                
12666
 
                    <div id="method_hasRoute" class="method item inherited">
12667
 
    <h3 class="name"><code>hasRoute</code></h3>
12668
 
 
12669
 
    
12670
 
        <div class="args">
12671
 
            <span class="paren">(</span><ul class="args-list inline commas">
12672
 
            
12673
 
                <li class="arg">
12674
 
                    
12675
 
                        <code>url</code>
12676
 
                    
12677
 
                </li>
12678
 
            
12679
 
            </ul><span class="paren">)</span>
12680
 
        </div>
12681
 
    
12682
 
 
12683
 
    
12684
 
        <span class="returns-inline">
12685
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
12686
 
        </span>
12687
 
    
12688
 
 
12689
 
    
12690
 
 
12691
 
    
12692
 
 
12693
 
    
12694
 
 
12695
 
    
12696
 
 
12697
 
    
12698
 
 
12699
 
    <div class="meta">
12700
 
        
12701
 
            
12702
 
                <p>Inherited from
12703
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_hasRoute">Router</a>:
12704
 
            
12705
 
        
12706
 
        
12707
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l217"><code>app&#x2F;js&#x2F;router.js:217</code></a>
12708
 
        
12709
 
        </p>
12710
 
 
12711
 
 
12712
 
        
12713
 
 
12714
 
        
12715
 
    </div>
12716
 
 
12717
 
    <div class="description">
12718
 
        <p>Returns <code>true</code> if this router has at least one route that matches the
12719
 
specified URL, <code>false</code> otherwise.</p>
12720
 
 
12721
 
<p>This method enforces the same-origin security constraint on the specified
12722
 
<code>url</code>; any URL which is not from the same origin as the current URL will
12723
 
always return <code>false</code>.</p>
12724
 
    </div>
12725
 
 
12726
 
    
12727
 
        <div class="params">
12728
 
            <h4>Parameters:</h4>
12729
 
 
12730
 
            <ul class="params-list">
12731
 
            
12732
 
                <li class="param">
12733
 
                    
12734
 
                        <code class="param-name">url</code>
12735
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12736
 
                    
12737
 
 
12738
 
                    
12739
 
 
12740
 
                    <div class="param-description">
12741
 
                        <p>URL to match.</p>
12742
 
                    </div>
12743
 
 
12744
 
                    
12745
 
                </li>
12746
 
            
12747
 
            </ul>
12748
 
        </div>
12749
 
    
12750
 
 
12751
 
    
12752
 
        <div class="returns">
12753
 
            <h4>Returns:</h4>
12754
 
 
12755
 
            <div class="returns-description">
12756
 
                
12757
 
                    
12758
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
12759
 
                    
12760
 
                    <code>true</code> if there's at least one matching route, <code>false</code>
12761
 
  otherwise.
12762
 
                
12763
 
            </div>
12764
 
        </div>
12765
 
    
12766
 
 
12767
 
    
12768
 
</div>
12769
 
 
12770
 
                
12771
 
                    <div id="method_init" class="method item inherited">
12772
 
    <h3 class="name"><code>init</code></h3>
12773
 
 
12774
 
    
12775
 
        <div class="args">
12776
 
            <span class="paren">(</span><ul class="args-list inline commas">
12777
 
            
12778
 
                <li class="arg">
12779
 
                    
12780
 
                        <code>config</code>
12781
 
                    
12782
 
                </li>
12783
 
            
12784
 
            </ul><span class="paren">)</span>
12785
 
        </div>
12786
 
    
12787
 
 
12788
 
    
12789
 
        <span class="returns-inline">
12790
 
            <span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
12791
 
        </span>
12792
 
    
12793
 
 
12794
 
    
12795
 
 
12796
 
    
12797
 
 
12798
 
    
12799
 
 
12800
 
    
12801
 
 
12802
 
    
12803
 
        <span class="flag chainable">chainable</span>
12804
 
    
12805
 
 
12806
 
    <div class="meta">
12807
 
        
12808
 
            <p>Inherited from
12809
 
            <a href="..&#x2F;classes&#x2F;BaseCore.html#method_init">
12810
 
                BaseCore
12811
 
            </a>
12812
 
            
12813
 
            but overwritten in
12814
 
            
12815
 
        
12816
 
        
12817
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l191"><code>base&#x2F;js&#x2F;Base.js:191</code></a>
12818
 
        
12819
 
        </p>
12820
 
 
12821
 
 
12822
 
        
12823
 
 
12824
 
        
12825
 
    </div>
12826
 
 
12827
 
    <div class="description">
12828
 
        <p>Init lifecycle method, invoked during construction.
12829
 
Fires the init event prior to setting up attributes and 
12830
 
invoking initializers for the class hierarchy.</p>
12831
 
    </div>
12832
 
 
12833
 
    
12834
 
        <div class="params">
12835
 
            <h4>Parameters:</h4>
12836
 
 
12837
 
            <ul class="params-list">
12838
 
            
12839
 
                <li class="param">
12840
 
                    
12841
 
                        <code class="param-name">config</code>
12842
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
12843
 
                    
12844
 
 
12845
 
                    
12846
 
 
12847
 
                    <div class="param-description">
12848
 
                        <p>Object with configuration property name/value pairs</p>
12849
 
                    </div>
12850
 
 
12851
 
                    
12852
 
                </li>
12853
 
            
12854
 
            </ul>
12855
 
        </div>
12856
 
    
12857
 
 
12858
 
    
12859
 
        <div class="returns">
12860
 
            <h4>Returns:</h4>
12861
 
 
12862
 
            <div class="returns-description">
12863
 
                
12864
 
                    
12865
 
                        <span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
12866
 
                    
12867
 
                    A reference to this object
12868
 
                
12869
 
            </div>
12870
 
        </div>
12871
 
    
12872
 
 
12873
 
    
12874
 
</div>
12875
 
 
12876
 
                
12877
 
                    <div id="method_match" class="method item inherited">
12878
 
    <h3 class="name"><code>match</code></h3>
12879
 
 
12880
 
    
12881
 
        <div class="args">
12882
 
            <span class="paren">(</span><ul class="args-list inline commas">
12883
 
            
12884
 
                <li class="arg">
12885
 
                    
12886
 
                        <code>path</code>
12887
 
                    
12888
 
                </li>
12889
 
            
12890
 
            </ul><span class="paren">)</span>
12891
 
        </div>
12892
 
    
12893
 
 
12894
 
    
12895
 
        <span class="returns-inline">
12896
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
12897
 
        </span>
12898
 
    
12899
 
 
12900
 
    
12901
 
 
12902
 
    
12903
 
 
12904
 
    
12905
 
 
12906
 
    
12907
 
 
12908
 
    
12909
 
 
12910
 
    <div class="meta">
12911
 
        
12912
 
            
12913
 
                <p>Inherited from
12914
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_match">Router</a>:
12915
 
            
12916
 
        
12917
 
        
12918
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l240"><code>app&#x2F;js&#x2F;router.js:240</code></a>
12919
 
        
12920
 
        </p>
12921
 
 
12922
 
 
12923
 
        
12924
 
 
12925
 
        
12926
 
    </div>
12927
 
 
12928
 
    <div class="description">
12929
 
        <p>Returns an array of route objects that match the specified URL path.</p>
12930
 
 
12931
 
<p>This method is called internally to determine which routes match the current
12932
 
path whenever the URL changes. You may override it if you want to customize
12933
 
the route matching logic, although this usually shouldn't be necessary.</p>
12934
 
 
12935
 
<p>Each returned route object has the following properties:</p>
12936
 
 
12937
 
<ul>
12938
 
<li><code>callback</code>: A function or a string representing the name of a function
12939
 
this router that should be executed when the route is triggered.</li>
12940
 
<li><code>keys</code>: An array of strings representing the named parameters defined in
12941
 
the route's path specification, if any.</li>
12942
 
<li><code>path</code>: The route's path specification, which may be either a string or
12943
 
a regex.</li>
12944
 
<li><code>regex</code>: A regular expression version of the route's path specification.
12945
 
This regex is used to determine whether the route matches a given path.</li>
12946
 
</ul>
12947
 
    </div>
12948
 
 
12949
 
    
12950
 
        <div class="params">
12951
 
            <h4>Parameters:</h4>
12952
 
 
12953
 
            <ul class="params-list">
12954
 
            
12955
 
                <li class="param">
12956
 
                    
12957
 
                        <code class="param-name">path</code>
12958
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12959
 
                    
12960
 
 
12961
 
                    
12962
 
 
12963
 
                    <div class="param-description">
12964
 
                        <p>URL path to match.</p>
12965
 
                    </div>
12966
 
 
12967
 
                    
12968
 
                </li>
12969
 
            
12970
 
            </ul>
12971
 
        </div>
12972
 
    
12973
 
 
12974
 
    
12975
 
        <div class="returns">
12976
 
            <h4>Returns:</h4>
12977
 
 
12978
 
            <div class="returns-description">
12979
 
                
12980
 
                    
12981
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>:
12982
 
                    
12983
 
                    Array of route objects that match the specified path.
12984
 
                
12985
 
            </div>
12986
 
        </div>
12987
 
    
12988
 
 
12989
 
    
12990
 
        <div class="example">
12991
 
            <h4>Example:</h4>
12992
 
 
12993
 
            <div class="example-content">
12994
 
                <pre class="code"><code class="prettyprint">router.route('/foo', function () {});
12995
 
router.match('/foo');
12996
 
// =&gt; [{callback: ..., keys: [], path: '/foo', regex: ...}]
12997
 
</code></pre>
12998
 
            </div>
12999
 
        </div>
13000
 
    
13001
 
</div>
13002
 
 
13003
 
                
13004
 
                    <div id="method_modifyAttr" class="method item inherited">
13005
 
    <h3 class="name"><code>modifyAttr</code></h3>
13006
 
 
13007
 
    
13008
 
        <div class="args">
13009
 
            <span class="paren">(</span><ul class="args-list inline commas">
13010
 
            
13011
 
                <li class="arg">
13012
 
                    
13013
 
                        <code>name</code>
13014
 
                    
13015
 
                </li>
13016
 
            
13017
 
                <li class="arg">
13018
 
                    
13019
 
                        <code>config</code>
13020
 
                    
13021
 
                </li>
13022
 
            
13023
 
            </ul><span class="paren">)</span>
13024
 
        </div>
13025
 
    
13026
 
 
13027
 
    
13028
 
 
13029
 
    
13030
 
 
13031
 
    
13032
 
 
13033
 
    
13034
 
 
13035
 
    
13036
 
 
13037
 
    
13038
 
 
13039
 
    <div class="meta">
13040
 
        
13041
 
            
13042
 
                <p>Inherited from
13043
 
                <a href="..&#x2F;classes&#x2F;AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
13044
 
            
13045
 
        
13046
 
        
13047
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeExtras.js.html#l39"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:39</code></a>
13048
 
        
13049
 
        </p>
13050
 
 
13051
 
 
13052
 
        
13053
 
 
13054
 
        
13055
 
    </div>
13056
 
 
13057
 
    <div class="description">
13058
 
        <p>Updates the configuration of an attribute which has already been added.</p>
13059
 
 
13060
 
<p>
13061
 
The properties which can be modified through this interface are limited
13062
 
to the following subset of attributes, which can be safely modified
13063
 
after a value has already been set on the attribute: readOnly, writeOnce, 
13064
 
broadcast and getter.
13065
 
</p>
13066
 
    </div>
13067
 
 
13068
 
    
13069
 
        <div class="params">
13070
 
            <h4>Parameters:</h4>
13071
 
 
13072
 
            <ul class="params-list">
13073
 
            
13074
 
                <li class="param">
13075
 
                    
13076
 
                        <code class="param-name">name</code>
13077
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13078
 
                    
13079
 
 
13080
 
                    
13081
 
 
13082
 
                    <div class="param-description">
13083
 
                        <p>The name of the attribute whose configuration is to be updated.</p>
13084
 
                    </div>
13085
 
 
13086
 
                    
13087
 
                </li>
13088
 
            
13089
 
                <li class="param">
13090
 
                    
13091
 
                        <code class="param-name">config</code>
13092
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13093
 
                    
13094
 
 
13095
 
                    
13096
 
 
13097
 
                    <div class="param-description">
13098
 
                        <p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
13099
 
                    </div>
13100
 
 
13101
 
                    
13102
 
                </li>
13103
 
            
13104
 
            </ul>
13105
 
        </div>
13106
 
    
13107
 
 
13108
 
    
13109
 
 
13110
 
    
13111
 
</div>
13112
 
 
13113
 
                
13114
 
                    <div id="method_navigate" class="method item inherited">
13115
 
    <h3 class="name"><code>navigate</code></h3>
13116
 
 
13117
 
    
13118
 
        <div class="args">
13119
 
            <span class="paren">(</span><ul class="args-list inline commas">
13120
 
            
13121
 
                <li class="arg">
13122
 
                    
13123
 
                        <code>url</code>
13124
 
                    
13125
 
                </li>
13126
 
            
13127
 
                <li class="arg">
13128
 
                    
13129
 
                        <code class="optional">[options]</code>
13130
 
                    
13131
 
                </li>
13132
 
            
13133
 
            </ul><span class="paren">)</span>
13134
 
        </div>
13135
 
    
13136
 
 
13137
 
    
13138
 
 
13139
 
    
13140
 
 
13141
 
    
13142
 
 
13143
 
    
13144
 
 
13145
 
    
13146
 
 
13147
 
    
13148
 
 
13149
 
    <div class="meta">
13150
 
        
13151
 
            <p>Inherited from
13152
 
            <a href="..&#x2F;classes&#x2F;PjaxBase.html#method_navigate">
13153
 
                PjaxBase
13154
 
            </a>
13155
 
            
13156
 
            but overwritten in
13157
 
            
13158
 
        
13159
 
        
13160
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l234"><code>app&#x2F;js&#x2F;app-base.js:234</code></a>
13161
 
        
13162
 
        </p>
13163
 
 
13164
 
 
13165
 
        
13166
 
 
13167
 
        
13168
 
    </div>
13169
 
 
13170
 
    <div class="description">
13171
 
        <p>Navigates to the specified URL if there is a route handler that matches. In
13172
 
browsers capable of using HTML5 history or when <code>serverRouting</code> is falsy,
13173
 
the navigation will be enhanced by firing the <code>navigate</code> event and having
13174
 
the app handle the "request". When <code>serverRouting</code> is <code>true</code>, non-HTML5
13175
 
browsers will navigate to the new URL via a full page reload.</p>
13176
 
 
13177
 
<p>When there is a route handler for the specified URL and it is being
13178
 
navigated to, this method will return <code>true</code>, otherwise it will return
13179
 
<code>false</code>.</p>
13180
 
 
13181
 
<p><strong>Note:</strong> The specified URL <em>must</em> be of the same origin as the current URL,
13182
 
otherwise an error will be logged and navigation will not occur. This is
13183
 
intended as both a security constraint and a purposely imposed limitation as
13184
 
it does not make sense to tell the app to navigate to a URL on a
13185
 
different scheme, host, or port.</p>
13186
 
    </div>
13187
 
 
13188
 
    
13189
 
        <div class="params">
13190
 
            <h4>Parameters:</h4>
13191
 
 
13192
 
            <ul class="params-list">
13193
 
            
13194
 
                <li class="param">
13195
 
                    
13196
 
                        <code class="param-name">url</code>
13197
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13198
 
                    
13199
 
 
13200
 
                    
13201
 
 
13202
 
                    <div class="param-description">
13203
 
                        <p>The URL to navigate to. This must be of the same origin
13204
 
  as the current URL.</p>
13205
 
                    </div>
13206
 
 
13207
 
                    
13208
 
                </li>
13209
 
            
13210
 
                <li class="param">
13211
 
                    
13212
 
                        <code class="param-name optional">[options]</code>
13213
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13214
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13215
 
                    
13216
 
 
13217
 
                    
13218
 
 
13219
 
                    <div class="param-description">
13220
 
                        <p>Additional options to configure the navigation.
13221
 
  These are mixed into the <code>navigate</code> event facade.</p>
13222
 
                    </div>
13223
 
 
13224
 
                    
13225
 
                        <ul class="params-list">
13226
 
                            
13227
 
                            <li class="param">
13228
 
                                
13229
 
                                    <code class="param-name optional">[replace]</code>
13230
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
13231
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
13232
 
                                
13233
 
 
13234
 
                                <div class="param-description">
13235
 
                                    <p>Whether or not the current history
13236
 
      entry will be replaced, or a new entry will be created. Will default
13237
 
      to <code>true</code> if the specified <code>url</code> is the same as the current URL.</p>
13238
 
                                </div>
13239
 
 
13240
 
                                
13241
 
                            </li>
13242
 
                            
13243
 
                            <li class="param">
13244
 
                                
13245
 
                                    <code class="param-name optional">[force]</code>
13246
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
13247
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
13248
 
                                
13249
 
 
13250
 
                                <div class="param-description">
13251
 
                                    <p>Whether the enhanced navigation
13252
 
      should occur even in browsers without HTML5 history. Will default to
13253
 
      <code>true</code> when <code>serverRouting</code> is falsy.</p>
13254
 
                                </div>
13255
 
 
13256
 
                                
13257
 
                            </li>
13258
 
                            
13259
 
                        </ul>
13260
 
                    
13261
 
                </li>
13262
 
            
13263
 
            </ul>
13264
 
        </div>
13265
 
    
13266
 
 
13267
 
    
13268
 
 
13269
 
    
13270
 
</div>
13271
 
 
13272
 
                
13273
 
                    <div id="method_on" class="method item inherited">
13274
 
    <h3 class="name"><code>on</code></h3>
13275
 
 
13276
 
    
13277
 
        <div class="args">
13278
 
            <span class="paren">(</span><ul class="args-list inline commas">
13279
 
            
13280
 
                <li class="arg">
13281
 
                    
13282
 
                        <code>type</code>
13283
 
                    
13284
 
                </li>
13285
 
            
13286
 
                <li class="arg">
13287
 
                    
13288
 
                        <code>fn</code>
13289
 
                    
13290
 
                </li>
13291
 
            
13292
 
                <li class="arg">
13293
 
                    
13294
 
                        <code class="optional">[context]</code>
13295
 
                    
13296
 
                </li>
13297
 
            
13298
 
                <li class="arg">
13299
 
                    
13300
 
                        <code class="optional">[arg*]</code>
13301
 
                    
13302
 
                </li>
13303
 
            
13304
 
            </ul><span class="paren">)</span>
13305
 
        </div>
13306
 
    
13307
 
 
13308
 
    
13309
 
        <span class="returns-inline">
13310
 
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
13311
 
        </span>
13312
 
    
13313
 
 
13314
 
    
13315
 
 
13316
 
    
13317
 
 
13318
 
    
13319
 
 
13320
 
    
13321
 
 
13322
 
    
13323
 
 
13324
 
    <div class="meta">
13325
 
        
13326
 
            
13327
 
                <p>Inherited from
13328
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_on">EventTarget</a>:
13329
 
            
13330
 
        
13331
 
        
13332
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l192"><code>event-custom&#x2F;js&#x2F;event-target.js:192</code></a>
13333
 
        
13334
 
        </p>
13335
 
 
13336
 
 
13337
 
        
13338
 
 
13339
 
        
13340
 
    </div>
13341
 
 
13342
 
    <div class="description">
13343
 
        <p>Subscribe a callback function to a custom event fired by this object or
13344
 
from an object that bubbles its events to this object.</p>
13345
 
 
13346
 
<p>Callback functions for events published with <code>emitFacade = true</code> will
13347
 
receive an <code>EventFacade</code> as the first argument (typically named "e").
13348
 
These callbacks can then call <code>e.preventDefault()</code> to disable the
13349
 
behavior published to that event's <code>defaultFn</code>.  See the <code>EventFacade</code>
13350
 
API for all available properties and methods. Subscribers to
13351
 
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
13352
 
after the event name.</p>
13353
 
 
13354
 
<p>To subscribe to multiple events at once, pass an object as the first
13355
 
argument, where the key:value pairs correspond to the eventName:callback,
13356
 
or pass an array of event names as the first argument to subscribe to
13357
 
all listed events with the same callback.</p>
13358
 
 
13359
 
<p>Returning <code>false</code> from a callback is supported as an alternative to
13360
 
calling <code>e.preventDefault(); e.stopPropagation();</code>.  However, it is
13361
 
recommended to use the event methods whenever possible.</p>
13362
 
    </div>
13363
 
 
13364
 
    
13365
 
        <div class="params">
13366
 
            <h4>Parameters:</h4>
13367
 
 
13368
 
            <ul class="params-list">
13369
 
            
13370
 
                <li class="param">
13371
 
                    
13372
 
                        <code class="param-name">type</code>
13373
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13374
 
                    
13375
 
 
13376
 
                    
13377
 
 
13378
 
                    <div class="param-description">
13379
 
                        <p>The name of the event</p>
13380
 
                    </div>
13381
 
 
13382
 
                    
13383
 
                </li>
13384
 
            
13385
 
                <li class="param">
13386
 
                    
13387
 
                        <code class="param-name">fn</code>
13388
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
13389
 
                    
13390
 
 
13391
 
                    
13392
 
 
13393
 
                    <div class="param-description">
13394
 
                        <p>The callback to execute in response to the event</p>
13395
 
                    </div>
13396
 
 
13397
 
                    
13398
 
                </li>
13399
 
            
13400
 
                <li class="param">
13401
 
                    
13402
 
                        <code class="param-name optional">[context]</code>
13403
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13404
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13405
 
                    
13406
 
 
13407
 
                    
13408
 
 
13409
 
                    <div class="param-description">
13410
 
                        <p>Override <code>this</code> object in callback</p>
13411
 
                    </div>
13412
 
 
13413
 
                    
13414
 
                </li>
13415
 
            
13416
 
                <li class="param">
13417
 
                    
13418
 
                        <code class="param-name optional">[arg*]</code>
13419
 
                        <span class="type">Any</span>
13420
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13421
 
                    
13422
 
 
13423
 
                    
13424
 
 
13425
 
                    <div class="param-description">
13426
 
                        <p>0..n additional arguments to supply to the subscriber</p>
13427
 
                    </div>
13428
 
 
13429
 
                    
13430
 
                </li>
13431
 
            
13432
 
            </ul>
13433
 
        </div>
13434
 
    
13435
 
 
13436
 
    
13437
 
        <div class="returns">
13438
 
            <h4>Returns:</h4>
13439
 
 
13440
 
            <div class="returns-description">
13441
 
                
13442
 
                    
13443
 
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
13444
 
                    
13445
 
                    A subscription handle capable of detaching that
13446
 
                      subscription
13447
 
                
13448
 
            </div>
13449
 
        </div>
13450
 
    
13451
 
 
13452
 
    
13453
 
</div>
13454
 
 
13455
 
                
13456
 
                    <div id="method_once" class="method item inherited">
13457
 
    <h3 class="name"><code>once</code></h3>
13458
 
 
13459
 
    
13460
 
        <div class="args">
13461
 
            <span class="paren">(</span><ul class="args-list inline commas">
13462
 
            
13463
 
                <li class="arg">
13464
 
                    
13465
 
                        <code>type</code>
13466
 
                    
13467
 
                </li>
13468
 
            
13469
 
                <li class="arg">
13470
 
                    
13471
 
                        <code>fn</code>
13472
 
                    
13473
 
                </li>
13474
 
            
13475
 
                <li class="arg">
13476
 
                    
13477
 
                        <code class="optional">[context]</code>
13478
 
                    
13479
 
                </li>
13480
 
            
13481
 
                <li class="arg">
13482
 
                    
13483
 
                        <code class="optional">[arg*]</code>
13484
 
                    
13485
 
                </li>
13486
 
            
13487
 
            </ul><span class="paren">)</span>
13488
 
        </div>
13489
 
    
13490
 
 
13491
 
    
13492
 
        <span class="returns-inline">
13493
 
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
13494
 
        </span>
13495
 
    
13496
 
 
13497
 
    
13498
 
 
13499
 
    
13500
 
 
13501
 
    
13502
 
 
13503
 
    
13504
 
 
13505
 
    
13506
 
 
13507
 
    <div class="meta">
13508
 
        
13509
 
            
13510
 
                <p>Inherited from
13511
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_once">EventTarget</a>:
13512
 
            
13513
 
        
13514
 
        
13515
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l128"><code>event-custom&#x2F;js&#x2F;event-target.js:128</code></a>
13516
 
        
13517
 
        </p>
13518
 
 
13519
 
 
13520
 
        
13521
 
 
13522
 
        
13523
 
    </div>
13524
 
 
13525
 
    <div class="description">
13526
 
        <p>Listen to a custom event hosted by this object one time.
13527
 
This is the equivalent to <code>on</code> except the
13528
 
listener is immediatelly detached when it is executed.</p>
13529
 
    </div>
13530
 
 
13531
 
    
13532
 
        <div class="params">
13533
 
            <h4>Parameters:</h4>
13534
 
 
13535
 
            <ul class="params-list">
13536
 
            
13537
 
                <li class="param">
13538
 
                    
13539
 
                        <code class="param-name">type</code>
13540
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13541
 
                    
13542
 
 
13543
 
                    
13544
 
 
13545
 
                    <div class="param-description">
13546
 
                        <p>The name of the event</p>
13547
 
                    </div>
13548
 
 
13549
 
                    
13550
 
                </li>
13551
 
            
13552
 
                <li class="param">
13553
 
                    
13554
 
                        <code class="param-name">fn</code>
13555
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
13556
 
                    
13557
 
 
13558
 
                    
13559
 
 
13560
 
                    <div class="param-description">
13561
 
                        <p>The callback to execute in response to the event</p>
13562
 
                    </div>
13563
 
 
13564
 
                    
13565
 
                </li>
13566
 
            
13567
 
                <li class="param">
13568
 
                    
13569
 
                        <code class="param-name optional">[context]</code>
13570
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13571
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13572
 
                    
13573
 
 
13574
 
                    
13575
 
 
13576
 
                    <div class="param-description">
13577
 
                        <p>Override <code>this</code> object in callback</p>
13578
 
                    </div>
13579
 
 
13580
 
                    
13581
 
                </li>
13582
 
            
13583
 
                <li class="param">
13584
 
                    
13585
 
                        <code class="param-name optional">[arg*]</code>
13586
 
                        <span class="type">Any</span>
13587
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13588
 
                    
13589
 
 
13590
 
                    
13591
 
 
13592
 
                    <div class="param-description">
13593
 
                        <p>0..n additional arguments to supply to the subscriber</p>
13594
 
                    </div>
13595
 
 
13596
 
                    
13597
 
                </li>
13598
 
            
13599
 
            </ul>
13600
 
        </div>
13601
 
    
13602
 
 
13603
 
    
13604
 
        <div class="returns">
13605
 
            <h4>Returns:</h4>
13606
 
 
13607
 
            <div class="returns-description">
13608
 
                
13609
 
                    
13610
 
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
13611
 
                    
13612
 
                    A subscription handle capable of detaching the
13613
 
                      subscription
13614
 
                
13615
 
            </div>
13616
 
        </div>
13617
 
    
13618
 
 
13619
 
    
13620
 
</div>
13621
 
 
13622
 
                
13623
 
                    <div id="method_onceAfter" class="method item inherited">
13624
 
    <h3 class="name"><code>onceAfter</code></h3>
13625
 
 
13626
 
    
13627
 
        <div class="args">
13628
 
            <span class="paren">(</span><ul class="args-list inline commas">
13629
 
            
13630
 
                <li class="arg">
13631
 
                    
13632
 
                        <code>type</code>
13633
 
                    
13634
 
                </li>
13635
 
            
13636
 
                <li class="arg">
13637
 
                    
13638
 
                        <code>fn</code>
13639
 
                    
13640
 
                </li>
13641
 
            
13642
 
                <li class="arg">
13643
 
                    
13644
 
                        <code class="optional">[context]</code>
13645
 
                    
13646
 
                </li>
13647
 
            
13648
 
                <li class="arg">
13649
 
                    
13650
 
                        <code class="optional">[arg*]</code>
13651
 
                    
13652
 
                </li>
13653
 
            
13654
 
            </ul><span class="paren">)</span>
13655
 
        </div>
13656
 
    
13657
 
 
13658
 
    
13659
 
        <span class="returns-inline">
13660
 
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
13661
 
        </span>
13662
 
    
13663
 
 
13664
 
    
13665
 
 
13666
 
    
13667
 
 
13668
 
    
13669
 
 
13670
 
    
13671
 
 
13672
 
    
13673
 
 
13674
 
    <div class="meta">
13675
 
        
13676
 
            
13677
 
                <p>Inherited from
13678
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_onceAfter">EventTarget</a>:
13679
 
            
13680
 
        
13681
 
        
13682
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l150"><code>event-custom&#x2F;js&#x2F;event-target.js:150</code></a>
13683
 
        
13684
 
        </p>
13685
 
 
13686
 
 
13687
 
        
13688
 
 
13689
 
        
13690
 
    </div>
13691
 
 
13692
 
    <div class="description">
13693
 
        <p>Listen to a custom event hosted by this object one time.
13694
 
This is the equivalent to <code>after</code> except the
13695
 
listener is immediatelly detached when it is executed.</p>
13696
 
    </div>
13697
 
 
13698
 
    
13699
 
        <div class="params">
13700
 
            <h4>Parameters:</h4>
13701
 
 
13702
 
            <ul class="params-list">
13703
 
            
13704
 
                <li class="param">
13705
 
                    
13706
 
                        <code class="param-name">type</code>
13707
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13708
 
                    
13709
 
 
13710
 
                    
13711
 
 
13712
 
                    <div class="param-description">
13713
 
                        <p>The name of the event</p>
13714
 
                    </div>
13715
 
 
13716
 
                    
13717
 
                </li>
13718
 
            
13719
 
                <li class="param">
13720
 
                    
13721
 
                        <code class="param-name">fn</code>
13722
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
13723
 
                    
13724
 
 
13725
 
                    
13726
 
 
13727
 
                    <div class="param-description">
13728
 
                        <p>The callback to execute in response to the event</p>
13729
 
                    </div>
13730
 
 
13731
 
                    
13732
 
                </li>
13733
 
            
13734
 
                <li class="param">
13735
 
                    
13736
 
                        <code class="param-name optional">[context]</code>
13737
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13738
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13739
 
                    
13740
 
 
13741
 
                    
13742
 
 
13743
 
                    <div class="param-description">
13744
 
                        <p>Override <code>this</code> object in callback</p>
13745
 
                    </div>
13746
 
 
13747
 
                    
13748
 
                </li>
13749
 
            
13750
 
                <li class="param">
13751
 
                    
13752
 
                        <code class="param-name optional">[arg*]</code>
13753
 
                        <span class="type">Any</span>
13754
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13755
 
                    
13756
 
 
13757
 
                    
13758
 
 
13759
 
                    <div class="param-description">
13760
 
                        <p>0..n additional arguments to supply to the subscriber</p>
13761
 
                    </div>
13762
 
 
13763
 
                    
13764
 
                </li>
13765
 
            
13766
 
            </ul>
13767
 
        </div>
13768
 
    
13769
 
 
13770
 
    
13771
 
        <div class="returns">
13772
 
            <h4>Returns:</h4>
13773
 
 
13774
 
            <div class="returns-description">
13775
 
                
13776
 
                    
13777
 
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
13778
 
                    
13779
 
                    A subscription handle capable of detaching that
13780
 
                      subscription
13781
 
                
13782
 
            </div>
13783
 
        </div>
13784
 
    
13785
 
 
13786
 
    
13787
 
</div>
13788
 
 
13789
 
                
13790
 
                    <div id="method_parseType" class="method item inherited">
13791
 
    <h3 class="name"><code>parseType</code></h3>
13792
 
 
13793
 
    
13794
 
        <div class="args">
13795
 
            <span class="paren">(</span><ul class="args-list inline commas">
13796
 
            
13797
 
                <li class="arg">
13798
 
                    
13799
 
                        <code>type</code>
13800
 
                    
13801
 
                </li>
13802
 
            
13803
 
                <li class="arg">
13804
 
                    
13805
 
                        <code class="optional">[pre=this._yuievt.config.prefix]</code>
13806
 
                    
13807
 
                </li>
13808
 
            
13809
 
            </ul><span class="paren">)</span>
13810
 
        </div>
13811
 
    
13812
 
 
13813
 
    
13814
 
        <span class="returns-inline">
13815
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
13816
 
        </span>
13817
 
    
13818
 
 
13819
 
    
13820
 
 
13821
 
    
13822
 
 
13823
 
    
13824
 
 
13825
 
    
13826
 
 
13827
 
    
13828
 
 
13829
 
    <div class="meta">
13830
 
        
13831
 
            
13832
 
                <p>Inherited from
13833
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_parseType">EventTarget</a>:
13834
 
            
13835
 
        
13836
 
        
13837
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l172"><code>event-custom&#x2F;js&#x2F;event-target.js:172</code></a>
13838
 
        
13839
 
        </p>
13840
 
 
13841
 
 
13842
 
        
13843
 
 
13844
 
        
13845
 
            <p>Available since 3.3.0</p>
13846
 
        
13847
 
    </div>
13848
 
 
13849
 
    <div class="description">
13850
 
        <p>Takes the type parameter passed to 'on' and parses out the
13851
 
various pieces that could be included in the type.  If the
13852
 
event type is passed without a prefix, it will be expanded
13853
 
to include the prefix one is supplied or the event target
13854
 
is configured with a default prefix.</p>
13855
 
    </div>
13856
 
 
13857
 
    
13858
 
        <div class="params">
13859
 
            <h4>Parameters:</h4>
13860
 
 
13861
 
            <ul class="params-list">
13862
 
            
13863
 
                <li class="param">
13864
 
                    
13865
 
                        <code class="param-name">type</code>
13866
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13867
 
                    
13868
 
 
13869
 
                    
13870
 
 
13871
 
                    <div class="param-description">
13872
 
                        <p>the type</p>
13873
 
                    </div>
13874
 
 
13875
 
                    
13876
 
                </li>
13877
 
            
13878
 
                <li class="param">
13879
 
                    
13880
 
                        <code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
13881
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13882
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
13883
 
                    
13884
 
 
13885
 
                    
13886
 
 
13887
 
                    <div class="param-description">
13888
 
                        <p>the prefix</p>
13889
 
                    </div>
13890
 
 
13891
 
                    
13892
 
                </li>
13893
 
            
13894
 
            </ul>
13895
 
        </div>
13896
 
    
13897
 
 
13898
 
    
13899
 
        <div class="returns">
13900
 
            <h4>Returns:</h4>
13901
 
 
13902
 
            <div class="returns-description">
13903
 
                
13904
 
                    
13905
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
13906
 
                    
13907
 
                    an array containing:
13908
 
 * the detach category, if supplied,
13909
 
 * the prefixed event type,
13910
 
 * whether or not this is an after listener,
13911
 
 * the supplied event type
13912
 
                
13913
 
            </div>
13914
 
        </div>
13915
 
    
13916
 
 
13917
 
    
13918
 
</div>
13919
 
 
13920
 
                
13921
 
                    <div id="method_publish" class="method item inherited">
13922
 
    <h3 class="name"><code>publish</code></h3>
13923
 
 
13924
 
    
13925
 
        <div class="args">
13926
 
            <span class="paren">(</span><ul class="args-list inline commas">
13927
 
            
13928
 
                <li class="arg">
13929
 
                    
13930
 
                        <code>type</code>
13931
 
                    
13932
 
                </li>
13933
 
            
13934
 
                <li class="arg">
13935
 
                    
13936
 
                        <code>opts</code>
13937
 
                    
13938
 
                </li>
13939
 
            
13940
 
            </ul><span class="paren">)</span>
13941
 
        </div>
13942
 
    
13943
 
 
13944
 
    
13945
 
        <span class="returns-inline">
13946
 
            <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
13947
 
        </span>
13948
 
    
13949
 
 
13950
 
    
13951
 
 
13952
 
    
13953
 
 
13954
 
    
13955
 
 
13956
 
    
13957
 
 
13958
 
    
13959
 
 
13960
 
    <div class="meta">
13961
 
        
13962
 
            
13963
 
                <p>Inherited from
13964
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_publish">EventTarget</a>:
13965
 
            
13966
 
        
13967
 
        
13968
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l489"><code>event-custom&#x2F;js&#x2F;event-target.js:489</code></a>
13969
 
        
13970
 
        </p>
13971
 
 
13972
 
 
13973
 
        
13974
 
 
13975
 
        
13976
 
    </div>
13977
 
 
13978
 
    <div class="description">
13979
 
        <p>Creates a new custom event of the specified type.  If a custom event
13980
 
by that name already exists, it will not be re-created.  In either
13981
 
case the custom event is returned.</p>
13982
 
    </div>
13983
 
 
13984
 
    
13985
 
        <div class="params">
13986
 
            <h4>Parameters:</h4>
13987
 
 
13988
 
            <ul class="params-list">
13989
 
            
13990
 
                <li class="param">
13991
 
                    
13992
 
                        <code class="param-name">type</code>
13993
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13994
 
                    
13995
 
 
13996
 
                    
13997
 
 
13998
 
                    <div class="param-description">
13999
 
                        <p>the type, or name of the event</p>
14000
 
                    </div>
14001
 
 
14002
 
                    
14003
 
                </li>
14004
 
            
14005
 
                <li class="param">
14006
 
                    
14007
 
                        <code class="param-name">opts</code>
14008
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14009
 
                    
14010
 
 
14011
 
                    
14012
 
 
14013
 
                    <div class="param-description">
14014
 
                        <p>optional config params.  Valid properties are:</p>
14015
 
 
14016
 
<p><ul>
14017
 
   <li>
14018
 
  'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
14019
 
   </li>
14020
 
   <li>
14021
 
  'bubbles': whether or not this event bubbles (true)
14022
 
             Events can only bubble if emitFacade is true.
14023
 
   </li>
14024
 
   <li>
14025
 
  'context': the default execution context for the listeners (this)
14026
 
   </li>
14027
 
   <li>
14028
 
  'defaultFn': the default function to execute when this event fires if preventDefault was not called
14029
 
   </li>
14030
 
   <li>
14031
 
  'emitFacade': whether or not this event emits a facade (false)
14032
 
   </li>
14033
 
   <li>
14034
 
  'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
14035
 
   </li>
14036
 
   <li>
14037
 
  'fireOnce': if an event is configured to fire once, new subscribers after
14038
 
  the fire will be notified immediately.
14039
 
   </li>
14040
 
   <li>
14041
 
  'async': fireOnce event listeners will fire synchronously if the event has already
14042
 
   fired unless async is true.
14043
 
   </li>
14044
 
   <li>
14045
 
  'preventable': whether or not preventDefault() has an effect (true)
14046
 
   </li>
14047
 
   <li>
14048
 
  'preventedFn': a function that is executed when preventDefault is called
14049
 
   </li>
14050
 
   <li>
14051
 
  'queuable': whether or not this event can be queued during bubbling (false)
14052
 
   </li>
14053
 
   <li>
14054
 
  'silent': if silent is true, debug messages are not provided for this event.
14055
 
   </li>
14056
 
   <li>
14057
 
  'stoppedFn': a function that is executed when stopPropagation is called
14058
 
   </li></p>
14059
 
 
14060
 
<p><li>
14061
 
  'monitored': specifies whether or not this event should send notifications about
14062
 
  when the event has been attached, detached, or published.
14063
 
   </li>
14064
 
   <li>
14065
 
  'type': the event type (valid option if not provided as the first parameter to publish)
14066
 
   </li>
14067
 
 </ul></p>
14068
 
                    </div>
14069
 
 
14070
 
                    
14071
 
                </li>
14072
 
            
14073
 
            </ul>
14074
 
        </div>
14075
 
    
14076
 
 
14077
 
    
14078
 
        <div class="returns">
14079
 
            <h4>Returns:</h4>
14080
 
 
14081
 
            <div class="returns-description">
14082
 
                
14083
 
                    
14084
 
                        <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
14085
 
                    
14086
 
                    the custom event
14087
 
                
14088
 
            </div>
14089
 
        </div>
14090
 
    
14091
 
 
14092
 
    
14093
 
</div>
14094
 
 
14095
 
                
14096
 
                    <div id="method_remove" class="method item inherited">
14097
 
    <h3 class="name"><code>remove</code></h3>
14098
 
 
14099
 
    
14100
 
        <span class="paren">()</span>
14101
 
    
14102
 
 
14103
 
    
14104
 
 
14105
 
    
14106
 
 
14107
 
    
14108
 
 
14109
 
    
14110
 
 
14111
 
    
14112
 
 
14113
 
    
14114
 
        <span class="flag chainable">chainable</span>
14115
 
    
14116
 
 
14117
 
    <div class="meta">
14118
 
        
14119
 
            
14120
 
                <p>Inherited from
14121
 
                <a href="..&#x2F;classes&#x2F;View.html#method_remove">View</a>:
14122
 
            
14123
 
        
14124
 
        
14125
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l263"><code>app&#x2F;js&#x2F;view.js:263</code></a>
14126
 
        
14127
 
        </p>
14128
 
 
14129
 
 
14130
 
        
14131
 
 
14132
 
        
14133
 
    </div>
14134
 
 
14135
 
    <div class="description">
14136
 
        <p>Removes this view's container element from the DOM (if it's in the DOM),
14137
 
but doesn't destroy it or any event listeners attached to it.</p>
14138
 
    </div>
14139
 
 
14140
 
    
14141
 
 
14142
 
    
14143
 
 
14144
 
    
14145
 
</div>
14146
 
 
14147
 
                
14148
 
                    <div id="method_removeAttr" class="method item inherited">
14149
 
    <h3 class="name"><code>removeAttr</code></h3>
14150
 
 
14151
 
    
14152
 
        <div class="args">
14153
 
            <span class="paren">(</span><ul class="args-list inline commas">
14154
 
            
14155
 
                <li class="arg">
14156
 
                    
14157
 
                        <code>name</code>
14158
 
                    
14159
 
                </li>
14160
 
            
14161
 
            </ul><span class="paren">)</span>
14162
 
        </div>
14163
 
    
14164
 
 
14165
 
    
14166
 
 
14167
 
    
14168
 
 
14169
 
    
14170
 
 
14171
 
    
14172
 
 
14173
 
    
14174
 
 
14175
 
    
14176
 
 
14177
 
    <div class="meta">
14178
 
        
14179
 
            
14180
 
                <p>Inherited from
14181
 
                <a href="..&#x2F;classes&#x2F;AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
14182
 
            
14183
 
        
14184
 
        
14185
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeExtras.js.html#l77"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:77</code></a>
14186
 
        
14187
 
        </p>
14188
 
 
14189
 
 
14190
 
        
14191
 
 
14192
 
        
14193
 
    </div>
14194
 
 
14195
 
    <div class="description">
14196
 
        <p>Removes an attribute from the host object</p>
14197
 
    </div>
14198
 
 
14199
 
    
14200
 
        <div class="params">
14201
 
            <h4>Parameters:</h4>
14202
 
 
14203
 
            <ul class="params-list">
14204
 
            
14205
 
                <li class="param">
14206
 
                    
14207
 
                        <code class="param-name">name</code>
14208
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14209
 
                    
14210
 
 
14211
 
                    
14212
 
 
14213
 
                    <div class="param-description">
14214
 
                        <p>The name of the attribute to be removed.</p>
14215
 
                    </div>
14216
 
 
14217
 
                    
14218
 
                </li>
14219
 
            
14220
 
            </ul>
14221
 
        </div>
14222
 
    
14223
 
 
14224
 
    
14225
 
 
14226
 
    
14227
 
</div>
14228
 
 
14229
 
                
14230
 
                    <div id="method_removeQuery" class="method item inherited">
14231
 
    <h3 class="name"><code>removeQuery</code></h3>
14232
 
 
14233
 
    
14234
 
        <div class="args">
14235
 
            <span class="paren">(</span><ul class="args-list inline commas">
14236
 
            
14237
 
                <li class="arg">
14238
 
                    
14239
 
                        <code>url</code>
14240
 
                    
14241
 
                </li>
14242
 
            
14243
 
            </ul><span class="paren">)</span>
14244
 
        </div>
14245
 
    
14246
 
 
14247
 
    
14248
 
        <span class="returns-inline">
14249
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14250
 
        </span>
14251
 
    
14252
 
 
14253
 
    
14254
 
 
14255
 
    
14256
 
 
14257
 
    
14258
 
 
14259
 
    
14260
 
 
14261
 
    
14262
 
 
14263
 
    <div class="meta">
14264
 
        
14265
 
            
14266
 
                <p>Inherited from
14267
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_removeQuery">Router</a>:
14268
 
            
14269
 
        
14270
 
        
14271
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l295"><code>app&#x2F;js&#x2F;router.js:295</code></a>
14272
 
        
14273
 
        </p>
14274
 
 
14275
 
 
14276
 
        
14277
 
 
14278
 
        
14279
 
    </div>
14280
 
 
14281
 
    <div class="description">
14282
 
        <p>Removes a query string from the end of the <em>url</em> (if one exists) and returns
14283
 
the result.</p>
14284
 
    </div>
14285
 
 
14286
 
    
14287
 
        <div class="params">
14288
 
            <h4>Parameters:</h4>
14289
 
 
14290
 
            <ul class="params-list">
14291
 
            
14292
 
                <li class="param">
14293
 
                    
14294
 
                        <code class="param-name">url</code>
14295
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14296
 
                    
14297
 
 
14298
 
                    
14299
 
 
14300
 
                    <div class="param-description">
14301
 
                        <p>URL.</p>
14302
 
                    </div>
14303
 
 
14304
 
                    
14305
 
                </li>
14306
 
            
14307
 
            </ul>
14308
 
        </div>
14309
 
    
14310
 
 
14311
 
    
14312
 
        <div class="returns">
14313
 
            <h4>Returns:</h4>
14314
 
 
14315
 
            <div class="returns-description">
14316
 
                
14317
 
                    
14318
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
14319
 
                    
14320
 
                    Queryless path.
14321
 
                
14322
 
            </div>
14323
 
        </div>
14324
 
    
14325
 
 
14326
 
    
14327
 
</div>
14328
 
 
14329
 
                
14330
 
                    <div id="method_removeRoot" class="method item inherited">
14331
 
    <h3 class="name"><code>removeRoot</code></h3>
14332
 
 
14333
 
    
14334
 
        <div class="args">
14335
 
            <span class="paren">(</span><ul class="args-list inline commas">
14336
 
            
14337
 
                <li class="arg">
14338
 
                    
14339
 
                        <code>url</code>
14340
 
                    
14341
 
                </li>
14342
 
            
14343
 
            </ul><span class="paren">)</span>
14344
 
        </div>
14345
 
    
14346
 
 
14347
 
    
14348
 
        <span class="returns-inline">
14349
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14350
 
        </span>
14351
 
    
14352
 
 
14353
 
    
14354
 
 
14355
 
    
14356
 
 
14357
 
    
14358
 
 
14359
 
    
14360
 
 
14361
 
    
14362
 
 
14363
 
    <div class="meta">
14364
 
        
14365
 
            
14366
 
                <p>Inherited from
14367
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_removeRoot">Router</a>:
14368
 
            
14369
 
        
14370
 
        
14371
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l273"><code>app&#x2F;js&#x2F;router.js:273</code></a>
14372
 
        
14373
 
        </p>
14374
 
 
14375
 
 
14376
 
        
14377
 
 
14378
 
        
14379
 
    </div>
14380
 
 
14381
 
    <div class="description">
14382
 
        <p>Removes the <code>root</code> URL from the front of <em>url</em> (if it's there) and returns
14383
 
the result. The returned path will always have a leading <code>/</code>.</p>
14384
 
    </div>
14385
 
 
14386
 
    
14387
 
        <div class="params">
14388
 
            <h4>Parameters:</h4>
14389
 
 
14390
 
            <ul class="params-list">
14391
 
            
14392
 
                <li class="param">
14393
 
                    
14394
 
                        <code class="param-name">url</code>
14395
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14396
 
                    
14397
 
 
14398
 
                    
14399
 
 
14400
 
                    <div class="param-description">
14401
 
                        <p>URL.</p>
14402
 
                    </div>
14403
 
 
14404
 
                    
14405
 
                </li>
14406
 
            
14407
 
            </ul>
14408
 
        </div>
14409
 
    
14410
 
 
14411
 
    
14412
 
        <div class="returns">
14413
 
            <h4>Returns:</h4>
14414
 
 
14415
 
            <div class="returns-description">
14416
 
                
14417
 
                    
14418
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
14419
 
                    
14420
 
                    Rootless path.
14421
 
                
14422
 
            </div>
14423
 
        </div>
14424
 
    
14425
 
 
14426
 
    
14427
 
</div>
14428
 
 
14429
 
                
14430
 
                    <div id="method_removeTarget" class="method item inherited">
14431
 
    <h3 class="name"><code>removeTarget</code></h3>
14432
 
 
14433
 
    
14434
 
        <div class="args">
14435
 
            <span class="paren">(</span><ul class="args-list inline commas">
14436
 
            
14437
 
                <li class="arg">
14438
 
                    
14439
 
                        <code>o</code>
14440
 
                    
14441
 
                </li>
14442
 
            
14443
 
            </ul><span class="paren">)</span>
14444
 
        </div>
14445
 
    
14446
 
 
14447
 
    
14448
 
 
14449
 
    
14450
 
 
14451
 
    
14452
 
 
14453
 
    
14454
 
 
14455
 
    
14456
 
 
14457
 
    
14458
 
 
14459
 
    <div class="meta">
14460
 
        
14461
 
            
14462
 
                <p>Inherited from
14463
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_removeTarget">EventTarget</a>:
14464
 
            
14465
 
        
14466
 
        
14467
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-facade.js.html#l409"><code>event-custom&#x2F;js&#x2F;event-facade.js:409</code></a>
14468
 
        
14469
 
        </p>
14470
 
 
14471
 
 
14472
 
        
14473
 
 
14474
 
        
14475
 
    </div>
14476
 
 
14477
 
    <div class="description">
14478
 
        <p>Removes a bubble target</p>
14479
 
    </div>
14480
 
 
14481
 
    
14482
 
        <div class="params">
14483
 
            <h4>Parameters:</h4>
14484
 
 
14485
 
            <ul class="params-list">
14486
 
            
14487
 
                <li class="param">
14488
 
                    
14489
 
                        <code class="param-name">o</code>
14490
 
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
14491
 
                    
14492
 
 
14493
 
                    
14494
 
 
14495
 
                    <div class="param-description">
14496
 
                        <p>the target to remove</p>
14497
 
                    </div>
14498
 
 
14499
 
                    
14500
 
                </li>
14501
 
            
14502
 
            </ul>
14503
 
        </div>
14504
 
    
14505
 
 
14506
 
    
14507
 
 
14508
 
    
14509
 
</div>
14510
 
 
14511
 
                
14512
 
                    <div id="method_render" class="method item inherited">
14513
 
    <h3 class="name"><code>render</code></h3>
14514
 
 
14515
 
    
14516
 
        <span class="paren">()</span>
14517
 
    
14518
 
 
14519
 
    
14520
 
 
14521
 
    
14522
 
 
14523
 
    
14524
 
 
14525
 
    
14526
 
 
14527
 
    
14528
 
 
14529
 
    
14530
 
        <span class="flag chainable">chainable</span>
14531
 
    
14532
 
 
14533
 
    <div class="meta">
14534
 
        
14535
 
            <p>Inherited from
14536
 
            <a href="..&#x2F;classes&#x2F;View.html#method_render">
14537
 
                View
14538
 
            </a>
14539
 
            
14540
 
            but overwritten in
14541
 
            
14542
 
        
14543
 
        
14544
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l266"><code>app&#x2F;js&#x2F;app-base.js:266</code></a>
14545
 
        
14546
 
        </p>
14547
 
 
14548
 
 
14549
 
        
14550
 
 
14551
 
        
14552
 
    </div>
14553
 
 
14554
 
    <div class="description">
14555
 
        <p>Renders this application by appending the <code>viewContainer</code> node to the
14556
 
<code>container</code> node if it isn't already a child of the container, and the
14557
 
<code>activeView</code> will be appended the view container, if it isn't already.</p>
14558
 
 
14559
 
<p>You should call this method at least once, usually after the initialization
14560
 
of your app instance so the proper DOM structure is setup and optionally
14561
 
append the container to the DOM if it's not there already.</p>
14562
 
 
14563
 
<p>You may override this method to customize the app's rendering, but you
14564
 
should expect that the <code>viewContainer</code>'s contents will be modified by the
14565
 
app for the purpose of rendering the <code>activeView</code> when it changes.</p>
14566
 
    </div>
14567
 
 
14568
 
    
14569
 
 
14570
 
    
14571
 
 
14572
 
    
14573
 
</div>
14574
 
 
14575
 
                
14576
 
                    <div id="method_replace" class="method item inherited">
14577
 
    <h3 class="name"><code>replace</code></h3>
14578
 
 
14579
 
    
14580
 
        <div class="args">
14581
 
            <span class="paren">(</span><ul class="args-list inline commas">
14582
 
            
14583
 
                <li class="arg">
14584
 
                    
14585
 
                        <code class="optional">[url]</code>
14586
 
                    
14587
 
                </li>
14588
 
            
14589
 
            </ul><span class="paren">)</span>
14590
 
        </div>
14591
 
    
14592
 
 
14593
 
    
14594
 
 
14595
 
    
14596
 
 
14597
 
    
14598
 
 
14599
 
    
14600
 
 
14601
 
    
14602
 
 
14603
 
    
14604
 
        <span class="flag chainable">chainable</span>
14605
 
    
14606
 
 
14607
 
    <div class="meta">
14608
 
        
14609
 
            
14610
 
                <p>Inherited from
14611
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_replace">Router</a>:
14612
 
            
14613
 
        
14614
 
        
14615
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l307"><code>app&#x2F;js&#x2F;router.js:307</code></a>
14616
 
        
14617
 
        </p>
14618
 
 
14619
 
 
14620
 
        
14621
 
 
14622
 
        
14623
 
    </div>
14624
 
 
14625
 
    <div class="description">
14626
 
        <p>Replaces the current browser history entry with a new one, and dispatches to
14627
 
the first matching route handler, if any.</p>
14628
 
 
14629
 
<p>Behind the scenes, this method uses HTML5 <code>pushState()</code> in browsers that
14630
 
support it (or the location hash in older browsers and IE) to change the
14631
 
URL.</p>
14632
 
 
14633
 
<p>The specified URL must share the same origin (i.e., protocol, host, and
14634
 
port) as the current page, or an error will occur.</p>
14635
 
    </div>
14636
 
 
14637
 
    
14638
 
        <div class="params">
14639
 
            <h4>Parameters:</h4>
14640
 
 
14641
 
            <ul class="params-list">
14642
 
            
14643
 
                <li class="param">
14644
 
                    
14645
 
                        <code class="param-name optional">[url]</code>
14646
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14647
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
14648
 
                    
14649
 
 
14650
 
                    
14651
 
 
14652
 
                    <div class="param-description">
14653
 
                        <p>URL to set. This URL needs to be of the same origin as
14654
 
  the current URL. This can be a URL relative to the router's <code>root</code>
14655
 
  attribute. If no URL is specified, the page's current URL will be used.</p>
14656
 
                    </div>
14657
 
 
14658
 
                    
14659
 
                </li>
14660
 
            
14661
 
            </ul>
14662
 
        </div>
14663
 
    
14664
 
 
14665
 
    
14666
 
 
14667
 
    
14668
 
        <div class="example">
14669
 
            <h4>Example:</h4>
14670
 
 
14671
 
            <div class="example-content">
14672
 
                <pre class="code"><code class="prettyprint">// Starting URL: http://example.com/
14673
 
 
14674
 
router.replace('/path/');
14675
 
// New URL: http://example.com/path/
14676
 
 
14677
 
router.replace('/path?foo=bar');
14678
 
// New URL: http://example.com/path?foo=bar
14679
 
 
14680
 
router.replace('/');
14681
 
// New URL: http://example.com/
14682
 
</code></pre>
14683
 
            </div>
14684
 
        </div>
14685
 
    
14686
 
</div>
14687
 
 
14688
 
                
14689
 
                    <div id="method_reset" class="method item inherited">
14690
 
    <h3 class="name"><code>reset</code></h3>
14691
 
 
14692
 
    
14693
 
        <div class="args">
14694
 
            <span class="paren">(</span><ul class="args-list inline commas">
14695
 
            
14696
 
                <li class="arg">
14697
 
                    
14698
 
                        <code>name</code>
14699
 
                    
14700
 
                </li>
14701
 
            
14702
 
            </ul><span class="paren">)</span>
14703
 
        </div>
14704
 
    
14705
 
 
14706
 
    
14707
 
        <span class="returns-inline">
14708
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14709
 
        </span>
14710
 
    
14711
 
 
14712
 
    
14713
 
 
14714
 
    
14715
 
 
14716
 
    
14717
 
 
14718
 
    
14719
 
 
14720
 
    
14721
 
        <span class="flag chainable">chainable</span>
14722
 
    
14723
 
 
14724
 
    <div class="meta">
14725
 
        
14726
 
            
14727
 
                <p>Inherited from
14728
 
                <a href="..&#x2F;classes&#x2F;AttributeExtras.html#method_reset">AttributeExtras</a>:
14729
 
            
14730
 
        
14731
 
        
14732
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeExtras.js.html#l87"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:87</code></a>
14733
 
        
14734
 
        </p>
14735
 
 
14736
 
 
14737
 
        
14738
 
 
14739
 
        
14740
 
    </div>
14741
 
 
14742
 
    <div class="description">
14743
 
        <p>Resets the attribute (or all attributes) to its initial value, as long as
14744
 
the attribute is not readOnly, or writeOnce.</p>
14745
 
    </div>
14746
 
 
14747
 
    
14748
 
        <div class="params">
14749
 
            <h4>Parameters:</h4>
14750
 
 
14751
 
            <ul class="params-list">
14752
 
            
14753
 
                <li class="param">
14754
 
                    
14755
 
                        <code class="param-name">name</code>
14756
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14757
 
                    
14758
 
 
14759
 
                    
14760
 
 
14761
 
                    <div class="param-description">
14762
 
                        <p>Optional. The name of the attribute to reset.  If omitted, all attributes are reset.</p>
14763
 
                    </div>
14764
 
 
14765
 
                    
14766
 
                </li>
14767
 
            
14768
 
            </ul>
14769
 
        </div>
14770
 
    
14771
 
 
14772
 
    
14773
 
        <div class="returns">
14774
 
            <h4>Returns:</h4>
14775
 
 
14776
 
            <div class="returns-description">
14777
 
                
14778
 
                    
14779
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
14780
 
                    
14781
 
                    A reference to the host object.
14782
 
                
14783
 
            </div>
14784
 
        </div>
14785
 
    
14786
 
 
14787
 
    
14788
 
</div>
14789
 
 
14790
 
                
14791
 
                    <div id="method_route" class="method item inherited">
14792
 
    <h3 class="name"><code>route</code></h3>
14793
 
 
14794
 
    
14795
 
        <div class="args">
14796
 
            <span class="paren">(</span><ul class="args-list inline commas">
14797
 
            
14798
 
                <li class="arg">
14799
 
                    
14800
 
                        <code>path</code>
14801
 
                    
14802
 
                </li>
14803
 
            
14804
 
                <li class="arg">
14805
 
                    
14806
 
                        <code>callback</code>
14807
 
                    
14808
 
                </li>
14809
 
            
14810
 
            </ul><span class="paren">)</span>
14811
 
        </div>
14812
 
    
14813
 
 
14814
 
    
14815
 
 
14816
 
    
14817
 
 
14818
 
    
14819
 
 
14820
 
    
14821
 
 
14822
 
    
14823
 
 
14824
 
    
14825
 
        <span class="flag chainable">chainable</span>
14826
 
    
14827
 
 
14828
 
    <div class="meta">
14829
 
        
14830
 
            
14831
 
                <p>Inherited from
14832
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_route">Router</a>:
14833
 
            
14834
 
        
14835
 
        
14836
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l341"><code>app&#x2F;js&#x2F;router.js:341</code></a>
14837
 
        
14838
 
        </p>
14839
 
 
14840
 
 
14841
 
        
14842
 
 
14843
 
        
14844
 
    </div>
14845
 
 
14846
 
    <div class="description">
14847
 
        <p>Adds a route handler for the specified URL <em>path</em>.</p>
14848
 
 
14849
 
<p>The <em>path</em> parameter may be either a string or a regular expression. If it's
14850
 
a string, it may contain named parameters: <code>:param</code> will match any single
14851
 
part of a URL path (not including <code>/</code> characters), and <code>*param</code> will match
14852
 
any number of parts of a URL path (including <code>/</code> characters). These named
14853
 
parameters will be made available as keys on the <code>req.params</code> object that's
14854
 
passed to route handlers.</p>
14855
 
 
14856
 
<p>If the <em>path</em> parameter is a regex, all pattern matches will be made
14857
 
available as numbered keys on <code>req.params</code>, starting with <code>0</code> for the full
14858
 
match, then <code>1</code> for the first subpattern match, and so on.</p>
14859
 
 
14860
 
<p>Here's a set of sample routes along with URL paths that they match:</p>
14861
 
 
14862
 
<ul>
14863
 
<li><p>Route: <code>/photos/:tag/:page</code></p>
14864
 
 
14865
 
<ul><li>URL: <code>/photos/kittens/1</code>, params: <code>{tag: 'kittens', page: '1'}</code></li>
14866
 
<li>URL: <code>/photos/puppies/2</code>, params: <code>{tag: 'puppies', page: '2'}</code></li></ul></li>
14867
 
<li><p>Route: <code>/file/*path</code></p>
14868
 
 
14869
 
<ul><li>URL: <code>/file/foo/bar/baz.txt</code>, params: <code>{path: 'foo/bar/baz.txt'}</code></li>
14870
 
<li>URL: <code>/file/foo</code>, params: <code>{path: 'foo'}</code></li></ul></li>
14871
 
</ul>
14872
 
 
14873
 
<p>If multiple route handlers match a given URL, they will be executed in the
14874
 
order they were added. The first route that was added will be the first to
14875
 
be executed.</p>
14876
 
    </div>
14877
 
 
14878
 
    
14879
 
        <div class="params">
14880
 
            <h4>Parameters:</h4>
14881
 
 
14882
 
            <ul class="params-list">
14883
 
            
14884
 
                <li class="param">
14885
 
                    
14886
 
                        <code class="param-name">path</code>
14887
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
14888
 
                    
14889
 
 
14890
 
                    
14891
 
 
14892
 
                    <div class="param-description">
14893
 
                        <p>Path to match. May be a string or a regular
14894
 
  expression.</p>
14895
 
                    </div>
14896
 
 
14897
 
                    
14898
 
                </li>
14899
 
            
14900
 
                <li class="param">
14901
 
                    
14902
 
                        <code class="param-name">callback</code>
14903
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14904
 
                    
14905
 
 
14906
 
                    
14907
 
 
14908
 
                    <div class="param-description">
14909
 
                        <p>Callback function to call whenever this
14910
 
    route is triggered. If specified as a string, the named function will be
14911
 
    called on this router instance.</p>
14912
 
                    </div>
14913
 
 
14914
 
                    
14915
 
                        <ul class="params-list">
14916
 
                            
14917
 
                            <li class="param">
14918
 
                                
14919
 
                                    <code class="param-name">req</code>
14920
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14921
 
                                
14922
 
 
14923
 
                                <div class="param-description">
14924
 
                                    <p>Request object containing information about
14925
 
      the request. It contains the following properties.</p>
14926
 
                                </div>
14927
 
 
14928
 
                                
14929
 
                                    <ul class="params-list">
14930
 
                                        
14931
 
                                        <li class="param">
14932
 
                                            
14933
 
                                                <code class="param-name">params</code>
14934
 
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14935
 
                                            
14936
 
 
14937
 
                                            <div class="param-description">
14938
 
                                                Captured parameters matched by
14939
 
      the route path specification. If a string path was used and contained
14940
 
      named parameters, then this will be a key/value hash mapping parameter
14941
 
      names to their matched values. If a regex path was used, this will be
14942
 
      an array of subpattern matches starting at index 0 for the full match,
14943
 
      then 1 for the first subpattern match, and so on.
14944
 
                                            </div>
14945
 
                                        </li>
14946
 
                                        
14947
 
                                        <li class="param">
14948
 
                                            
14949
 
                                                <code class="param-name">path</code>
14950
 
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14951
 
                                            
14952
 
 
14953
 
                                            <div class="param-description">
14954
 
                                                The current URL path.
14955
 
                                            </div>
14956
 
                                        </li>
14957
 
                                        
14958
 
                                        <li class="param">
14959
 
                                            
14960
 
                                                <code class="param-name">query</code>
14961
 
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14962
 
                                            
14963
 
 
14964
 
                                            <div class="param-description">
14965
 
                                                Query hash representing the URL query
14966
 
      string, if any. Parameter names are keys, and are mapped to parameter
14967
 
      values.
14968
 
                                            </div>
14969
 
                                        </li>
14970
 
                                        
14971
 
                                        <li class="param">
14972
 
                                            
14973
 
                                                <code class="param-name">url</code>
14974
 
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14975
 
                                            
14976
 
 
14977
 
                                            <div class="param-description">
14978
 
                                                The full URL.
14979
 
                                            </div>
14980
 
                                        </li>
14981
 
                                        
14982
 
                                        <li class="param">
14983
 
                                            
14984
 
                                                <code class="param-name">src</code>
14985
 
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14986
 
                                            
14987
 
 
14988
 
                                            <div class="param-description">
14989
 
                                                What initiated the dispatch. In an
14990
 
      HTML5 browser, when the back/forward buttons are used, this property
14991
 
      will have a value of "popstate".
14992
 
                                            </div>
14993
 
                                        </li>
14994
 
                                        
14995
 
                                    </ul>
14996
 
                                
14997
 
                            </li>
14998
 
                            
14999
 
                            <li class="param">
15000
 
                                
15001
 
                                    <code class="param-name">res</code>
15002
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15003
 
                                
15004
 
 
15005
 
                                <div class="param-description">
15006
 
                                    <p>Response object containing methods and
15007
 
      information that relate to responding to a request. It contains the
15008
 
      following properties.</p>
15009
 
                                </div>
15010
 
 
15011
 
                                
15012
 
                                    <ul class="params-list">
15013
 
                                        
15014
 
                                        <li class="param">
15015
 
                                            
15016
 
                                                <code class="param-name">req</code>
15017
 
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15018
 
                                            
15019
 
 
15020
 
                                            <div class="param-description">
15021
 
                                                Reference to the request object.
15022
 
                                            </div>
15023
 
                                        </li>
15024
 
                                        
15025
 
                                    </ul>
15026
 
                                
15027
 
                            </li>
15028
 
                            
15029
 
                            <li class="param">
15030
 
                                
15031
 
                                    <code class="param-name">next</code>
15032
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
15033
 
                                
15034
 
 
15035
 
                                <div class="param-description">
15036
 
                                    <p>Callback to pass control to the next
15037
 
    matching route. If you don't call this function, then no further route
15038
 
    handlers will be executed, even if there are more that match. If you do
15039
 
    call this function, then the next matching route handler (if any) will
15040
 
    be called, and will receive the same <code>req</code> object that was passed to
15041
 
    this route (so you can use the request object to pass data along to
15042
 
    subsequent routes).</p>
15043
 
                                </div>
15044
 
 
15045
 
                                
15046
 
                            </li>
15047
 
                            
15048
 
                        </ul>
15049
 
                    
15050
 
                </li>
15051
 
            
15052
 
            </ul>
15053
 
        </div>
15054
 
    
15055
 
 
15056
 
    
15057
 
 
15058
 
    
15059
 
        <div class="example">
15060
 
            <h4>Example:</h4>
15061
 
 
15062
 
            <div class="example-content">
15063
 
                <pre class="code"><code class="prettyprint">router.route('/photos/:tag/:page', function (req, res, next) {
15064
 
  Y.log('Current tag: ' + req.params.tag);
15065
 
  Y.log('Current page number: ' + req.params.page);
15066
 
});
15067
 
</code></pre>
15068
 
            </div>
15069
 
        </div>
15070
 
    
15071
 
</div>
15072
 
 
15073
 
                
15074
 
                    <div id="method_save" class="method item inherited">
15075
 
    <h3 class="name"><code>save</code></h3>
15076
 
 
15077
 
    
15078
 
        <div class="args">
15079
 
            <span class="paren">(</span><ul class="args-list inline commas">
15080
 
            
15081
 
                <li class="arg">
15082
 
                    
15083
 
                        <code class="optional">[url]</code>
15084
 
                    
15085
 
                </li>
15086
 
            
15087
 
            </ul><span class="paren">)</span>
15088
 
        </div>
15089
 
    
15090
 
 
15091
 
    
15092
 
 
15093
 
    
15094
 
 
15095
 
    
15096
 
 
15097
 
    
15098
 
 
15099
 
    
15100
 
 
15101
 
    
15102
 
        <span class="flag chainable">chainable</span>
15103
 
    
15104
 
 
15105
 
    <div class="meta">
15106
 
        
15107
 
            
15108
 
                <p>Inherited from
15109
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_save">Router</a>:
15110
 
            
15111
 
        
15112
 
        
15113
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l423"><code>app&#x2F;js&#x2F;router.js:423</code></a>
15114
 
        
15115
 
        </p>
15116
 
 
15117
 
 
15118
 
        
15119
 
 
15120
 
        
15121
 
    </div>
15122
 
 
15123
 
    <div class="description">
15124
 
        <p>Saves a new browser history entry and dispatches to the first matching route
15125
 
handler, if any.</p>
15126
 
 
15127
 
<p>Behind the scenes, this method uses HTML5 <code>pushState()</code> in browsers that
15128
 
support it (or the location hash in older browsers and IE) to change the
15129
 
URL and create a history entry.</p>
15130
 
 
15131
 
<p>The specified URL must share the same origin (i.e., protocol, host, and
15132
 
port) as the current page, or an error will occur.</p>
15133
 
    </div>
15134
 
 
15135
 
    
15136
 
        <div class="params">
15137
 
            <h4>Parameters:</h4>
15138
 
 
15139
 
            <ul class="params-list">
15140
 
            
15141
 
                <li class="param">
15142
 
                    
15143
 
                        <code class="param-name optional">[url]</code>
15144
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15145
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
15146
 
                    
15147
 
 
15148
 
                    
15149
 
 
15150
 
                    <div class="param-description">
15151
 
                        <p>URL to set. This URL needs to be of the same origin as
15152
 
  the current URL. This can be a URL relative to the router's <code>root</code>
15153
 
  attribute. If no URL is specified, the page's current URL will be used.</p>
15154
 
                    </div>
15155
 
 
15156
 
                    
15157
 
                </li>
15158
 
            
15159
 
            </ul>
15160
 
        </div>
15161
 
    
15162
 
 
15163
 
    
15164
 
 
15165
 
    
15166
 
        <div class="example">
15167
 
            <h4>Example:</h4>
15168
 
 
15169
 
            <div class="example-content">
15170
 
                <pre class="code"><code class="prettyprint">// Starting URL: http://example.com/
15171
 
 
15172
 
router.save('/path/');
15173
 
// New URL: http://example.com/path/
15174
 
 
15175
 
router.save('/path?foo=bar');
15176
 
// New URL: http://example.com/path?foo=bar
15177
 
 
15178
 
router.save('/');
15179
 
// New URL: http://example.com/
15180
 
</code></pre>
15181
 
            </div>
15182
 
        </div>
15183
 
    
15184
 
</div>
15185
 
 
15186
 
                
15187
 
                    <div id="method_set" class="method item inherited">
15188
 
    <h3 class="name"><code>set</code></h3>
15189
 
 
15190
 
    
15191
 
        <div class="args">
15192
 
            <span class="paren">(</span><ul class="args-list inline commas">
15193
 
            
15194
 
                <li class="arg">
15195
 
                    
15196
 
                        <code>name</code>
15197
 
                    
15198
 
                </li>
15199
 
            
15200
 
                <li class="arg">
15201
 
                    
15202
 
                        <code>value</code>
15203
 
                    
15204
 
                </li>
15205
 
            
15206
 
            </ul><span class="paren">)</span>
15207
 
        </div>
15208
 
    
15209
 
 
15210
 
    
15211
 
        <span class="returns-inline">
15212
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15213
 
        </span>
15214
 
    
15215
 
 
15216
 
    
15217
 
 
15218
 
    
15219
 
 
15220
 
    
15221
 
 
15222
 
    
15223
 
 
15224
 
    
15225
 
        <span class="flag chainable">chainable</span>
15226
 
    
15227
 
 
15228
 
    <div class="meta">
15229
 
        
15230
 
            <p>Inherited from
15231
 
            <a href="..&#x2F;classes&#x2F;AttributeEvents.html#method_set">
15232
 
                AttributeEvents
15233
 
            </a>
15234
 
            
15235
 
            but overwritten in
15236
 
            
15237
 
        
15238
 
        
15239
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l328"><code>attribute&#x2F;js&#x2F;AttributeCore.js:328</code></a>
15240
 
        
15241
 
        </p>
15242
 
 
15243
 
 
15244
 
        
15245
 
 
15246
 
        
15247
 
    </div>
15248
 
 
15249
 
    <div class="description">
15250
 
        <p>Sets the value of an attribute.</p>
15251
 
    </div>
15252
 
 
15253
 
    
15254
 
        <div class="params">
15255
 
            <h4>Parameters:</h4>
15256
 
 
15257
 
            <ul class="params-list">
15258
 
            
15259
 
                <li class="param">
15260
 
                    
15261
 
                        <code class="param-name">name</code>
15262
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15263
 
                    
15264
 
 
15265
 
                    
15266
 
 
15267
 
                    <div class="param-description">
15268
 
                        <p>The name of the attribute. If the 
15269
 
current value of the attribute is an Object, dot notation can be used
15270
 
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
15271
 
                    </div>
15272
 
 
15273
 
                    
15274
 
                </li>
15275
 
            
15276
 
                <li class="param">
15277
 
                    
15278
 
                        <code class="param-name">value</code>
15279
 
                        <span class="type">Any</span>
15280
 
                    
15281
 
 
15282
 
                    
15283
 
 
15284
 
                    <div class="param-description">
15285
 
                        <p>The value to set the attribute to.</p>
15286
 
                    </div>
15287
 
 
15288
 
                    
15289
 
                </li>
15290
 
            
15291
 
            </ul>
15292
 
        </div>
15293
 
    
15294
 
 
15295
 
    
15296
 
        <div class="returns">
15297
 
            <h4>Returns:</h4>
15298
 
 
15299
 
            <div class="returns-description">
15300
 
                
15301
 
                    
15302
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
15303
 
                    
15304
 
                    A reference to the host object.
15305
 
                
15306
 
            </div>
15307
 
        </div>
15308
 
    
15309
 
 
15310
 
    
15311
 
</div>
15312
 
 
15313
 
                
15314
 
                    <div id="method_setAttrs" class="method item inherited">
15315
 
    <h3 class="name"><code>setAttrs</code></h3>
15316
 
 
15317
 
    
15318
 
        <div class="args">
15319
 
            <span class="paren">(</span><ul class="args-list inline commas">
15320
 
            
15321
 
                <li class="arg">
15322
 
                    
15323
 
                        <code>attrs</code>
15324
 
                    
15325
 
                </li>
15326
 
            
15327
 
            </ul><span class="paren">)</span>
15328
 
        </div>
15329
 
    
15330
 
 
15331
 
    
15332
 
        <span class="returns-inline">
15333
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15334
 
        </span>
15335
 
    
15336
 
 
15337
 
    
15338
 
 
15339
 
    
15340
 
 
15341
 
    
15342
 
 
15343
 
    
15344
 
 
15345
 
    
15346
 
        <span class="flag chainable">chainable</span>
15347
 
    
15348
 
 
15349
 
    <div class="meta">
15350
 
        
15351
 
            <p>Inherited from
15352
 
            <a href="..&#x2F;classes&#x2F;AttributeEvents.html#method_setAttrs">
15353
 
                AttributeEvents
15354
 
            </a>
15355
 
            
15356
 
            but overwritten in
15357
 
            
15358
 
        
15359
 
        
15360
 
        <a href="..&#x2F;files&#x2F;attribute_js_AttributeCore.js.html#l635"><code>attribute&#x2F;js&#x2F;AttributeCore.js:635</code></a>
15361
 
        
15362
 
        </p>
15363
 
 
15364
 
 
15365
 
        
15366
 
 
15367
 
        
15368
 
    </div>
15369
 
 
15370
 
    <div class="description">
15371
 
        <p>Sets multiple attribute values.</p>
15372
 
    </div>
15373
 
 
15374
 
    
15375
 
        <div class="params">
15376
 
            <h4>Parameters:</h4>
15377
 
 
15378
 
            <ul class="params-list">
15379
 
            
15380
 
                <li class="param">
15381
 
                    
15382
 
                        <code class="param-name">attrs</code>
15383
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15384
 
                    
15385
 
 
15386
 
                    
15387
 
 
15388
 
                    <div class="param-description">
15389
 
                        <p>An object with attributes name/value pairs.</p>
15390
 
                    </div>
15391
 
 
15392
 
                    
15393
 
                </li>
15394
 
            
15395
 
            </ul>
15396
 
        </div>
15397
 
    
15398
 
 
15399
 
    
15400
 
        <div class="returns">
15401
 
            <h4>Returns:</h4>
15402
 
 
15403
 
            <div class="returns-description">
15404
 
                
15405
 
                    
15406
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
15407
 
                    
15408
 
                    A reference to the host object.
15409
 
                
15410
 
            </div>
15411
 
        </div>
15412
 
    
15413
 
 
15414
 
    
15415
 
</div>
15416
 
 
15417
 
                
15418
 
                    <div id="method_showView" class="method item inherited">
15419
 
    <h3 class="name"><code>showView</code></h3>
15420
 
 
15421
 
    
15422
 
        <div class="args">
15423
 
            <span class="paren">(</span><ul class="args-list inline commas">
15424
 
            
15425
 
                <li class="arg">
15426
 
                    
15427
 
                        <code>view</code>
15428
 
                    
15429
 
                </li>
15430
 
            
15431
 
                <li class="arg">
15432
 
                    
15433
 
                        <code class="optional">[config]</code>
15434
 
                    
15435
 
                </li>
15436
 
            
15437
 
                <li class="arg">
15438
 
                    
15439
 
                        <code class="optional">[options]</code>
15440
 
                    
15441
 
                </li>
15442
 
            
15443
 
                <li class="arg">
15444
 
                    
15445
 
                        <code class="optional">[callback]</code>
15446
 
                    
15447
 
                </li>
15448
 
            
15449
 
            </ul><span class="paren">)</span>
15450
 
        </div>
15451
 
    
15452
 
 
15453
 
    
15454
 
 
15455
 
    
15456
 
 
15457
 
    
15458
 
 
15459
 
    
15460
 
 
15461
 
    
15462
 
 
15463
 
    
15464
 
        <span class="flag chainable">chainable</span>
15465
 
    
15466
 
 
15467
 
    <div class="meta">
15468
 
        
15469
 
            <p>Inherited from
15470
 
            <a href="..&#x2F;classes&#x2F;App.Base.html#method_showView">
15471
 
                App.Base
15472
 
            </a>
15473
 
            
15474
 
            but overwritten in
15475
 
            
15476
 
        
15477
 
        
15478
 
        <a href="..&#x2F;files&#x2F;app_js_app-extensions_app-transitions.js.html#l145"><code>app&#x2F;js&#x2F;app-extensions&#x2F;app-transitions.js:145</code></a>
15479
 
        
15480
 
        </p>
15481
 
 
15482
 
 
15483
 
        
15484
 
 
15485
 
        
15486
 
            <p>Available since 3.5.0</p>
15487
 
        
15488
 
    </div>
15489
 
 
15490
 
    <div class="description">
15491
 
        <p>Sets which view is active/visible for the application. This will set the
15492
 
app's <code>activeView</code> attribute to the specified <code>view</code>.</p>
15493
 
 
15494
 
<p>The <code>view</code> will be "attached" to this app, meaning it will be both rendered
15495
 
into this app's <code>viewContainer</code> node and all of its events will bubble to
15496
 
the app. The previous <code>activeView</code> will be "detached" from this app.</p>
15497
 
 
15498
 
<p>When a string-name is provided for a view which has been registered on this
15499
 
app's <code>views</code> object, the referenced metadata will be used and the
15500
 
<code>activeView</code> will be set to either a preserved view instance, or a new
15501
 
instance of the registered view will be created using the specified <code>config</code>
15502
 
object passed-into this method.</p>
15503
 
 
15504
 
<p>A callback function can be specified as either the third or fourth argument,
15505
 
and this function will be called after the new <code>view</code> becomes the
15506
 
<code>activeView</code>, is rendered to the <code>viewContainer</code>, and is ready to use.</p>
15507
 
    </div>
15508
 
 
15509
 
    
15510
 
        <div class="params">
15511
 
            <h4>Parameters:</h4>
15512
 
 
15513
 
            <ul class="params-list">
15514
 
            
15515
 
                <li class="param">
15516
 
                    
15517
 
                        <code class="param-name">view</code>
15518
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/View.html" class="crosslink">View</a></span>
15519
 
                    
15520
 
 
15521
 
                    
15522
 
 
15523
 
                    <div class="param-description">
15524
 
                        <p>The name of a view defined in the <code>views</code> object,
15525
 
    or a view instance which should become this app's <code>activeView</code>.</p>
15526
 
                    </div>
15527
 
 
15528
 
                    
15529
 
                </li>
15530
 
            
15531
 
                <li class="param">
15532
 
                    
15533
 
                        <code class="param-name optional">[config]</code>
15534
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15535
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
15536
 
                    
15537
 
 
15538
 
                    
15539
 
 
15540
 
                    <div class="param-description">
15541
 
                        <p>Optional configuration to use when creating a new
15542
 
    view instance. This config object can also be used to update an existing
15543
 
    or preserved view's attributes when <code>options.update</code> is <code>true</code>.</p>
15544
 
                    </div>
15545
 
 
15546
 
                    
15547
 
                </li>
15548
 
            
15549
 
                <li class="param">
15550
 
                    
15551
 
                        <code class="param-name optional">[options]</code>
15552
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15553
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
15554
 
                    
15555
 
 
15556
 
                    
15557
 
 
15558
 
                    <div class="param-description">
15559
 
                        <p>Optional object containing any of the following
15560
 
    properties:</p>
15561
 
                    </div>
15562
 
 
15563
 
                    
15564
 
                        <ul class="params-list">
15565
 
                            
15566
 
                            <li class="param">
15567
 
                                
15568
 
                                    <code class="param-name optional">[callback]</code>
15569
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
15570
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
15571
 
                                
15572
 
 
15573
 
                                <div class="param-description">
15574
 
                                    <p>Optional callback function to call
15575
 
    after new <code>activeView</code> is ready to use, the function will be passed:</p>
15576
 
                                </div>
15577
 
 
15578
 
                                
15579
 
                                    <ul class="params-list">
15580
 
                                        
15581
 
                                        <li class="param">
15582
 
                                            
15583
 
                                                <code class="param-name">view</code>
15584
 
                                                <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
15585
 
                                            
15586
 
 
15587
 
                                            <div class="param-description">
15588
 
                                                A reference to the new
15589
 
        <code>activeView</code>.
15590
 
                                            </div>
15591
 
                                        </li>
15592
 
                                        
15593
 
                                    </ul>
15594
 
                                
15595
 
                            </li>
15596
 
                            
15597
 
                            <li class="param">
15598
 
                                
15599
 
                                    <code class="param-name optional">[prepend=false]</code>
15600
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
15601
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
15602
 
                                
15603
 
 
15604
 
                                <div class="param-description">
15605
 
                                    <p>Whether the <code>view</code> should be
15606
 
    prepended instead of appended to the <code>viewContainer</code>.</p>
15607
 
                                </div>
15608
 
 
15609
 
                                
15610
 
                            </li>
15611
 
                            
15612
 
                            <li class="param">
15613
 
                                
15614
 
                                    <code class="param-name optional">[render]</code>
15615
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
15616
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
15617
 
                                
15618
 
 
15619
 
                                <div class="param-description">
15620
 
                                    <p>Whether the <code>view</code> should be rendered.
15621
 
    <strong>Note:</strong> If no value is specified, a view instance will only be
15622
 
    rendered if it's newly created by this method.</p>
15623
 
                                </div>
15624
 
 
15625
 
                                
15626
 
                            </li>
15627
 
                            
15628
 
                            <li class="param">
15629
 
                                
15630
 
                                    <code class="param-name optional">[transition]</code>
15631
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15632
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
15633
 
                                
15634
 
 
15635
 
                                <div class="param-description">
15636
 
                                    <p>Optional transition override.
15637
 
    A transition can be specified which will override the default, or
15638
 
    <code>false</code> for no transition.</p>
15639
 
                                </div>
15640
 
 
15641
 
                                
15642
 
                            </li>
15643
 
                            
15644
 
                            <li class="param">
15645
 
                                
15646
 
                                    <code class="param-name optional">[update=false]</code>
15647
 
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
15648
 
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
15649
 
                                
15650
 
 
15651
 
                                <div class="param-description">
15652
 
                                    <p>Whether an existing view should
15653
 
    have its attributes updated by passing the <code>config</code> object to its
15654
 
    <code>setAttrs()</code> method. <strong>Note:</strong> This option does not have an effect if
15655
 
    the <code>view</code> instance is created as a result of calling this method.</p>
15656
 
                                </div>
15657
 
 
15658
 
                                
15659
 
                            </li>
15660
 
                            
15661
 
                        </ul>
15662
 
                    
15663
 
                </li>
15664
 
            
15665
 
                <li class="param">
15666
 
                    
15667
 
                        <code class="param-name optional">[callback]</code>
15668
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
15669
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
15670
 
                    
15671
 
 
15672
 
                    
15673
 
 
15674
 
                    <div class="param-description">
15675
 
                        <p>Optional callback Function to call after the
15676
 
    new <code>activeView</code> is ready to use. <strong>Note:</strong> this will override
15677
 
    <code>options.callback</code> and it can be specified as either the third or fourth
15678
 
    argument. The function will be passed the following:</p>
15679
 
                    </div>
15680
 
 
15681
 
                    
15682
 
                        <ul class="params-list">
15683
 
                            
15684
 
                            <li class="param">
15685
 
                                
15686
 
                                    <code class="param-name">view</code>
15687
 
                                    <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
15688
 
                                
15689
 
 
15690
 
                                <div class="param-description">
15691
 
                                    <p>A reference to the new <code>activeView</code>.</p>
15692
 
                                </div>
15693
 
 
15694
 
                                
15695
 
                            </li>
15696
 
                            
15697
 
                        </ul>
15698
 
                    
15699
 
                </li>
15700
 
            
15701
 
            </ul>
15702
 
        </div>
15703
 
    
15704
 
 
15705
 
    
15706
 
 
15707
 
    
15708
 
        <div class="example">
15709
 
            <h4>Example:</h4>
15710
 
 
15711
 
            <div class="example-content">
15712
 
                <pre class="code"><code class="prettyprint">var app = new Y.App({
15713
 
    views: {
15714
 
        usersView: {
15715
 
            // Imagine that <code>Y.UsersView</code> has been defined.
15716
 
            type: Y.UsersView
15717
 
        }
15718
 
    },
15719
 
 
15720
 
    transitions: true,
15721
 
    users      : new Y.ModelList()
15722
 
});
15723
 
 
15724
 
app.route('/users/', function () {
15725
 
    this.showView('usersView', {users: this.get('users')});
15726
 
});
15727
 
 
15728
 
app.render();
15729
 
app.navigate('/uses/');
15730
 
// =&gt; Creates a new <code>Y.UsersView</code> and transitions to it.
15731
 
</code></pre>
15732
 
            </div>
15733
 
        </div>
15734
 
    
15735
 
</div>
15736
 
 
15737
 
                
15738
 
                    <div id="method_subscribe" class="method item deprecated inherited">
15739
 
    <h3 class="name"><code>subscribe</code></h3>
15740
 
 
15741
 
    
15742
 
        <span class="paren">()</span>
15743
 
    
15744
 
 
15745
 
    
15746
 
 
15747
 
    
15748
 
        <span class="flag deprecated" title="use on">deprecated</span>
15749
 
    
15750
 
 
15751
 
    
15752
 
 
15753
 
    
15754
 
 
15755
 
    
15756
 
 
15757
 
    
15758
 
 
15759
 
    <div class="meta">
15760
 
        
15761
 
            
15762
 
                <p>Inherited from
15763
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_subscribe">EventTarget</a>:
15764
 
            
15765
 
        
15766
 
        
15767
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l335"><code>event-custom&#x2F;js&#x2F;event-target.js:335</code></a>
15768
 
        
15769
 
        </p>
15770
 
 
15771
 
 
15772
 
        
15773
 
            <p>Deprecated: use on</p>
15774
 
        
15775
 
 
15776
 
        
15777
 
    </div>
15778
 
 
15779
 
    <div class="description">
15780
 
        <p>subscribe to an event</p>
15781
 
    </div>
15782
 
 
15783
 
    
15784
 
 
15785
 
    
15786
 
 
15787
 
    
15788
 
</div>
15789
 
 
15790
 
                
15791
 
                    <div id="method_toString" class="method item inherited">
15792
 
    <h3 class="name"><code>toString</code></h3>
15793
 
 
15794
 
    
15795
 
        <span class="paren">()</span>
15796
 
    
15797
 
 
15798
 
    
15799
 
        <span class="returns-inline">
15800
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15801
 
        </span>
15802
 
    
15803
 
 
15804
 
    
15805
 
 
15806
 
    
15807
 
 
15808
 
    
15809
 
 
15810
 
    
15811
 
 
15812
 
    
15813
 
 
15814
 
    <div class="meta">
15815
 
        
15816
 
            
15817
 
                <p>Inherited from
15818
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#method_toString">BaseCore</a>:
15819
 
            
15820
 
        
15821
 
        
15822
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l592"><code>base&#x2F;js&#x2F;BaseCore.js:592</code></a>
15823
 
        
15824
 
        </p>
15825
 
 
15826
 
 
15827
 
        
15828
 
 
15829
 
        
15830
 
    </div>
15831
 
 
15832
 
    <div class="description">
15833
 
        <p>Default toString implementation. Provides the constructor NAME
15834
 
and the instance guid, if set.</p>
15835
 
    </div>
15836
 
 
15837
 
    
15838
 
 
15839
 
    
15840
 
        <div class="returns">
15841
 
            <h4>Returns:</h4>
15842
 
 
15843
 
            <div class="returns-description">
15844
 
                
15845
 
                    
15846
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
15847
 
                    
15848
 
                    String representation for this object
15849
 
                
15850
 
            </div>
15851
 
        </div>
15852
 
    
15853
 
 
15854
 
    
15855
 
</div>
15856
 
 
15857
 
                
15858
 
                    <div id="method_unsubscribe" class="method item deprecated inherited">
15859
 
    <h3 class="name"><code>unsubscribe</code></h3>
15860
 
 
15861
 
    
15862
 
        <span class="paren">()</span>
15863
 
    
15864
 
 
15865
 
    
15866
 
 
15867
 
    
15868
 
        <span class="flag deprecated" title="use detach">deprecated</span>
15869
 
    
15870
 
 
15871
 
    
15872
 
 
15873
 
    
15874
 
 
15875
 
    
15876
 
 
15877
 
    
15878
 
 
15879
 
    <div class="meta">
15880
 
        
15881
 
            
15882
 
                <p>Inherited from
15883
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_unsubscribe">EventTarget</a>:
15884
 
            
15885
 
        
15886
 
        
15887
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l455"><code>event-custom&#x2F;js&#x2F;event-target.js:455</code></a>
15888
 
        
15889
 
        </p>
15890
 
 
15891
 
 
15892
 
        
15893
 
            <p>Deprecated: use detach</p>
15894
 
        
15895
 
 
15896
 
        
15897
 
    </div>
15898
 
 
15899
 
    <div class="description">
15900
 
        <p>detach a listener</p>
15901
 
    </div>
15902
 
 
15903
 
    
15904
 
 
15905
 
    
15906
 
 
15907
 
    
15908
 
</div>
15909
 
 
15910
 
                
15911
 
                    <div id="method_unsubscribeAll" class="method item deprecated inherited">
15912
 
    <h3 class="name"><code>unsubscribeAll</code></h3>
15913
 
 
15914
 
    
15915
 
        <div class="args">
15916
 
            <span class="paren">(</span><ul class="args-list inline commas">
15917
 
            
15918
 
                <li class="arg">
15919
 
                    
15920
 
                        <code>type</code>
15921
 
                    
15922
 
                </li>
15923
 
            
15924
 
            </ul><span class="paren">)</span>
15925
 
        </div>
15926
 
    
15927
 
 
15928
 
    
15929
 
 
15930
 
    
15931
 
        <span class="flag deprecated" title="use detachAll">deprecated</span>
15932
 
    
15933
 
 
15934
 
    
15935
 
 
15936
 
    
15937
 
 
15938
 
    
15939
 
 
15940
 
    
15941
 
 
15942
 
    <div class="meta">
15943
 
        
15944
 
            
15945
 
                <p>Inherited from
15946
 
                <a href="..&#x2F;classes&#x2F;EventTarget.html#method_unsubscribeAll">EventTarget</a>:
15947
 
            
15948
 
        
15949
 
        
15950
 
        <a href="..&#x2F;files&#x2F;event-custom_js_event-target.js.html#l476"><code>event-custom&#x2F;js&#x2F;event-target.js:476</code></a>
15951
 
        
15952
 
        </p>
15953
 
 
15954
 
 
15955
 
        
15956
 
            <p>Deprecated: use detachAll</p>
15957
 
        
15958
 
 
15959
 
        
15960
 
    </div>
15961
 
 
15962
 
    <div class="description">
15963
 
        <p>Removes all listeners from the specified event.  If the event type
15964
 
is not specified, all listeners from all hosted custom events will
15965
 
be removed.</p>
15966
 
    </div>
15967
 
 
15968
 
    
15969
 
        <div class="params">
15970
 
            <h4>Parameters:</h4>
15971
 
 
15972
 
            <ul class="params-list">
15973
 
            
15974
 
                <li class="param">
15975
 
                    
15976
 
                        <code class="param-name">type</code>
15977
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15978
 
                    
15979
 
 
15980
 
                    
15981
 
 
15982
 
                    <div class="param-description">
15983
 
                        <p>The type, or name of the event</p>
15984
 
                    </div>
15985
 
 
15986
 
                    
15987
 
                </li>
15988
 
            
15989
 
            </ul>
15990
 
        </div>
15991
 
    
15992
 
 
15993
 
    
15994
 
 
15995
 
    
15996
 
</div>
15997
 
 
15998
 
                
15999
 
                    <div id="method_upgrade" class="method item inherited">
16000
 
    <h3 class="name"><code>upgrade</code></h3>
16001
 
 
16002
 
    
16003
 
        <span class="paren">()</span>
16004
 
    
16005
 
 
16006
 
    
16007
 
        <span class="returns-inline">
16008
 
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16009
 
        </span>
16010
 
    
16011
 
 
16012
 
    
16013
 
 
16014
 
    
16015
 
 
16016
 
    
16017
 
 
16018
 
    
16019
 
 
16020
 
    
16021
 
 
16022
 
    <div class="meta">
16023
 
        
16024
 
            
16025
 
                <p>Inherited from
16026
 
                <a href="..&#x2F;classes&#x2F;Router.html#method_upgrade">Router</a>:
16027
 
            
16028
 
        
16029
 
        
16030
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l457"><code>app&#x2F;js&#x2F;router.js:457</code></a>
16031
 
        
16032
 
        </p>
16033
 
 
16034
 
 
16035
 
        
16036
 
 
16037
 
        
16038
 
    </div>
16039
 
 
16040
 
    <div class="description">
16041
 
        <p>Upgrades a hash-based URL to an HTML5 URL if necessary. In non-HTML5
16042
 
browsers, this method is a noop.</p>
16043
 
    </div>
16044
 
 
16045
 
    
16046
 
 
16047
 
    
16048
 
        <div class="returns">
16049
 
            <h4>Returns:</h4>
16050
 
 
16051
 
            <div class="returns-description">
16052
 
                
16053
 
                    
16054
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
16055
 
                    
16056
 
                    <code>true</code> if the URL was upgraded, <code>false</code> otherwise.
16057
 
                
16058
 
            </div>
16059
 
        </div>
16060
 
    
16061
 
 
16062
 
    
16063
 
</div>
16064
 
 
16065
 
                
16066
 
            </div>
16067
 
        
16068
 
 
16069
 
        
16070
 
            <div id="properties" class="api-class-tabpanel">
16071
 
                <h2 class="off-left">Properties</h2>
16072
 
 
16073
 
                
16074
 
                    <div id="property__allowAdHocAttrs" class="property item protected inherited">
16075
 
    <h3 class="name"><code>_allowAdHocAttrs</code></h3>
16076
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16077
 
 
16078
 
    
16079
 
 
16080
 
    
16081
 
        <span class="flag protected">protected</span>
16082
 
    
16083
 
 
16084
 
    
16085
 
 
16086
 
    
16087
 
 
16088
 
    <div class="meta">
16089
 
        
16090
 
            <p>Inherited from
16091
 
            <a href="..&#x2F;classes&#x2F;BaseCore.html#property__allowAdHocAttrs">
16092
 
                BaseCore
16093
 
            </a>
16094
 
            
16095
 
            but overwritten in
16096
 
            
16097
 
        
16098
 
        
16099
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l111"><code>app&#x2F;js&#x2F;view.js:111</code></a>
16100
 
        
16101
 
        </p>
16102
 
 
16103
 
        
16104
 
 
16105
 
        
16106
 
            <p>Available since 3.5.0</p>
16107
 
        
16108
 
    </div>
16109
 
 
16110
 
    <div class="description">
16111
 
        <p>This tells <code>Y.Base</code> that it should create ad-hoc attributes for config
16112
 
properties passed to View's constructor. This makes it possible to
16113
 
instantiate a view and set a bunch of attributes without having to subclass
16114
 
<code>Y.View</code> and declare all those attributes first.</p>
16115
 
    </div>
16116
 
 
16117
 
    
16118
 
        <p><strong>Default:</strong> true</p>
16119
 
    
16120
 
 
16121
 
    
16122
 
 
16123
 
    
16124
 
</div>
16125
 
 
16126
 
                
16127
 
                    <div id="property__dispatched" class="property item protected inherited">
16128
 
    <h3 class="name"><code>_dispatched</code></h3>
16129
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16130
 
 
16131
 
    
16132
 
 
16133
 
    
16134
 
        <span class="flag protected">protected</span>
16135
 
    
16136
 
 
16137
 
    
16138
 
 
16139
 
    
16140
 
 
16141
 
    <div class="meta">
16142
 
        
16143
 
            
16144
 
                <p>Inherited from
16145
 
                <a href="..&#x2F;classes&#x2F;Router.html#property__dispatched">Router</a>:
16146
 
            
16147
 
        
16148
 
        
16149
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l60"><code>app&#x2F;js&#x2F;router.js:60</code></a>
16150
 
        
16151
 
        </p>
16152
 
 
16153
 
        
16154
 
 
16155
 
        
16156
 
    </div>
16157
 
 
16158
 
    <div class="description">
16159
 
        <p>Whether or not <code>_dispatch()</code> has been called since this router was
16160
 
instantiated.</p>
16161
 
    </div>
16162
 
 
16163
 
    
16164
 
        <p><strong>Default:</strong> undefined</p>
16165
 
    
16166
 
 
16167
 
    
16168
 
 
16169
 
    
16170
 
</div>
16171
 
 
16172
 
                
16173
 
                    <div id="property__dispatching" class="property item protected inherited">
16174
 
    <h3 class="name"><code>_dispatching</code></h3>
16175
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16176
 
 
16177
 
    
16178
 
 
16179
 
    
16180
 
        <span class="flag protected">protected</span>
16181
 
    
16182
 
 
16183
 
    
16184
 
 
16185
 
    
16186
 
 
16187
 
    <div class="meta">
16188
 
        
16189
 
            
16190
 
                <p>Inherited from
16191
 
                <a href="..&#x2F;classes&#x2F;Router.html#property__dispatching">Router</a>:
16192
 
            
16193
 
        
16194
 
        
16195
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l70"><code>app&#x2F;js&#x2F;router.js:70</code></a>
16196
 
        
16197
 
        </p>
16198
 
 
16199
 
        
16200
 
 
16201
 
        
16202
 
    </div>
16203
 
 
16204
 
    <div class="description">
16205
 
        <p>Whether or not we're currently in the process of dispatching to routes.</p>
16206
 
    </div>
16207
 
 
16208
 
    
16209
 
        <p><strong>Default:</strong> undefined</p>
16210
 
    
16211
 
 
16212
 
    
16213
 
 
16214
 
    
16215
 
</div>
16216
 
 
16217
 
                
16218
 
                    <div id="property__html5" class="property item protected inherited">
16219
 
    <h3 class="name"><code>_html5</code></h3>
16220
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16221
 
 
16222
 
    
16223
 
 
16224
 
    
16225
 
        <span class="flag protected">protected</span>
16226
 
    
16227
 
 
16228
 
    
16229
 
 
16230
 
    
16231
 
 
16232
 
    <div class="meta">
16233
 
        
16234
 
            
16235
 
                <p>Inherited from
16236
 
                <a href="..&#x2F;classes&#x2F;Router.html#property__html5">Router</a>:
16237
 
            
16238
 
        
16239
 
        
16240
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l79"><code>app&#x2F;js&#x2F;router.js:79</code></a>
16241
 
        
16242
 
        </p>
16243
 
 
16244
 
        
16245
 
 
16246
 
        
16247
 
    </div>
16248
 
 
16249
 
    <div class="description">
16250
 
        <p>Cached copy of the <code>html5</code> attribute for internal use.</p>
16251
 
    </div>
16252
 
 
16253
 
    
16254
 
 
16255
 
    
16256
 
 
16257
 
    
16258
 
</div>
16259
 
 
16260
 
                
16261
 
                    <div id="property__pjaxEvents" class="property item protected inherited">
16262
 
    <h3 class="name"><code>_pjaxEvents</code></h3>
16263
 
    <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
16264
 
 
16265
 
    
16266
 
 
16267
 
    
16268
 
        <span class="flag protected">protected</span>
16269
 
    
16270
 
 
16271
 
    
16272
 
 
16273
 
    
16274
 
 
16275
 
    <div class="meta">
16276
 
        
16277
 
            
16278
 
                <p>Inherited from
16279
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#property__pjaxEvents">PjaxBase</a>:
16280
 
            
16281
 
        
16282
 
        
16283
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l71"><code>pjax&#x2F;js&#x2F;pjax-base.js:71</code></a>
16284
 
        
16285
 
        </p>
16286
 
 
16287
 
        
16288
 
 
16289
 
        
16290
 
            <p>Available since 3.5.0</p>
16291
 
        
16292
 
    </div>
16293
 
 
16294
 
    <div class="description">
16295
 
        <p>Holds the delegated pjax-link click handler.</p>
16296
 
    </div>
16297
 
 
16298
 
    
16299
 
 
16300
 
    
16301
 
 
16302
 
    
16303
 
</div>
16304
 
 
16305
 
                
16306
 
                    <div id="property__ready" class="property item protected inherited">
16307
 
    <h3 class="name"><code>_ready</code></h3>
16308
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16309
 
 
16310
 
    
16311
 
 
16312
 
    
16313
 
        <span class="flag protected">protected</span>
16314
 
    
16315
 
 
16316
 
    
16317
 
 
16318
 
    
16319
 
 
16320
 
    <div class="meta">
16321
 
        
16322
 
            
16323
 
                <p>Inherited from
16324
 
                <a href="..&#x2F;classes&#x2F;Router.html#property__ready">Router</a>:
16325
 
            
16326
 
        
16327
 
        
16328
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l87"><code>app&#x2F;js&#x2F;router.js:87</code></a>
16329
 
        
16330
 
        </p>
16331
 
 
16332
 
        
16333
 
 
16334
 
        
16335
 
    </div>
16336
 
 
16337
 
    <div class="description">
16338
 
        <p>Whether or not the <code>ready</code> event has fired yet.</p>
16339
 
    </div>
16340
 
 
16341
 
    
16342
 
        <p><strong>Default:</strong> undefined</p>
16343
 
    
16344
 
 
16345
 
    
16346
 
 
16347
 
    
16348
 
</div>
16349
 
 
16350
 
                
16351
 
                    <div id="property__regexPathParam" class="property item protected inherited">
16352
 
    <h3 class="name"><code>_regexPathParam</code></h3>
16353
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
16354
 
 
16355
 
    
16356
 
 
16357
 
    
16358
 
        <span class="flag protected">protected</span>
16359
 
    
16360
 
 
16361
 
    
16362
 
 
16363
 
    
16364
 
 
16365
 
    <div class="meta">
16366
 
        
16367
 
            
16368
 
                <p>Inherited from
16369
 
                <a href="..&#x2F;classes&#x2F;Router.html#property__regexPathParam">Router</a>:
16370
 
            
16371
 
        
16372
 
        
16373
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l96"><code>app&#x2F;js&#x2F;router.js:96</code></a>
16374
 
        
16375
 
        </p>
16376
 
 
16377
 
        
16378
 
 
16379
 
        
16380
 
    </div>
16381
 
 
16382
 
    <div class="description">
16383
 
        <p>Regex used to match parameter placeholders in route paths.</p>
16384
 
 
16385
 
<p>Subpattern captures:</p>
16386
 
 
16387
 
<ol>
16388
 
<li><p>Parameter prefix character. Either a <code>:</code> for subpath parameters that
16389
 
 should only match a single level of a path, or <code>*</code> for splat parameters
16390
 
 that should match any number of path levels.</p></li>
16391
 
<li><p>Parameter name, if specified, otherwise it is a wildcard match.</p></li>
16392
 
</ol>
16393
 
    </div>
16394
 
 
16395
 
    
16396
 
 
16397
 
    
16398
 
 
16399
 
    
16400
 
</div>
16401
 
 
16402
 
                
16403
 
                    <div id="property__regexURL" class="property item protected inherited">
16404
 
    <h3 class="name"><code>_regexURL</code></h3>
16405
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
16406
 
 
16407
 
    
16408
 
 
16409
 
    
16410
 
        <span class="flag protected">protected</span>
16411
 
    
16412
 
 
16413
 
    
16414
 
 
16415
 
    
16416
 
 
16417
 
    <div class="meta">
16418
 
        
16419
 
            
16420
 
                <p>Inherited from
16421
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#property__regexURL">PjaxBase</a>:
16422
 
            
16423
 
        
16424
 
        
16425
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l80"><code>pjax&#x2F;js&#x2F;pjax-base.js:80</code></a>
16426
 
        
16427
 
        </p>
16428
 
 
16429
 
        
16430
 
 
16431
 
        
16432
 
            <p>Available since 3.5.0</p>
16433
 
        
16434
 
    </div>
16435
 
 
16436
 
    <div class="description">
16437
 
        <p>Regex used to break up a URL string around the URL's path.</p>
16438
 
 
16439
 
<p>Subpattern captures:</p>
16440
 
 
16441
 
<ol>
16442
 
<li>Origin, everything before the URL's path-part.</li>
16443
 
<li>The URL's path-part.</li>
16444
 
<li>Suffix, everything after the URL's path-part.</li>
16445
 
</ol>
16446
 
    </div>
16447
 
 
16448
 
    
16449
 
 
16450
 
    
16451
 
 
16452
 
    
16453
 
</div>
16454
 
 
16455
 
                
16456
 
                    <div id="property__regexUrlOrigin" class="property item protected inherited">
16457
 
    <h3 class="name"><code>_regexUrlOrigin</code></h3>
16458
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
16459
 
 
16460
 
    
16461
 
 
16462
 
    
16463
 
        <span class="flag protected">protected</span>
16464
 
    
16465
 
 
16466
 
    
16467
 
 
16468
 
    
16469
 
 
16470
 
    <div class="meta">
16471
 
        
16472
 
            
16473
 
                <p>Inherited from
16474
 
                <a href="..&#x2F;classes&#x2F;Router.html#property__regexUrlOrigin">Router</a>:
16475
 
            
16476
 
        
16477
 
        
16478
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l123"><code>app&#x2F;js&#x2F;router.js:123</code></a>
16479
 
        
16480
 
        </p>
16481
 
 
16482
 
        
16483
 
 
16484
 
        
16485
 
    </div>
16486
 
 
16487
 
    <div class="description">
16488
 
        <p>Regex that matches everything before the path portion of a URL (the origin).
16489
 
This will be used to strip this part of the URL from a string when we
16490
 
only want the path.</p>
16491
 
    </div>
16492
 
 
16493
 
    
16494
 
 
16495
 
    
16496
 
 
16497
 
    
16498
 
</div>
16499
 
 
16500
 
                
16501
 
                    <div id="property__regexUrlQuery" class="property item protected inherited">
16502
 
    <h3 class="name"><code>_regexUrlQuery</code></h3>
16503
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
16504
 
 
16505
 
    
16506
 
 
16507
 
    
16508
 
        <span class="flag protected">protected</span>
16509
 
    
16510
 
 
16511
 
    
16512
 
 
16513
 
    
16514
 
 
16515
 
    <div class="meta">
16516
 
        
16517
 
            
16518
 
                <p>Inherited from
16519
 
                <a href="..&#x2F;classes&#x2F;Router.html#property__regexUrlQuery">Router</a>:
16520
 
            
16521
 
        
16522
 
        
16523
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l113"><code>app&#x2F;js&#x2F;router.js:113</code></a>
16524
 
        
16525
 
        </p>
16526
 
 
16527
 
        
16528
 
 
16529
 
        
16530
 
    </div>
16531
 
 
16532
 
    <div class="description">
16533
 
        <p>Regex that matches and captures the query portion of a URL, minus the
16534
 
preceding <code>?</code> character, and discarding the hash portion of the URL if any.</p>
16535
 
    </div>
16536
 
 
16537
 
    
16538
 
 
16539
 
    
16540
 
 
16541
 
    
16542
 
</div>
16543
 
 
16544
 
                
16545
 
                    <div id="property__viewInfoMap" class="property item protected inherited">
16546
 
    <h3 class="name"><code>_viewInfoMap</code></h3>
16547
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
16548
 
 
16549
 
    
16550
 
 
16551
 
    
16552
 
        <span class="flag protected">protected</span>
16553
 
    
16554
 
 
16555
 
    
16556
 
 
16557
 
    
16558
 
 
16559
 
    <div class="meta">
16560
 
        
16561
 
            
16562
 
                <p>Inherited from
16563
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#property__viewInfoMap">App.Base</a>:
16564
 
            
16565
 
        
16566
 
        
16567
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l134"><code>app&#x2F;js&#x2F;app-base.js:134</code></a>
16568
 
        
16569
 
        </p>
16570
 
 
16571
 
        
16572
 
 
16573
 
        
16574
 
            <p>Available since 3.5.0</p>
16575
 
        
16576
 
    </div>
16577
 
 
16578
 
    <div class="description">
16579
 
        <p>Map of view instance id (via <code>Y.stamp()</code>) to view-info object in <code>views</code>.</p>
16580
 
 
16581
 
<p>This mapping is used to tie a specific view instance back to its metadata by
16582
 
adding a reference to the the related view info on the <code>views</code> object.</p>
16583
 
    </div>
16584
 
 
16585
 
    
16586
 
        <p><strong>Default:</strong> {}</p>
16587
 
    
16588
 
 
16589
 
    
16590
 
 
16591
 
    
16592
 
</div>
16593
 
 
16594
 
                
16595
 
                    <div id="property_containerTemplate" class="property item inherited">
16596
 
    <h3 class="name"><code>containerTemplate</code></h3>
16597
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16598
 
 
16599
 
    
16600
 
 
16601
 
    
16602
 
 
16603
 
    
16604
 
 
16605
 
    
16606
 
 
16607
 
    <div class="meta">
16608
 
        
16609
 
            
16610
 
                <p>Inherited from
16611
 
                <a href="..&#x2F;classes&#x2F;View.html#property_containerTemplate">View</a>:
16612
 
            
16613
 
        
16614
 
        
16615
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l40"><code>app&#x2F;js&#x2F;view.js:40</code></a>
16616
 
        
16617
 
        </p>
16618
 
 
16619
 
        
16620
 
 
16621
 
        
16622
 
            <p>Available since 3.5.0</p>
16623
 
        
16624
 
    </div>
16625
 
 
16626
 
    <div class="description">
16627
 
        <p>Template for this view's container.</p>
16628
 
    </div>
16629
 
 
16630
 
    
16631
 
        <p><strong>Default:</strong> &quot;&lt;div&#x2F;&gt;&quot;</p>
16632
 
    
16633
 
 
16634
 
    
16635
 
 
16636
 
    
16637
 
</div>
16638
 
 
16639
 
                
16640
 
                    <div id="property_events" class="property item inherited">
16641
 
    <h3 class="name"><code>events</code></h3>
16642
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
16643
 
 
16644
 
    
16645
 
 
16646
 
    
16647
 
 
16648
 
    
16649
 
 
16650
 
    
16651
 
 
16652
 
    <div class="meta">
16653
 
        
16654
 
            
16655
 
                <p>Inherited from
16656
 
                <a href="..&#x2F;classes&#x2F;View.html#property_events">View</a>:
16657
 
            
16658
 
        
16659
 
        
16660
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l50"><code>app&#x2F;js&#x2F;view.js:50</code></a>
16661
 
        
16662
 
        </p>
16663
 
 
16664
 
        
16665
 
 
16666
 
        
16667
 
    </div>
16668
 
 
16669
 
    <div class="description">
16670
 
        <p>Hash of CSS selectors mapped to events to delegate to elements matching
16671
 
those selectors.</p>
16672
 
 
16673
 
<p>CSS selectors are relative to the <code>container</code> element. Events are attached
16674
 
to the container, and delegation is used so that subscribers are only
16675
 
notified of events that occur on elements inside the container that match
16676
 
the specified selectors. This allows the container's contents to be re-
16677
 
rendered as needed without losing event subscriptions.</p>
16678
 
 
16679
 
<p>Event handlers can be specified either as functions or as strings that map
16680
 
to function names on this view instance or its prototype.</p>
16681
 
 
16682
 
<p>The <code>this</code> object in event handlers will refer to this view instance. If
16683
 
you'd prefer <code>this</code> to be something else, use <code>Y.bind()</code> to bind a custom
16684
 
<code>this</code> object.</p>
16685
 
    </div>
16686
 
 
16687
 
    
16688
 
        <p><strong>Default:</strong> {}</p>
16689
 
    
16690
 
 
16691
 
    
16692
 
        <div class="example">
16693
 
            <h4>Example:</h4>
16694
 
 
16695
 
            <div class="example-content">
16696
 
                <pre class="code"><code class="prettyprint">var view = new Y.View({
16697
 
    events: {
16698
 
        // Call <code>this.toggle()</code> whenever the element with the id
16699
 
        // "toggle-button" is clicked.
16700
 
        '#toggle-button': {click: 'toggle'},
16701
 
 
16702
 
        // Call <code>this.hoverOn()</code> when the mouse moves over any element
16703
 
        // with the "hoverable" class, and <code>this.hoverOff()</code> when the
16704
 
        // mouse moves out of any element with the "hoverable" class.
16705
 
        '.hoverable': {
16706
 
            mouseover: 'hoverOn',
16707
 
            mouseout : 'hoverOff'
16708
 
        }
16709
 
    }
16710
 
});
16711
 
</code></pre>
16712
 
            </div>
16713
 
        </div>
16714
 
    
16715
 
 
16716
 
    
16717
 
</div>
16718
 
 
16719
 
                
16720
 
                    <div id="property_name" class="property item deprecated inherited">
16721
 
    <h3 class="name"><code>name</code></h3>
16722
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16723
 
 
16724
 
    
16725
 
        <span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
16726
 
    
16727
 
 
16728
 
    
16729
 
 
16730
 
    
16731
 
 
16732
 
    
16733
 
 
16734
 
    <div class="meta">
16735
 
        
16736
 
            
16737
 
                <p>Inherited from
16738
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#property_name">BaseCore</a>:
16739
 
            
16740
 
        
16741
 
        
16742
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l196"><code>base&#x2F;js&#x2F;BaseCore.js:196</code></a>
16743
 
        
16744
 
        </p>
16745
 
 
16746
 
        
16747
 
            <p>Deprecated: Use this.constructor.NAME</p>
16748
 
        
16749
 
 
16750
 
        
16751
 
    </div>
16752
 
 
16753
 
    <div class="description">
16754
 
        <p>The string used to identify the class of this object.</p>
16755
 
    </div>
16756
 
 
16757
 
    
16758
 
 
16759
 
    
16760
 
 
16761
 
    
16762
 
</div>
16763
 
 
16764
 
                
16765
 
                    <div id="property_template" class="property item inherited">
16766
 
    <h3 class="name"><code>template</code></h3>
16767
 
    <span class="type">Mixed</span>
16768
 
 
16769
 
    
16770
 
 
16771
 
    
16772
 
 
16773
 
    
16774
 
 
16775
 
    
16776
 
 
16777
 
    <div class="meta">
16778
 
        
16779
 
            
16780
 
                <p>Inherited from
16781
 
                <a href="..&#x2F;classes&#x2F;View.html#property_template">View</a>:
16782
 
            
16783
 
        
16784
 
        
16785
 
        <a href="..&#x2F;files&#x2F;app_js_view.js.html#l91"><code>app&#x2F;js&#x2F;view.js:91</code></a>
16786
 
        
16787
 
        </p>
16788
 
 
16789
 
        
16790
 
 
16791
 
        
16792
 
    </div>
16793
 
 
16794
 
    <div class="description">
16795
 
        <p>Template for this view's contents.</p>
16796
 
 
16797
 
<p>This is a convenience property that has no default behavior of its own.
16798
 
It's only provided as a convention to allow you to store whatever you
16799
 
consider to be a template, whether that's an HTML string, a <code>Y.Node</code>
16800
 
instance, a Mustache template, or anything else your little heart
16801
 
desires.</p>
16802
 
 
16803
 
<p>How this template gets used is entirely up to you and your custom
16804
 
<code>render()</code> method.</p>
16805
 
    </div>
16806
 
 
16807
 
    
16808
 
        <p><strong>Default:</strong> &#x27;&#x27;</p>
16809
 
    
16810
 
 
16811
 
    
16812
 
 
16813
 
    
16814
 
</div>
16815
 
 
16816
 
                
16817
 
                    <div id="property_transitions" class="property item inherited">
16818
 
    <h3 class="name"><code>transitions</code></h3>
16819
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
16820
 
 
16821
 
    
16822
 
 
16823
 
    
16824
 
 
16825
 
    
16826
 
 
16827
 
    
16828
 
 
16829
 
    <div class="meta">
16830
 
        
16831
 
            
16832
 
                <p>Inherited from
16833
 
                <a href="..&#x2F;classes&#x2F;App.Transitions.html#property_transitions">App.Transitions</a>:
16834
 
            
16835
 
        
16836
 
        
16837
 
        <a href="..&#x2F;files&#x2F;app_js_app-extensions_app-transitions.js.html#l107"><code>app&#x2F;js&#x2F;app-extensions&#x2F;app-transitions.js:107</code></a>
16838
 
        
16839
 
        </p>
16840
 
 
16841
 
        
16842
 
 
16843
 
        
16844
 
            <p>Available since 3.5.0</p>
16845
 
        
16846
 
    </div>
16847
 
 
16848
 
    <div class="description">
16849
 
        <p>Default transitions to use when the <code>activeView</code> changes.</p>
16850
 
 
16851
 
<p>The following are types of changes for which transitions can be defined that
16852
 
correspond to the relationship between the new and previous <code>activeView</code>:</p>
16853
 
 
16854
 
<ul>
16855
 
<li><p><code>navigate</code>: The default transition to use when changing the <code>activeView</code>
16856
 
of the application.</p></li>
16857
 
<li><p><code>toChild</code>: The transition to use when the new <code>activeView</code> is configured
16858
 
as a child of the previously active view via its <code>parent</code> property as
16859
 
defined in this app's <code>views</code>.</p></li>
16860
 
<li><p><code>toParent</code>: The transition to use when the new <code>activeView</code> is
16861
 
configured as the <code>parent</code> of the previously active view as defined in
16862
 
this app's <code>views</code>.</p></li>
16863
 
</ul>
16864
 
 
16865
 
<p><strong>Note:</strong> Transitions are an opt-in feature and will only be used in
16866
 
browsers which support native CSS3 transitions.</p>
16867
 
    </div>
16868
 
 
16869
 
    
16870
 
        <p><strong>Default:</strong> {
16871
 
        navigate: &#x27;fade&#x27;,
16872
 
        toChild : &#x27;slideLeft&#x27;,
16873
 
        toParent: &#x27;slideRight&#x27;
16874
 
    }</p>
16875
 
    
16876
 
 
16877
 
    
16878
 
 
16879
 
    
16880
 
</div>
16881
 
 
16882
 
                
16883
 
                    <div id="property_views" class="property item inherited">
16884
 
    <h3 class="name"><code>views</code></h3>
16885
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
16886
 
 
16887
 
    
16888
 
 
16889
 
    
16890
 
 
16891
 
    
16892
 
 
16893
 
    
16894
 
 
16895
 
    <div class="meta">
16896
 
        
16897
 
            
16898
 
                <p>Inherited from
16899
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#property_views">App.Base</a>:
16900
 
            
16901
 
        
16902
 
        
16903
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l76"><code>app&#x2F;js&#x2F;app-base.js:76</code></a>
16904
 
        
16905
 
        </p>
16906
 
 
16907
 
        
16908
 
 
16909
 
        
16910
 
            <p>Available since 3.5.0</p>
16911
 
        
16912
 
    </div>
16913
 
 
16914
 
    <div class="description">
16915
 
        <p>Hash of view-name to metadata used to declaratively describe an
16916
 
application's views and their relationship with the app and its other views.</p>
16917
 
 
16918
 
<p>The view metadata is composed of Objects keyed to a view-name that can have
16919
 
any or all of the following properties:</p>
16920
 
 
16921
 
<ul>
16922
 
<li><p><code>type</code>: Function or a string representing the view constructor to use to
16923
 
create view instances. If a string is used, the constructor function is
16924
 
assumed to be on the <code>Y</code> object; e.g. <code>"SomeView"</code> -> <code>Y.SomeView</code>.</p></li>
16925
 
<li><p><code>preserve</code>: Boolean for whether the view instance should be retained. By
16926
 
default, the view instance will be destroyed when it is no longer the
16927
 
<code>activeView</code>. If <code>true</code> the view instance will simply be <code>removed()</code>
16928
 
from the DOM when it is no longer active. This is useful when the view
16929
 
is frequently used and may be expensive to re-create.</p></li>
16930
 
<li><p><code>parent</code>: String to another named view in this hash that represents the
16931
 
parent view within the application's view hierarchy; e.g. a <code>"photo"</code>
16932
 
view could have <code>"album"</code> has its <code>parent</code> view. This parent/child
16933
 
relationship is a useful cue for things like transitions.</p></li>
16934
 
<li><p><code>instance</code>: Used internally to manage the current instance of this named
16935
 
view. This can be used if your view instance is created up-front, or if
16936
 
you would rather manage the View lifecycle, but you probably should just
16937
 
let this be handled for you.</p></li>
16938
 
</ul>
16939
 
 
16940
 
<p>If <code>views</code> are specified at instantiation time, the metadata in the <code>views</code>
16941
 
Object here will be used as defaults when creating the instance's <code>views</code>.</p>
16942
 
 
16943
 
<p>Every <code>Y.App</code> instance gets its own copy of a <code>views</code> object so this Object
16944
 
on the prototype will not be polluted.</p>
16945
 
    </div>
16946
 
 
16947
 
    
16948
 
        <p><strong>Default:</strong> {}</p>
16949
 
    
16950
 
 
16951
 
    
16952
 
        <div class="example">
16953
 
            <h4>Example:</h4>
16954
 
 
16955
 
            <div class="example-content">
16956
 
                <pre class="code"><code class="prettyprint">// Imagine that <code>Y.UsersView</code> and <code>Y.UserView</code> have been defined.
16957
 
var app = new Y.App({
16958
 
    views: {
16959
 
        users: {
16960
 
            type    : Y.UsersView,
16961
 
            preserve: true
16962
 
        },
16963
 
 
16964
 
        user: {
16965
 
            type  : Y.UserView,
16966
 
            parent: 'users'
16967
 
        }
16968
 
    }
16969
 
});
16970
 
</code></pre>
16971
 
            </div>
16972
 
        </div>
16973
 
    
16974
 
 
16975
 
    
16976
 
</div>
16977
 
 
16978
 
                
16979
 
            </div>
16980
 
        
16981
 
 
16982
 
        
16983
 
            <div id="attrs" class="api-class-tabpanel">
16984
 
                <h2 class="off-left">Attributes</h2>
16985
 
 
16986
 
                
16987
 
                    <div id="attr_activeView" class="attr item inherited">
16988
 
    <a name="config_activeView"></a> 
16989
 
    <h3 class="name"><code>activeView</code></h3>
16990
 
    <span class="type"><a href="../classes/View.html" class="crosslink">View</a></span>
16991
 
 
16992
 
    
16993
 
 
16994
 
    
16995
 
 
16996
 
    
16997
 
 
16998
 
    
16999
 
 
17000
 
    <div class="meta">
17001
 
        
17002
 
            
17003
 
                <p>Inherited from
17004
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#attr_activeView">App.Base</a>:
17005
 
            
17006
 
        
17007
 
        
17008
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l858"><code>app&#x2F;js&#x2F;app-base.js:858</code></a>
17009
 
        
17010
 
        </p>
17011
 
 
17012
 
        
17013
 
 
17014
 
        
17015
 
            <p>Available since 3.5.0</p>
17016
 
        
17017
 
    </div>
17018
 
 
17019
 
    <div class="description">
17020
 
        <p>The application's active/visible view.</p>
17021
 
 
17022
 
<p>This attribute is read-only, to set the <code>activeView</code> use the
17023
 
<code>showView()</code> method.</p>
17024
 
    </div>
17025
 
 
17026
 
    
17027
 
        <p><strong>Default:</strong> null</p>
17028
 
    
17029
 
 
17030
 
    
17031
 
        <div class="emits box">
17032
 
            <h4>Fires event <code>activeViewChange</code></h4>
17033
 
 
17034
 
            <p>
17035
 
            Fires when the value for the configuration attribute <code>activeView</code> is
17036
 
            changed. You can listen for the event using the <code>on</code> method if you
17037
 
            wish to be notified before the attribute's value has changed, or
17038
 
            using the <code>after</code> method if you wish to be notified after the
17039
 
            attribute's value has changed.
17040
 
            </p>
17041
 
 
17042
 
            <div class="params">
17043
 
                <h4>Parameters:</h4>
17044
 
 
17045
 
                <ul class="params-list">
17046
 
                    <li class="param">
17047
 
                        <code class="param-name">e</code>
17048
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17049
 
 
17050
 
                        <div class="param-description">
17051
 
                            An Event Facade object with the following
17052
 
                            attribute-specific properties added:
17053
 
                        </div>
17054
 
 
17055
 
                        <ul class="params-list">
17056
 
                            <li class="param">
17057
 
                                <code class="param-name">prevVal</code>
17058
 
                                <span class="type">Any</span>
17059
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17060
 
                            </li>
17061
 
                            <li class="param">
17062
 
                                <code class="param-name">newVal</code>
17063
 
                                <span class="type">Any</span>
17064
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17065
 
                            </li>
17066
 
                            <li class="param">
17067
 
                                <code class="param-name">attrName</code>
17068
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17069
 
                                <div class="param-description">The name of the attribute being set.</div>
17070
 
                            </li>
17071
 
                            <li class="param">
17072
 
                                <code class="param-name">subAttrName</code>
17073
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17074
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17075
 
                            </li>
17076
 
                        </ul>
17077
 
                    </li>
17078
 
                </ul>
17079
 
            </div>
17080
 
        </div>
17081
 
    
17082
 
 
17083
 
    
17084
 
</div>
17085
 
 
17086
 
                
17087
 
                    <div id="attr_container" class="attr item inherited">
17088
 
    <a name="config_container"></a> 
17089
 
    <h3 class="name"><code>container</code></h3>
17090
 
    <span class="type"><a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a> | <a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17091
 
 
17092
 
    
17093
 
 
17094
 
    
17095
 
 
17096
 
    
17097
 
 
17098
 
    
17099
 
 
17100
 
    <div class="meta">
17101
 
        
17102
 
            <p>Inherited from
17103
 
            <a href="..&#x2F;classes&#x2F;View.html#attr_container">
17104
 
                View
17105
 
            </a>
17106
 
            
17107
 
            but overwritten in
17108
 
            
17109
 
        
17110
 
        
17111
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l876"><code>app&#x2F;js&#x2F;app-base.js:876</code></a>
17112
 
        
17113
 
        </p>
17114
 
 
17115
 
        
17116
 
 
17117
 
        
17118
 
    </div>
17119
 
 
17120
 
    <div class="description">
17121
 
        <p>Container node which represents the application's bounding-box, into
17122
 
which this app's content will be rendered.</p>
17123
 
 
17124
 
<p>The container node serves as the host for all DOM events attached by the
17125
 
app. Delegation is used to handle events on children of the container,
17126
 
allowing the container's contents to be re-rendered at any time without
17127
 
losing event subscriptions.</p>
17128
 
 
17129
 
<p>The default container is the <code>&lt;body&gt;</code> Node, but you can override this in
17130
 
a subclass, or by passing in a custom <code>container</code> config value at
17131
 
instantiation time.</p>
17132
 
 
17133
 
<p>When <code>container</code> is overridden by a subclass or passed as a config
17134
 
option at instantiation time, it may be provided as a selector string, a
17135
 
DOM element, or a <code>Y.Node</code> instance. During initialization, this app's
17136
 
<code>create()</code> method will be called to convert the container into a
17137
 
<code>Y.Node</code> instance if it isn't one already and stamp it with the CSS
17138
 
class: <code>"yui3-app"</code>.</p>
17139
 
 
17140
 
<p>The container is not added to the page automatically. This allows you to
17141
 
have full control over how and when your app is actually rendered to
17142
 
the page.</p>
17143
 
    </div>
17144
 
 
17145
 
    
17146
 
        <p><strong>Default:</strong> Y.one(&#x27;body&#x27;)</p>
17147
 
    
17148
 
 
17149
 
    
17150
 
        <div class="emits box">
17151
 
            <h4>Fires event <code>containerChange</code></h4>
17152
 
 
17153
 
            <p>
17154
 
            Fires when the value for the configuration attribute <code>container</code> is
17155
 
            changed. You can listen for the event using the <code>on</code> method if you
17156
 
            wish to be notified before the attribute's value has changed, or
17157
 
            using the <code>after</code> method if you wish to be notified after the
17158
 
            attribute's value has changed.
17159
 
            </p>
17160
 
 
17161
 
            <div class="params">
17162
 
                <h4>Parameters:</h4>
17163
 
 
17164
 
                <ul class="params-list">
17165
 
                    <li class="param">
17166
 
                        <code class="param-name">e</code>
17167
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17168
 
 
17169
 
                        <div class="param-description">
17170
 
                            An Event Facade object with the following
17171
 
                            attribute-specific properties added:
17172
 
                        </div>
17173
 
 
17174
 
                        <ul class="params-list">
17175
 
                            <li class="param">
17176
 
                                <code class="param-name">prevVal</code>
17177
 
                                <span class="type">Any</span>
17178
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17179
 
                            </li>
17180
 
                            <li class="param">
17181
 
                                <code class="param-name">newVal</code>
17182
 
                                <span class="type">Any</span>
17183
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17184
 
                            </li>
17185
 
                            <li class="param">
17186
 
                                <code class="param-name">attrName</code>
17187
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17188
 
                                <div class="param-description">The name of the attribute being set.</div>
17189
 
                            </li>
17190
 
                            <li class="param">
17191
 
                                <code class="param-name">subAttrName</code>
17192
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17193
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17194
 
                            </li>
17195
 
                        </ul>
17196
 
                    </li>
17197
 
                </ul>
17198
 
            </div>
17199
 
        </div>
17200
 
    
17201
 
 
17202
 
    
17203
 
</div>
17204
 
 
17205
 
                
17206
 
                    <div id="attr_destroyed" class="attr item inherited">
17207
 
    <a name="config_destroyed"></a> 
17208
 
    <h3 class="name"><code>destroyed</code></h3>
17209
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
17210
 
 
17211
 
    
17212
 
 
17213
 
    
17214
 
 
17215
 
    
17216
 
 
17217
 
    
17218
 
 
17219
 
    <div class="meta">
17220
 
        
17221
 
            
17222
 
                <p>Inherited from
17223
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#attr_destroyed">BaseCore</a>:
17224
 
            
17225
 
        
17226
 
        
17227
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l157"><code>base&#x2F;js&#x2F;BaseCore.js:157</code></a>
17228
 
        
17229
 
        </p>
17230
 
 
17231
 
        
17232
 
 
17233
 
        
17234
 
    </div>
17235
 
 
17236
 
    <div class="description">
17237
 
        <p>Flag indicating whether or not this object
17238
 
has been through the destroy lifecycle phase.</p>
17239
 
    </div>
17240
 
 
17241
 
    
17242
 
        <p><strong>Default:</strong> false</p>
17243
 
    
17244
 
 
17245
 
    
17246
 
        <div class="emits box">
17247
 
            <h4>Fires event <code>destroyedChange</code></h4>
17248
 
 
17249
 
            <p>
17250
 
            Fires when the value for the configuration attribute <code>destroyed</code> is
17251
 
            changed. You can listen for the event using the <code>on</code> method if you
17252
 
            wish to be notified before the attribute's value has changed, or
17253
 
            using the <code>after</code> method if you wish to be notified after the
17254
 
            attribute's value has changed.
17255
 
            </p>
17256
 
 
17257
 
            <div class="params">
17258
 
                <h4>Parameters:</h4>
17259
 
 
17260
 
                <ul class="params-list">
17261
 
                    <li class="param">
17262
 
                        <code class="param-name">e</code>
17263
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17264
 
 
17265
 
                        <div class="param-description">
17266
 
                            An Event Facade object with the following
17267
 
                            attribute-specific properties added:
17268
 
                        </div>
17269
 
 
17270
 
                        <ul class="params-list">
17271
 
                            <li class="param">
17272
 
                                <code class="param-name">prevVal</code>
17273
 
                                <span class="type">Any</span>
17274
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17275
 
                            </li>
17276
 
                            <li class="param">
17277
 
                                <code class="param-name">newVal</code>
17278
 
                                <span class="type">Any</span>
17279
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17280
 
                            </li>
17281
 
                            <li class="param">
17282
 
                                <code class="param-name">attrName</code>
17283
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17284
 
                                <div class="param-description">The name of the attribute being set.</div>
17285
 
                            </li>
17286
 
                            <li class="param">
17287
 
                                <code class="param-name">subAttrName</code>
17288
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17289
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17290
 
                            </li>
17291
 
                        </ul>
17292
 
                    </li>
17293
 
                </ul>
17294
 
            </div>
17295
 
        </div>
17296
 
    
17297
 
 
17298
 
    
17299
 
</div>
17300
 
 
17301
 
                
17302
 
                    <div id="attr_html5" class="attr item inherited">
17303
 
    <a name="config_html5"></a> 
17304
 
    <h3 class="name"><code>html5</code></h3>
17305
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
17306
 
 
17307
 
    
17308
 
 
17309
 
    
17310
 
 
17311
 
    
17312
 
 
17313
 
    
17314
 
 
17315
 
    <div class="meta">
17316
 
        
17317
 
            <p>Inherited from
17318
 
            <a href="..&#x2F;classes&#x2F;Router.html#attr_html5">
17319
 
                Router
17320
 
            </a>
17321
 
            
17322
 
            but overwritten in
17323
 
            
17324
 
        
17325
 
        
17326
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l911"><code>app&#x2F;js&#x2F;app-base.js:911</code></a>
17327
 
        
17328
 
        </p>
17329
 
 
17330
 
        
17331
 
 
17332
 
        
17333
 
    </div>
17334
 
 
17335
 
    <div class="description">
17336
 
        <p>Whether or not this browser is capable of using HTML5 history.</p>
17337
 
 
17338
 
<p>This value is dependent on the value of <code>serverRouting</code> and will default
17339
 
accordingly.</p>
17340
 
 
17341
 
<p>Setting this to <code>false</code> will force the use of hash-based history even on
17342
 
HTML5 browsers, but please don't do this unless you understand the
17343
 
consequences.</p>
17344
 
    </div>
17345
 
 
17346
 
    
17347
 
 
17348
 
    
17349
 
        <div class="emits box">
17350
 
            <h4>Fires event <code>html5Change</code></h4>
17351
 
 
17352
 
            <p>
17353
 
            Fires when the value for the configuration attribute <code>html5</code> is
17354
 
            changed. You can listen for the event using the <code>on</code> method if you
17355
 
            wish to be notified before the attribute's value has changed, or
17356
 
            using the <code>after</code> method if you wish to be notified after the
17357
 
            attribute's value has changed.
17358
 
            </p>
17359
 
 
17360
 
            <div class="params">
17361
 
                <h4>Parameters:</h4>
17362
 
 
17363
 
                <ul class="params-list">
17364
 
                    <li class="param">
17365
 
                        <code class="param-name">e</code>
17366
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17367
 
 
17368
 
                        <div class="param-description">
17369
 
                            An Event Facade object with the following
17370
 
                            attribute-specific properties added:
17371
 
                        </div>
17372
 
 
17373
 
                        <ul class="params-list">
17374
 
                            <li class="param">
17375
 
                                <code class="param-name">prevVal</code>
17376
 
                                <span class="type">Any</span>
17377
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17378
 
                            </li>
17379
 
                            <li class="param">
17380
 
                                <code class="param-name">newVal</code>
17381
 
                                <span class="type">Any</span>
17382
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17383
 
                            </li>
17384
 
                            <li class="param">
17385
 
                                <code class="param-name">attrName</code>
17386
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17387
 
                                <div class="param-description">The name of the attribute being set.</div>
17388
 
                            </li>
17389
 
                            <li class="param">
17390
 
                                <code class="param-name">subAttrName</code>
17391
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17392
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17393
 
                            </li>
17394
 
                        </ul>
17395
 
                    </li>
17396
 
                </ul>
17397
 
            </div>
17398
 
        </div>
17399
 
    
17400
 
 
17401
 
    
17402
 
</div>
17403
 
 
17404
 
                
17405
 
                    <div id="attr_initialized" class="attr item inherited">
17406
 
    <a name="config_initialized"></a> 
17407
 
    <h3 class="name"><code>initialized</code></h3>
17408
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
17409
 
 
17410
 
    
17411
 
 
17412
 
    
17413
 
 
17414
 
    
17415
 
 
17416
 
    
17417
 
 
17418
 
    <div class="meta">
17419
 
        
17420
 
            
17421
 
                <p>Inherited from
17422
 
                <a href="..&#x2F;classes&#x2F;BaseCore.html#attr_initialized">BaseCore</a>:
17423
 
            
17424
 
        
17425
 
        
17426
 
        <a href="..&#x2F;files&#x2F;base_js_BaseCore.js.html#l143"><code>base&#x2F;js&#x2F;BaseCore.js:143</code></a>
17427
 
        
17428
 
        </p>
17429
 
 
17430
 
        
17431
 
 
17432
 
        
17433
 
    </div>
17434
 
 
17435
 
    <div class="description">
17436
 
        <p>Flag indicating whether or not this object
17437
 
has been through the init lifecycle phase.</p>
17438
 
    </div>
17439
 
 
17440
 
    
17441
 
        <p><strong>Default:</strong> false</p>
17442
 
    
17443
 
 
17444
 
    
17445
 
        <div class="emits box">
17446
 
            <h4>Fires event <code>initializedChange</code></h4>
17447
 
 
17448
 
            <p>
17449
 
            Fires when the value for the configuration attribute <code>initialized</code> is
17450
 
            changed. You can listen for the event using the <code>on</code> method if you
17451
 
            wish to be notified before the attribute's value has changed, or
17452
 
            using the <code>after</code> method if you wish to be notified after the
17453
 
            attribute's value has changed.
17454
 
            </p>
17455
 
 
17456
 
            <div class="params">
17457
 
                <h4>Parameters:</h4>
17458
 
 
17459
 
                <ul class="params-list">
17460
 
                    <li class="param">
17461
 
                        <code class="param-name">e</code>
17462
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17463
 
 
17464
 
                        <div class="param-description">
17465
 
                            An Event Facade object with the following
17466
 
                            attribute-specific properties added:
17467
 
                        </div>
17468
 
 
17469
 
                        <ul class="params-list">
17470
 
                            <li class="param">
17471
 
                                <code class="param-name">prevVal</code>
17472
 
                                <span class="type">Any</span>
17473
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17474
 
                            </li>
17475
 
                            <li class="param">
17476
 
                                <code class="param-name">newVal</code>
17477
 
                                <span class="type">Any</span>
17478
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17479
 
                            </li>
17480
 
                            <li class="param">
17481
 
                                <code class="param-name">attrName</code>
17482
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17483
 
                                <div class="param-description">The name of the attribute being set.</div>
17484
 
                            </li>
17485
 
                            <li class="param">
17486
 
                                <code class="param-name">subAttrName</code>
17487
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17488
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17489
 
                            </li>
17490
 
                        </ul>
17491
 
                    </li>
17492
 
                </ul>
17493
 
            </div>
17494
 
        </div>
17495
 
    
17496
 
 
17497
 
    
17498
 
</div>
17499
 
 
17500
 
                
17501
 
                    <div id="attr_linkSelector" class="attr item inherited">
17502
 
    <a name="config_linkSelector"></a> 
17503
 
    <h3 class="name"><code>linkSelector</code></h3>
17504
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
17505
 
 
17506
 
    
17507
 
 
17508
 
    
17509
 
 
17510
 
    
17511
 
 
17512
 
    
17513
 
 
17514
 
    <div class="meta">
17515
 
        
17516
 
            <p>Inherited from
17517
 
            <a href="..&#x2F;classes&#x2F;PjaxBase.html#attr_linkSelector">
17518
 
                PjaxBase
17519
 
            </a>
17520
 
            
17521
 
            but overwritten in
17522
 
            
17523
 
        
17524
 
        
17525
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l930"><code>app&#x2F;js&#x2F;app-base.js:930</code></a>
17526
 
        
17527
 
        </p>
17528
 
 
17529
 
        
17530
 
 
17531
 
        
17532
 
    </div>
17533
 
 
17534
 
    <div class="description">
17535
 
        <p>CSS selector string used to filter link click events so that only the
17536
 
links which match it will have the enhanced-navigation behavior of pjax
17537
 
applied.</p>
17538
 
 
17539
 
<p>When a link is clicked and that link matches this selector, navigating
17540
 
to the link's <code>href</code> URL using the enhanced, pjax, behavior will be
17541
 
attempted; and the browser's default way to navigate to new pages will
17542
 
be the fallback.</p>
17543
 
 
17544
 
<p>By default this selector will match <em>all</em> links on the page.</p>
17545
 
    </div>
17546
 
 
17547
 
    
17548
 
        <p><strong>Default:</strong> &quot;a&quot;</p>
17549
 
    
17550
 
 
17551
 
    
17552
 
        <div class="emits box">
17553
 
            <h4>Fires event <code>linkSelectorChange</code></h4>
17554
 
 
17555
 
            <p>
17556
 
            Fires when the value for the configuration attribute <code>linkSelector</code> is
17557
 
            changed. You can listen for the event using the <code>on</code> method if you
17558
 
            wish to be notified before the attribute's value has changed, or
17559
 
            using the <code>after</code> method if you wish to be notified after the
17560
 
            attribute's value has changed.
17561
 
            </p>
17562
 
 
17563
 
            <div class="params">
17564
 
                <h4>Parameters:</h4>
17565
 
 
17566
 
                <ul class="params-list">
17567
 
                    <li class="param">
17568
 
                        <code class="param-name">e</code>
17569
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17570
 
 
17571
 
                        <div class="param-description">
17572
 
                            An Event Facade object with the following
17573
 
                            attribute-specific properties added:
17574
 
                        </div>
17575
 
 
17576
 
                        <ul class="params-list">
17577
 
                            <li class="param">
17578
 
                                <code class="param-name">prevVal</code>
17579
 
                                <span class="type">Any</span>
17580
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17581
 
                            </li>
17582
 
                            <li class="param">
17583
 
                                <code class="param-name">newVal</code>
17584
 
                                <span class="type">Any</span>
17585
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17586
 
                            </li>
17587
 
                            <li class="param">
17588
 
                                <code class="param-name">attrName</code>
17589
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17590
 
                                <div class="param-description">The name of the attribute being set.</div>
17591
 
                            </li>
17592
 
                            <li class="param">
17593
 
                                <code class="param-name">subAttrName</code>
17594
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17595
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17596
 
                            </li>
17597
 
                        </ul>
17598
 
                    </li>
17599
 
                </ul>
17600
 
            </div>
17601
 
        </div>
17602
 
    
17603
 
 
17604
 
    
17605
 
</div>
17606
 
 
17607
 
                
17608
 
                    <div id="attr_navigateOnHash" class="attr item inherited">
17609
 
    <a name="config_navigateOnHash"></a> 
17610
 
    <h3 class="name"><code>navigateOnHash</code></h3>
17611
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
17612
 
 
17613
 
    
17614
 
 
17615
 
    
17616
 
 
17617
 
    
17618
 
 
17619
 
    
17620
 
 
17621
 
    <div class="meta">
17622
 
        
17623
 
            
17624
 
                <p>Inherited from
17625
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#attr_navigateOnHash">PjaxBase</a>:
17626
 
            
17627
 
        
17628
 
        
17629
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l472"><code>pjax&#x2F;js&#x2F;pjax-base.js:472</code></a>
17630
 
        
17631
 
        </p>
17632
 
 
17633
 
        
17634
 
 
17635
 
        
17636
 
            <p>Available since 3.5.0</p>
17637
 
        
17638
 
    </div>
17639
 
 
17640
 
    <div class="description">
17641
 
        <p>Whether navigating to a hash-fragment identifier on the current page should
17642
 
be enhanced and cause the <code>navigate</code> event to fire.</p>
17643
 
 
17644
 
<p>By default Pjax allows the browser to perform its default action when a user
17645
 
is navigating within a page by clicking in-page links
17646
 
(e.g. <code>&lt;a href="#top"&gt;Top of page&lt;/a&gt;</code>) and does not attempt to interfere or
17647
 
enhance in-page navigation.</p>
17648
 
    </div>
17649
 
 
17650
 
    
17651
 
        <p><strong>Default:</strong> false</p>
17652
 
    
17653
 
 
17654
 
    
17655
 
        <div class="emits box">
17656
 
            <h4>Fires event <code>navigateOnHashChange</code></h4>
17657
 
 
17658
 
            <p>
17659
 
            Fires when the value for the configuration attribute <code>navigateOnHash</code> is
17660
 
            changed. You can listen for the event using the <code>on</code> method if you
17661
 
            wish to be notified before the attribute's value has changed, or
17662
 
            using the <code>after</code> method if you wish to be notified after the
17663
 
            attribute's value has changed.
17664
 
            </p>
17665
 
 
17666
 
            <div class="params">
17667
 
                <h4>Parameters:</h4>
17668
 
 
17669
 
                <ul class="params-list">
17670
 
                    <li class="param">
17671
 
                        <code class="param-name">e</code>
17672
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17673
 
 
17674
 
                        <div class="param-description">
17675
 
                            An Event Facade object with the following
17676
 
                            attribute-specific properties added:
17677
 
                        </div>
17678
 
 
17679
 
                        <ul class="params-list">
17680
 
                            <li class="param">
17681
 
                                <code class="param-name">prevVal</code>
17682
 
                                <span class="type">Any</span>
17683
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17684
 
                            </li>
17685
 
                            <li class="param">
17686
 
                                <code class="param-name">newVal</code>
17687
 
                                <span class="type">Any</span>
17688
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17689
 
                            </li>
17690
 
                            <li class="param">
17691
 
                                <code class="param-name">attrName</code>
17692
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17693
 
                                <div class="param-description">The name of the attribute being set.</div>
17694
 
                            </li>
17695
 
                            <li class="param">
17696
 
                                <code class="param-name">subAttrName</code>
17697
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17698
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17699
 
                            </li>
17700
 
                        </ul>
17701
 
                    </li>
17702
 
                </ul>
17703
 
            </div>
17704
 
        </div>
17705
 
    
17706
 
 
17707
 
    
17708
 
</div>
17709
 
 
17710
 
                
17711
 
                    <div id="attr_root" class="attr item inherited">
17712
 
    <a name="config_root"></a> 
17713
 
    <h3 class="name"><code>root</code></h3>
17714
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17715
 
 
17716
 
    
17717
 
 
17718
 
    
17719
 
 
17720
 
    
17721
 
 
17722
 
    
17723
 
 
17724
 
    <div class="meta">
17725
 
        
17726
 
            
17727
 
                <p>Inherited from
17728
 
                <a href="..&#x2F;classes&#x2F;Router.html#attr_root">Router</a>:
17729
 
            
17730
 
        
17731
 
        
17732
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l1007"><code>app&#x2F;js&#x2F;router.js:1007</code></a>
17733
 
        
17734
 
        </p>
17735
 
 
17736
 
        
17737
 
 
17738
 
        
17739
 
    </div>
17740
 
 
17741
 
    <div class="description">
17742
 
        <p>Absolute root path from which all routes should be evaluated.</p>
17743
 
 
17744
 
<p>For example, if your router is running on a page at
17745
 
<code>http://example.com/myapp/</code> and you add a route with the path <code>/</code>, your
17746
 
route will never execute, because the path will always be preceded by
17747
 
<code>/myapp</code>. Setting <code>root</code> to <code>/myapp</code> would cause all routes to be
17748
 
evaluated relative to that root URL, so the <code>/</code> route would then execute
17749
 
when the user browses to <code>http://example.com/myapp/</code>.</p>
17750
 
    </div>
17751
 
 
17752
 
    
17753
 
        <p><strong>Default:</strong> &#x60;&#x27;&#x27;&#x60;</p>
17754
 
    
17755
 
 
17756
 
    
17757
 
        <div class="emits box">
17758
 
            <h4>Fires event <code>rootChange</code></h4>
17759
 
 
17760
 
            <p>
17761
 
            Fires when the value for the configuration attribute <code>root</code> is
17762
 
            changed. You can listen for the event using the <code>on</code> method if you
17763
 
            wish to be notified before the attribute's value has changed, or
17764
 
            using the <code>after</code> method if you wish to be notified after the
17765
 
            attribute's value has changed.
17766
 
            </p>
17767
 
 
17768
 
            <div class="params">
17769
 
                <h4>Parameters:</h4>
17770
 
 
17771
 
                <ul class="params-list">
17772
 
                    <li class="param">
17773
 
                        <code class="param-name">e</code>
17774
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17775
 
 
17776
 
                        <div class="param-description">
17777
 
                            An Event Facade object with the following
17778
 
                            attribute-specific properties added:
17779
 
                        </div>
17780
 
 
17781
 
                        <ul class="params-list">
17782
 
                            <li class="param">
17783
 
                                <code class="param-name">prevVal</code>
17784
 
                                <span class="type">Any</span>
17785
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17786
 
                            </li>
17787
 
                            <li class="param">
17788
 
                                <code class="param-name">newVal</code>
17789
 
                                <span class="type">Any</span>
17790
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17791
 
                            </li>
17792
 
                            <li class="param">
17793
 
                                <code class="param-name">attrName</code>
17794
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17795
 
                                <div class="param-description">The name of the attribute being set.</div>
17796
 
                            </li>
17797
 
                            <li class="param">
17798
 
                                <code class="param-name">subAttrName</code>
17799
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17800
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17801
 
                            </li>
17802
 
                        </ul>
17803
 
                    </li>
17804
 
                </ul>
17805
 
            </div>
17806
 
        </div>
17807
 
    
17808
 
 
17809
 
    
17810
 
</div>
17811
 
 
17812
 
                
17813
 
                    <div id="attr_routes" class="attr item inherited">
17814
 
    <a name="config_routes"></a> 
17815
 
    <h3 class="name"><code>routes</code></h3>
17816
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
17817
 
 
17818
 
    
17819
 
 
17820
 
    
17821
 
 
17822
 
    
17823
 
 
17824
 
    
17825
 
 
17826
 
    <div class="meta">
17827
 
        
17828
 
            
17829
 
                <p>Inherited from
17830
 
                <a href="..&#x2F;classes&#x2F;Router.html#attr_routes">Router</a>:
17831
 
            
17832
 
        
17833
 
        
17834
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l1025"><code>app&#x2F;js&#x2F;router.js:1025</code></a>
17835
 
        
17836
 
        </p>
17837
 
 
17838
 
        
17839
 
 
17840
 
        
17841
 
    </div>
17842
 
 
17843
 
    <div class="description">
17844
 
        <p>Array of route objects.</p>
17845
 
 
17846
 
<p>Each item in the array must be an object with the following properties:</p>
17847
 
 
17848
 
<ul>
17849
 
<li><p><code>path</code>: String or regex representing the path to match. See the docs
17850
 
for the <code>route()</code> method for more details.</p></li>
17851
 
<li><p><code>callback</code>: Function or a string representing the name of a function
17852
 
on this router instance that should be called when the route is
17853
 
triggered. See the docs for the <code>route()</code> method for more details.</p></li>
17854
 
</ul>
17855
 
 
17856
 
<p>This attribute is intended to be used to set routes at init time, or to
17857
 
completely reset all routes after init. To add routes after init without
17858
 
resetting all existing routes, use the <code>route()</code> method.</p>
17859
 
    </div>
17860
 
 
17861
 
    
17862
 
        <p><strong>Default:</strong> &#x60;[]&#x60;</p>
17863
 
    
17864
 
 
17865
 
    
17866
 
        <div class="emits box">
17867
 
            <h4>Fires event <code>routesChange</code></h4>
17868
 
 
17869
 
            <p>
17870
 
            Fires when the value for the configuration attribute <code>routes</code> is
17871
 
            changed. You can listen for the event using the <code>on</code> method if you
17872
 
            wish to be notified before the attribute's value has changed, or
17873
 
            using the <code>after</code> method if you wish to be notified after the
17874
 
            attribute's value has changed.
17875
 
            </p>
17876
 
 
17877
 
            <div class="params">
17878
 
                <h4>Parameters:</h4>
17879
 
 
17880
 
                <ul class="params-list">
17881
 
                    <li class="param">
17882
 
                        <code class="param-name">e</code>
17883
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17884
 
 
17885
 
                        <div class="param-description">
17886
 
                            An Event Facade object with the following
17887
 
                            attribute-specific properties added:
17888
 
                        </div>
17889
 
 
17890
 
                        <ul class="params-list">
17891
 
                            <li class="param">
17892
 
                                <code class="param-name">prevVal</code>
17893
 
                                <span class="type">Any</span>
17894
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17895
 
                            </li>
17896
 
                            <li class="param">
17897
 
                                <code class="param-name">newVal</code>
17898
 
                                <span class="type">Any</span>
17899
 
                                <div class="param-description">The value the attribute is to be set to.</div>
17900
 
                            </li>
17901
 
                            <li class="param">
17902
 
                                <code class="param-name">attrName</code>
17903
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17904
 
                                <div class="param-description">The name of the attribute being set.</div>
17905
 
                            </li>
17906
 
                            <li class="param">
17907
 
                                <code class="param-name">subAttrName</code>
17908
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17909
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17910
 
                            </li>
17911
 
                        </ul>
17912
 
                    </li>
17913
 
                </ul>
17914
 
            </div>
17915
 
        </div>
17916
 
    
17917
 
 
17918
 
    
17919
 
</div>
17920
 
 
17921
 
                
17922
 
                    <div id="attr_scrollToTop" class="attr item inherited">
17923
 
    <a name="config_scrollToTop"></a> 
17924
 
    <h3 class="name"><code>scrollToTop</code></h3>
17925
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
17926
 
 
17927
 
    
17928
 
 
17929
 
    
17930
 
 
17931
 
    
17932
 
 
17933
 
    
17934
 
 
17935
 
    <div class="meta">
17936
 
        
17937
 
            
17938
 
                <p>Inherited from
17939
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#attr_scrollToTop">PjaxBase</a>:
17940
 
            
17941
 
        
17942
 
        
17943
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l490"><code>pjax&#x2F;js&#x2F;pjax-base.js:490</code></a>
17944
 
        
17945
 
        </p>
17946
 
 
17947
 
        
17948
 
 
17949
 
        
17950
 
            <p>Available since 3.5.0</p>
17951
 
        
17952
 
    </div>
17953
 
 
17954
 
    <div class="description">
17955
 
        <p>Whether the page should be scrolled to the top after navigating to a URL.</p>
17956
 
 
17957
 
<p>When the user clicks the browser's back button, the previous scroll position
17958
 
will be maintained.</p>
17959
 
    </div>
17960
 
 
17961
 
    
17962
 
        <p><strong>Default:</strong> true</p>
17963
 
    
17964
 
 
17965
 
    
17966
 
        <div class="emits box">
17967
 
            <h4>Fires event <code>scrollToTopChange</code></h4>
17968
 
 
17969
 
            <p>
17970
 
            Fires when the value for the configuration attribute <code>scrollToTop</code> is
17971
 
            changed. You can listen for the event using the <code>on</code> method if you
17972
 
            wish to be notified before the attribute's value has changed, or
17973
 
            using the <code>after</code> method if you wish to be notified after the
17974
 
            attribute's value has changed.
17975
 
            </p>
17976
 
 
17977
 
            <div class="params">
17978
 
                <h4>Parameters:</h4>
17979
 
 
17980
 
                <ul class="params-list">
17981
 
                    <li class="param">
17982
 
                        <code class="param-name">e</code>
17983
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17984
 
 
17985
 
                        <div class="param-description">
17986
 
                            An Event Facade object with the following
17987
 
                            attribute-specific properties added:
17988
 
                        </div>
17989
 
 
17990
 
                        <ul class="params-list">
17991
 
                            <li class="param">
17992
 
                                <code class="param-name">prevVal</code>
17993
 
                                <span class="type">Any</span>
17994
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
17995
 
                            </li>
17996
 
                            <li class="param">
17997
 
                                <code class="param-name">newVal</code>
17998
 
                                <span class="type">Any</span>
17999
 
                                <div class="param-description">The value the attribute is to be set to.</div>
18000
 
                            </li>
18001
 
                            <li class="param">
18002
 
                                <code class="param-name">attrName</code>
18003
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18004
 
                                <div class="param-description">The name of the attribute being set.</div>
18005
 
                            </li>
18006
 
                            <li class="param">
18007
 
                                <code class="param-name">subAttrName</code>
18008
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18009
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
18010
 
                            </li>
18011
 
                        </ul>
18012
 
                    </li>
18013
 
                </ul>
18014
 
            </div>
18015
 
        </div>
18016
 
    
18017
 
 
18018
 
    
18019
 
</div>
18020
 
 
18021
 
                
18022
 
                    <div id="attr_serverRouting" class="attr item inherited">
18023
 
    <a name="config_serverRouting"></a> 
18024
 
    <h3 class="name"><code>serverRouting</code></h3>
18025
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
18026
 
 
18027
 
    
18028
 
 
18029
 
    
18030
 
 
18031
 
    
18032
 
 
18033
 
    
18034
 
 
18035
 
    <div class="meta">
18036
 
        
18037
 
            
18038
 
                <p>Inherited from
18039
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#attr_serverRouting">App.Base</a>:
18040
 
            
18041
 
        
18042
 
        
18043
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l950"><code>app&#x2F;js&#x2F;app-base.js:950</code></a>
18044
 
        
18045
 
        </p>
18046
 
 
18047
 
        
18048
 
 
18049
 
        
18050
 
            <p>Available since 3.5.0</p>
18051
 
        
18052
 
    </div>
18053
 
 
18054
 
    <div class="description">
18055
 
        <p>Whether or not this application's server is capable of properly routing
18056
 
all requests and rendering the initial state in the HTML responses.</p>
18057
 
 
18058
 
<p>This can have three different values, each having particular
18059
 
implications on how the app will handle routing and navigation:</p>
18060
 
 
18061
 
<ul>
18062
 
<li><p><code>undefined</code>: The best form of URLs will be chosen based on the
18063
 
capabilities of the browser. Given no information about the server
18064
 
environmentm a balanced approach to routing and navigation is
18065
 
chosen.</p>
18066
 
 
18067
 
<p>The server should be capable of handling full-path requests, since
18068
 
full-URLs will be generated by browsers using HTML5 history. If this
18069
 
is a client-side-only app the server could handle full-URL requests
18070
 
by sending a redirect back to the root with a hash-based URL, e.g:</p>
18071
 
 
18072
 
<pre class="code"><code class="prettyprint">Request:     http://example.com/users/1
18073
 
Redirect to: http://example.com/#/users/1
18074
 
</code></pre></li>
18075
 
<li><p><code>true</code>: The server is <em>fully</em> capable of properly handling requests
18076
 
to all full-path URLs the app can produce.</p>
18077
 
 
18078
 
<p>This is the best option for progressive-enhancement because it will
18079
 
cause <strong>all URLs to always have full-paths</strong>, which means the server
18080
 
will be able to accurately handle all URLs this app produces. e.g.</p>
18081
 
 
18082
 
<pre class="code"><code class="prettyprint">http://example.com/users/1
18083
 
</code></pre>
18084
 
 
18085
 
<p>To meet this strict full-URL requirement, browsers which are not
18086
 
capable of using HTML5 history will make requests to the server
18087
 
resulting in full-page reloads.</p></li>
18088
 
<li><p><code>false</code>: The server is <em>not</em> capable of properly handling requests
18089
 
to all full-path URLs the app can produce, therefore all routing
18090
 
will be handled by this App instance.</p>
18091
 
 
18092
 
<p>Be aware that this will cause <strong>all URLs to always be hash-based</strong>,
18093
 
even in browsers that are capable of using HTML5 history. e.g.</p>
18094
 
 
18095
 
<pre class="code"><code class="prettyprint">http://example.com/#/users/1
18096
 
</code></pre>
18097
 
 
18098
 
<p>A single-page or client-side-only app where the server sends a
18099
 
"shell" page with JavaScript to the client might have this
18100
 
restriction. If you're setting this to <code>false</code>, read the following:</p></li>
18101
 
</ul>
18102
 
 
18103
 
<p><strong>Note:</strong> When this is set to <code>false</code>, the server will <em>never</em> receive
18104
 
the full URL because browsers do not send the fragment-part to the
18105
 
server, that is everything after and including the "#".</p>
18106
 
 
18107
 
<p>Consider the following example:</p>
18108
 
 
18109
 
<pre class="code"><code class="prettyprint">URL shown in browser: http://example.com/#/users/1
18110
 
URL sent to server:   http://example.com/
18111
 
</code></pre>
18112
 
 
18113
 
<p>You should feel bad about hurting our precious web if you forcefully set
18114
 
either <code>serverRouting</code> or <code>html5</code> to <code>false</code>, because you're basically
18115
 
punching the web in the face here with your lossy URLs! Please make sure
18116
 
you know what you're doing and that you understand the implications.</p>
18117
 
 
18118
 
<p>Ideally you should always prefer full-path URLs (not /#/foo/), and want
18119
 
full-page reloads when the client's browser is not capable of enhancing
18120
 
the experience using the HTML5 history APIs. Setting this to <code>true</code> is
18121
 
the best option for progressive-enhancement (and graceful-degradation).</p>
18122
 
    </div>
18123
 
 
18124
 
    
18125
 
        <p><strong>Default:</strong> undefined</p>
18126
 
    
18127
 
 
18128
 
    
18129
 
        <div class="emits box">
18130
 
            <h4>Fires event <code>serverRoutingChange</code></h4>
18131
 
 
18132
 
            <p>
18133
 
            Fires when the value for the configuration attribute <code>serverRouting</code> is
18134
 
            changed. You can listen for the event using the <code>on</code> method if you
18135
 
            wish to be notified before the attribute's value has changed, or
18136
 
            using the <code>after</code> method if you wish to be notified after the
18137
 
            attribute's value has changed.
18138
 
            </p>
18139
 
 
18140
 
            <div class="params">
18141
 
                <h4>Parameters:</h4>
18142
 
 
18143
 
                <ul class="params-list">
18144
 
                    <li class="param">
18145
 
                        <code class="param-name">e</code>
18146
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
18147
 
 
18148
 
                        <div class="param-description">
18149
 
                            An Event Facade object with the following
18150
 
                            attribute-specific properties added:
18151
 
                        </div>
18152
 
 
18153
 
                        <ul class="params-list">
18154
 
                            <li class="param">
18155
 
                                <code class="param-name">prevVal</code>
18156
 
                                <span class="type">Any</span>
18157
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
18158
 
                            </li>
18159
 
                            <li class="param">
18160
 
                                <code class="param-name">newVal</code>
18161
 
                                <span class="type">Any</span>
18162
 
                                <div class="param-description">The value the attribute is to be set to.</div>
18163
 
                            </li>
18164
 
                            <li class="param">
18165
 
                                <code class="param-name">attrName</code>
18166
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18167
 
                                <div class="param-description">The name of the attribute being set.</div>
18168
 
                            </li>
18169
 
                            <li class="param">
18170
 
                                <code class="param-name">subAttrName</code>
18171
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18172
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
18173
 
                            </li>
18174
 
                        </ul>
18175
 
                    </li>
18176
 
                </ul>
18177
 
            </div>
18178
 
        </div>
18179
 
    
18180
 
 
18181
 
    
18182
 
</div>
18183
 
 
18184
 
                
18185
 
                    <div id="attr_transitions" class="attr item inherited">
18186
 
    <a name="config_transitions"></a> 
18187
 
    <h3 class="name"><code>transitions</code></h3>
18188
 
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
18189
 
 
18190
 
    
18191
 
 
18192
 
    
18193
 
 
18194
 
    
18195
 
 
18196
 
    
18197
 
 
18198
 
    <div class="meta">
18199
 
        
18200
 
            
18201
 
                <p>Inherited from
18202
 
                <a href="..&#x2F;classes&#x2F;App.Transitions.html#attr_transitions">App.Transitions</a>:
18203
 
            
18204
 
        
18205
 
        
18206
 
        <a href="..&#x2F;files&#x2F;app_js_app-extensions_app-transitions.js.html#l39"><code>app&#x2F;js&#x2F;app-extensions&#x2F;app-transitions.js:39</code></a>
18207
 
        
18208
 
        </p>
18209
 
 
18210
 
        
18211
 
 
18212
 
        
18213
 
            <p>Available since 3.5.0</p>
18214
 
        
18215
 
    </div>
18216
 
 
18217
 
    <div class="description">
18218
 
        <p>Whether or not this application should use view transitions, and if so then
18219
 
which ones or <code>true</code> for the defaults which are specified by the
18220
 
<code>transitions</code> prototype property.</p>
18221
 
 
18222
 
<p><strong>Note:</strong> Transitions are an opt-in feature and will only be used in
18223
 
browsers which support native CSS3 transitions.</p>
18224
 
    </div>
18225
 
 
18226
 
    
18227
 
        <p><strong>Default:</strong> false</p>
18228
 
    
18229
 
 
18230
 
    
18231
 
        <div class="emits box">
18232
 
            <h4>Fires event <code>transitionsChange</code></h4>
18233
 
 
18234
 
            <p>
18235
 
            Fires when the value for the configuration attribute <code>transitions</code> is
18236
 
            changed. You can listen for the event using the <code>on</code> method if you
18237
 
            wish to be notified before the attribute's value has changed, or
18238
 
            using the <code>after</code> method if you wish to be notified after the
18239
 
            attribute's value has changed.
18240
 
            </p>
18241
 
 
18242
 
            <div class="params">
18243
 
                <h4>Parameters:</h4>
18244
 
 
18245
 
                <ul class="params-list">
18246
 
                    <li class="param">
18247
 
                        <code class="param-name">e</code>
18248
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
18249
 
 
18250
 
                        <div class="param-description">
18251
 
                            An Event Facade object with the following
18252
 
                            attribute-specific properties added:
18253
 
                        </div>
18254
 
 
18255
 
                        <ul class="params-list">
18256
 
                            <li class="param">
18257
 
                                <code class="param-name">prevVal</code>
18258
 
                                <span class="type">Any</span>
18259
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
18260
 
                            </li>
18261
 
                            <li class="param">
18262
 
                                <code class="param-name">newVal</code>
18263
 
                                <span class="type">Any</span>
18264
 
                                <div class="param-description">The value the attribute is to be set to.</div>
18265
 
                            </li>
18266
 
                            <li class="param">
18267
 
                                <code class="param-name">attrName</code>
18268
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18269
 
                                <div class="param-description">The name of the attribute being set.</div>
18270
 
                            </li>
18271
 
                            <li class="param">
18272
 
                                <code class="param-name">subAttrName</code>
18273
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18274
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
18275
 
                            </li>
18276
 
                        </ul>
18277
 
                    </li>
18278
 
                </ul>
18279
 
            </div>
18280
 
        </div>
18281
 
    
18282
 
 
18283
 
    
18284
 
</div>
18285
 
 
18286
 
                
18287
 
                    <div id="attr_viewContainer" class="attr item inherited">
18288
 
    <a name="config_viewContainer"></a> 
18289
 
    <h3 class="name"><code>viewContainer</code></h3>
18290
 
    <span class="type"><a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a> | <a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18291
 
 
18292
 
    
18293
 
 
18294
 
    
18295
 
 
18296
 
    
18297
 
 
18298
 
    
18299
 
 
18300
 
    <div class="meta">
18301
 
        
18302
 
            
18303
 
                <p>Inherited from
18304
 
                <a href="..&#x2F;classes&#x2F;App.Base.html#attr_viewContainer">App.Base</a>:
18305
 
            
18306
 
        
18307
 
        
18308
 
        <a href="..&#x2F;files&#x2F;app_js_app-base.js.html#l1026"><code>app&#x2F;js&#x2F;app-base.js:1026</code></a>
18309
 
        
18310
 
        </p>
18311
 
 
18312
 
        
18313
 
 
18314
 
        
18315
 
            <p>Available since 3.5.0</p>
18316
 
        
18317
 
    </div>
18318
 
 
18319
 
    <div class="description">
18320
 
        <p>The node into which this app's <code>views</code> will be rendered when they become
18321
 
the <code>activeView</code>.</p>
18322
 
 
18323
 
<p>The view container node serves as the container to hold the app's
18324
 
<code>activeView</code>. Each time the <code>activeView</code> is set via <code>showView()</code>, the
18325
 
previous view will be removed from this node, and the new active view's
18326
 
<code>container</code> node will be appended.</p>
18327
 
 
18328
 
<p>The default view container is a <code>&lt;div&gt;</code> Node, but you can override this
18329
 
in a subclass, or by passing in a custom <code>viewContainer</code> config value at
18330
 
instantiation time. The <code>viewContainer</code> may be provided as a selector
18331
 
string, DOM element, or a <code>Y.Node</code> instance (having the <code>viewContainer</code>
18332
 
and the <code>container</code> be the same node is also supported).</p>
18333
 
 
18334
 
<p>The app's <code>render()</code> method will stamp the view container with the CSS
18335
 
class <code>"yui3-app-views"</code> and append it to the app's <code>container</code> node if
18336
 
it isn't already, and any <code>activeView</code> will be appended to this node if
18337
 
it isn't already.</p>
18338
 
    </div>
18339
 
 
18340
 
    
18341
 
        <p><strong>Default:</strong> Y.Node.create(this.containerTemplate)</p>
18342
 
    
18343
 
 
18344
 
    
18345
 
        <div class="emits box">
18346
 
            <h4>Fires event <code>viewContainerChange</code></h4>
18347
 
 
18348
 
            <p>
18349
 
            Fires when the value for the configuration attribute <code>viewContainer</code> is
18350
 
            changed. You can listen for the event using the <code>on</code> method if you
18351
 
            wish to be notified before the attribute's value has changed, or
18352
 
            using the <code>after</code> method if you wish to be notified after the
18353
 
            attribute's value has changed.
18354
 
            </p>
18355
 
 
18356
 
            <div class="params">
18357
 
                <h4>Parameters:</h4>
18358
 
 
18359
 
                <ul class="params-list">
18360
 
                    <li class="param">
18361
 
                        <code class="param-name">e</code>
18362
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
18363
 
 
18364
 
                        <div class="param-description">
18365
 
                            An Event Facade object with the following
18366
 
                            attribute-specific properties added:
18367
 
                        </div>
18368
 
 
18369
 
                        <ul class="params-list">
18370
 
                            <li class="param">
18371
 
                                <code class="param-name">prevVal</code>
18372
 
                                <span class="type">Any</span>
18373
 
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
18374
 
                            </li>
18375
 
                            <li class="param">
18376
 
                                <code class="param-name">newVal</code>
18377
 
                                <span class="type">Any</span>
18378
 
                                <div class="param-description">The value the attribute is to be set to.</div>
18379
 
                            </li>
18380
 
                            <li class="param">
18381
 
                                <code class="param-name">attrName</code>
18382
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18383
 
                                <div class="param-description">The name of the attribute being set.</div>
18384
 
                            </li>
18385
 
                            <li class="param">
18386
 
                                <code class="param-name">subAttrName</code>
18387
 
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18388
 
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
18389
 
                            </li>
18390
 
                        </ul>
18391
 
                    </li>
18392
 
                </ul>
18393
 
            </div>
18394
 
        </div>
18395
 
    
18396
 
 
18397
 
    
18398
 
</div>
18399
 
 
18400
 
                
18401
 
            </div>
18402
 
        
18403
 
 
18404
 
        
18405
 
            <div id="events" class="api-class-tabpanel">
18406
 
                <h2 class="off-left">Events</h2>
18407
 
 
18408
 
                
18409
 
                    <div id="event_destroy" class="events item inherited">
18410
 
    <h3 class="name"><code>destroy</code></h3>
18411
 
    <span class="type"></span>
18412
 
 
18413
 
    
18414
 
 
18415
 
    
18416
 
 
18417
 
    
18418
 
 
18419
 
    
18420
 
 
18421
 
    <div class="meta">
18422
 
        
18423
 
            
18424
 
                <p>Inherited from
18425
 
                <a href="..&#x2F;classes&#x2F;Base.html#event_destroy">Base</a>:
18426
 
            
18427
 
        
18428
 
        
18429
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l285"><code>base&#x2F;js&#x2F;Base.js:285</code></a>
18430
 
        
18431
 
        </p>
18432
 
 
18433
 
        
18434
 
 
18435
 
        
18436
 
    </div>
18437
 
 
18438
 
    <div class="description">
18439
 
        <p>
18440
 
Lifecycle event for the destroy phase, 
18441
 
fired prior to destruction. Invoking the preventDefault 
18442
 
method on the event object provided to subscribers will 
18443
 
prevent destruction from proceeding.
18444
 
</p>
18445
 
 
18446
 
<p>
18447
 
Subscribers to the "after" moment of this event, will be notified
18448
 
after destruction is complete (and as a result cannot prevent
18449
 
destruction).
18450
 
</p>
18451
 
    </div>
18452
 
 
18453
 
    
18454
 
        <div class="params">
18455
 
            <h4>Event Payload:</h4>
18456
 
 
18457
 
            <ul class="params-list">
18458
 
            
18459
 
                <li class="param">
18460
 
                    
18461
 
                        <code class="param-name">e</code>
18462
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
18463
 
                    
18464
 
 
18465
 
                    
18466
 
 
18467
 
                    <div class="param-description">
18468
 
                        <p>Event object</p>
18469
 
                    </div>
18470
 
 
18471
 
                    
18472
 
                </li>
18473
 
            
18474
 
            </ul>
18475
 
        </div>
18476
 
    
18477
 
 
18478
 
 
18479
 
    
18480
 
</div>
18481
 
 
18482
 
                
18483
 
                    <div id="event_init" class="events item inherited">
18484
 
    <h3 class="name"><code>init</code></h3>
18485
 
    <span class="type"></span>
18486
 
 
18487
 
    
18488
 
 
18489
 
    
18490
 
 
18491
 
    
18492
 
 
18493
 
    
18494
 
 
18495
 
    <div class="meta">
18496
 
        
18497
 
            
18498
 
                <p>Inherited from
18499
 
                <a href="..&#x2F;classes&#x2F;Base.html#event_init">Base</a>:
18500
 
            
18501
 
        
18502
 
        
18503
 
        <a href="..&#x2F;files&#x2F;base_js_Base.js.html#l202"><code>base&#x2F;js&#x2F;Base.js:202</code></a>
18504
 
        
18505
 
        </p>
18506
 
 
18507
 
        
18508
 
 
18509
 
        
18510
 
    </div>
18511
 
 
18512
 
    <div class="description">
18513
 
        <p>
18514
 
Lifecycle event for the init phase, fired prior to initialization. 
18515
 
Invoking the preventDefault() method on the event object provided 
18516
 
to subscribers will prevent initialization from occuring.
18517
 
</p>
18518
 
 
18519
 
<p>
18520
 
Subscribers to the "after" momemt of this event, will be notified
18521
 
after initialization of the object is complete (and therefore
18522
 
cannot prevent initialization).
18523
 
</p>
18524
 
    </div>
18525
 
 
18526
 
    
18527
 
        <div class="params">
18528
 
            <h4>Event Payload:</h4>
18529
 
 
18530
 
            <ul class="params-list">
18531
 
            
18532
 
                <li class="param">
18533
 
                    
18534
 
                        <code class="param-name">e</code>
18535
 
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
18536
 
                    
18537
 
 
18538
 
                    
18539
 
 
18540
 
                    <div class="param-description">
18541
 
                        <p>Event object, with a cfg property which 
18542
 
refers to the configuration object passed to the constructor.</p>
18543
 
                    </div>
18544
 
 
18545
 
                    
18546
 
                </li>
18547
 
            
18548
 
            </ul>
18549
 
        </div>
18550
 
    
18551
 
 
18552
 
 
18553
 
    
18554
 
</div>
18555
 
 
18556
 
                
18557
 
                    <div id="event_navigate" class="events item inherited">
18558
 
    <h3 class="name"><code>navigate</code></h3>
18559
 
    <span class="type"></span>
18560
 
 
18561
 
    
18562
 
 
18563
 
    
18564
 
 
18565
 
    
18566
 
 
18567
 
    
18568
 
 
18569
 
    <div class="meta">
18570
 
        
18571
 
            
18572
 
                <p>Inherited from
18573
 
                <a href="..&#x2F;classes&#x2F;PjaxBase.html#event_navigate">PjaxBase</a>:
18574
 
            
18575
 
        
18576
 
        
18577
 
        <a href="..&#x2F;files&#x2F;pjax_js_pjax-base.js.html#l18"><code>pjax&#x2F;js&#x2F;pjax-base.js:18</code></a>
18578
 
        
18579
 
        </p>
18580
 
 
18581
 
        
18582
 
 
18583
 
        
18584
 
            <p>Available since 3.5.0</p>
18585
 
        
18586
 
    </div>
18587
 
 
18588
 
    <div class="description">
18589
 
        <p>Fired when navigating to a URL via Pjax.</p>
18590
 
 
18591
 
<p>When the <code>navigate()</code> method is called or a pjax link is clicked, this event
18592
 
will be fired if the browser supports HTML5 history <em>and</em> the router has a
18593
 
route handler for the specified URL.</p>
18594
 
 
18595
 
<p>This is a useful event to listen to for adding a visual loading indicator
18596
 
while the route handlers are busy handling the URL change.</p>
18597
 
    </div>
18598
 
 
18599
 
    
18600
 
        <div class="params">
18601
 
            <h4>Event Payload:</h4>
18602
 
 
18603
 
            <ul class="params-list">
18604
 
            
18605
 
                <li class="param">
18606
 
                    
18607
 
                        <code class="param-name">url</code>
18608
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18609
 
                    
18610
 
 
18611
 
                    
18612
 
 
18613
 
                    <div class="param-description">
18614
 
                        <p>The URL that the router will dispatch to its route
18615
 
  handlers in order to fulfill the enhanced navigation "request".</p>
18616
 
                    </div>
18617
 
 
18618
 
                    
18619
 
                </li>
18620
 
            
18621
 
                <li class="param">
18622
 
                    
18623
 
                        <code class="param-name optional">[force=false]</code>
18624
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
18625
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
18626
 
                    
18627
 
 
18628
 
                    
18629
 
 
18630
 
                    <div class="param-description">
18631
 
                        <p>Whether the enhanced navigation should occur
18632
 
  even in browsers without HTML5 history.</p>
18633
 
                    </div>
18634
 
 
18635
 
                    
18636
 
                </li>
18637
 
            
18638
 
                <li class="param">
18639
 
                    
18640
 
                        <code class="param-name optional">[hash]</code>
18641
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
18642
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
18643
 
                    
18644
 
 
18645
 
                    
18646
 
 
18647
 
                    <div class="param-description">
18648
 
                        <p>The hash-fragment (including "#") of the <code>url</code>. This
18649
 
  will be present when the <code>url</code> differs from the current URL only by its
18650
 
  hash and <code>navigateOnHash</code> has ben set to <code>true</code>.</p>
18651
 
                    </div>
18652
 
 
18653
 
                    
18654
 
                </li>
18655
 
            
18656
 
                <li class="param">
18657
 
                    
18658
 
                        <code class="param-name optional">[originEvent]</code>
18659
 
                        <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
18660
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
18661
 
                    
18662
 
 
18663
 
                    
18664
 
 
18665
 
                    <div class="param-description">
18666
 
                        <p>The event that caused the navigation. Usually
18667
 
  this would be a click event from a "pjax" anchor element.</p>
18668
 
                    </div>
18669
 
 
18670
 
                    
18671
 
                </li>
18672
 
            
18673
 
                <li class="param">
18674
 
                    
18675
 
                        <code class="param-name optional">[replace]</code>
18676
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
18677
 
                        <span class="flag optional" title="This parameter is optional.">optional</span>
18678
 
                    
18679
 
 
18680
 
                    
18681
 
 
18682
 
                    <div class="param-description">
18683
 
                        <p>Whether or not the current history entry will be
18684
 
  replaced, or a new entry will be created. Will default to <code>true</code> if the
18685
 
  specified <code>url</code> is the same as the current URL.</p>
18686
 
                    </div>
18687
 
 
18688
 
                    
18689
 
                </li>
18690
 
            
18691
 
            </ul>
18692
 
        </div>
18693
 
    
18694
 
 
18695
 
 
18696
 
    
18697
 
</div>
18698
 
 
18699
 
                
18700
 
                    <div id="event_ready" class="events item inherited">
18701
 
    <h3 class="name"><code>ready</code></h3>
18702
 
    <span class="type"></span>
18703
 
 
18704
 
    
18705
 
 
18706
 
    
18707
 
 
18708
 
    
18709
 
 
18710
 
    
18711
 
 
18712
 
    <div class="meta">
18713
 
        
18714
 
            
18715
 
                <p>Inherited from
18716
 
                <a href="..&#x2F;classes&#x2F;Router.html#event_ready">Router</a>:
18717
 
            
18718
 
        
18719
 
        
18720
 
        <a href="..&#x2F;files&#x2F;app_js_router.js.html#l20"><code>app&#x2F;js&#x2F;router.js:20</code></a>
18721
 
        
18722
 
        </p>
18723
 
 
18724
 
        
18725
 
 
18726
 
        
18727
 
    </div>
18728
 
 
18729
 
    <div class="description">
18730
 
        <p>Fired when the router is ready to begin dispatching to route handlers.</p>
18731
 
 
18732
 
<p>You shouldn't need to wait for this event unless you plan to implement some
18733
 
kind of custom dispatching logic. It's used internally in order to avoid
18734
 
dispatching to an initial route if a browser history change occurs first.</p>
18735
 
    </div>
18736
 
 
18737
 
    
18738
 
        <div class="params">
18739
 
            <h4>Event Payload:</h4>
18740
 
 
18741
 
            <ul class="params-list">
18742
 
            
18743
 
                <li class="param">
18744
 
                    
18745
 
                        <code class="param-name">dispatched</code>
18746
 
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
18747
 
                    
18748
 
 
18749
 
                    
18750
 
 
18751
 
                    <div class="param-description">
18752
 
                        <p><code>true</code> if routes have already been dispatched
18753
 
  (most likely due to a history change).</p>
18754
 
                    </div>
18755
 
 
18756
 
                    
18757
 
                </li>
18758
 
            
18759
 
            </ul>
18760
 
        </div>
18761
 
    
18762
 
 
18763
 
 
18764
 
    
18765
 
</div>
18766
 
 
18767
 
                
18768
 
            </div>
18769
 
        
18770
 
    </div>
18771
 
</div>
18772
 
 
18773
 
                    </div>
18774
 
                </div>
18775
 
            </div>
18776
 
        </div>
18777
 
    </div>
18778
 
</div>
18779
 
<script src="..&#x2F;assets/vendor/prettify/prettify-min.js"></script>
18780
 
<script>prettyPrint();</script>
18781
 
<script src="..&#x2F;assets/js/yui-prettify.js"></script>
18782
 
<script src="..&#x2F;assets/../api.js"></script>
18783
 
<script src="..&#x2F;assets/js/api-filter.js"></script>
18784
 
<script src="..&#x2F;assets/js/api-list.js"></script>
18785
 
<script src="..&#x2F;assets/js/api-search.js"></script>
18786
 
<script src="..&#x2F;assets/js/apidocs.js"></script>
18787
 
</body>
18788
 
</html>